Lines Matching refs:mmio
17 if (bochs->mmio) { in bochs_vga_writeb()
19 writeb(val, bochs->mmio + offset); in bochs_vga_writeb()
29 if (bochs->mmio) { in bochs_dispi_read()
31 ret = readw(bochs->mmio + offset); in bochs_dispi_read()
41 if (bochs->mmio) { in bochs_dispi_write()
43 writew(val, bochs->mmio + offset); in bochs_dispi_write()
65 bochs->mmio = ioremap(ioaddr, iosize); in bochs_hw_init()
66 if (bochs->mmio == NULL) { in bochs_hw_init()
117 if (bochs->mmio && pdev->revision >= 2) { in bochs_hw_init()
118 qext_size = readl(bochs->mmio + 0x600); in bochs_hw_init()
124 writel(0xbebebebe, bochs->mmio + 0x604); in bochs_hw_init()
126 writel(0x1e1e1e1e, bochs->mmio + 0x604); in bochs_hw_init()
129 readl(bochs->mmio + 0x604)); in bochs_hw_init()
141 if (bochs->mmio) in bochs_hw_fini()
142 iounmap(bochs->mmio); in bochs_hw_fini()