Lines Matching refs:ioport
119 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val)
121 if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df))
125 int offset = ioport - 0x3c0 + 0x400;
129 outb(val, ioport);
133 static u8 bochs_vga_readb(struct bochs_device *bochs, u16 ioport)
135 if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df))
139 int offset = ioport - 0x3c0 + 0x400;
143 return inb(ioport);