Lines Matching refs:ioport
98 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val)
100 if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df))
104 int offset = ioport - 0x3c0 + 0x400;
108 outb(val, ioport);
112 static u8 bochs_vga_readb(struct bochs_device *bochs, u16 ioport)
114 if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df))
118 int offset = ioport - 0x3c0 + 0x400;
122 return inb(ioport);