Lines Matching full:mmio
19 if (bochs->mmio) { in bochs_vga_writeb()
21 writeb(val, bochs->mmio + offset); in bochs_vga_writeb()
31 if (bochs->mmio) { in bochs_dispi_read()
33 ret = readw(bochs->mmio + offset); in bochs_dispi_read()
43 if (bochs->mmio) { in bochs_dispi_write()
45 writew(val, bochs->mmio + offset); in bochs_dispi_write()
57 writel(0xbebebebe, bochs->mmio + 0x604); in bochs_hw_set_big_endian()
65 writel(0x1e1e1e1e, bochs->mmio + 0x604); in bochs_hw_set_little_endian()
84 buf[i] = readb(bochs->mmio + start + i); in bochs_get_edid_block()
93 if (!bochs->mmio) in bochs_hw_load_edid()
118 /* mmio bar with vga and bochs registers present */ in bochs_hw_init()
120 DRM_ERROR("Cannot request mmio region\n"); in bochs_hw_init()
125 bochs->mmio = ioremap(ioaddr, iosize); in bochs_hw_init()
126 if (bochs->mmio == NULL) { in bochs_hw_init()
127 DRM_ERROR("Cannot map mmio region\n"); in bochs_hw_init()
174 bochs->ioports ? "ioports" : "mmio", in bochs_hw_init()
177 if (bochs->mmio && pdev->revision >= 2) { in bochs_hw_init()
178 bochs->qext_size = readl(bochs->mmio + 0x600); in bochs_hw_init()
198 if (bochs->mmio) in bochs_hw_fini()
199 iounmap(bochs->mmio); in bochs_hw_fini()