Home
last modified time | relevance | path

Searched refs:vh_iot (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/sys/dev/ic/
Dvgavar.h41 #define vh_iot vh_ph.ph_iot macro
94 bus_space_read_1(vh->vh_iot, vh->vh_ioh_vga, reg)
96 bus_space_write_1(vh->vh_iot, vh->vh_ioh_vga, reg, value)
102 (void) bus_space_read_1(vh->vh_iot, vh->vh_ioh_6845, 10)
Dvga_subr.c225 if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga)) in vga_reset()
231 if (bus_space_map(vh->vh_iot, vh->vh_mono ? 0x3b0 : 0x3d0, 0x10, in vga_reset()
262 bus_space_unmap(vh->vh_iot, vh->vh_ioh_6845, 0x10); in vga_reset()
264 bus_space_unmap(vh->vh_iot, vh->vh_ioh_vga, 0x10); in vga_reset()
Dvga_raster.c384 vh->vh_iot = iot; in vga_raster_init()
387 if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga)) in vga_raster_init()
391 mor = bus_space_read_1(vh->vh_iot, vh->vh_ioh_vga, VGA_MISC_DATAR); in vga_raster_init()
394 if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0, in vga_raster_init()
567 bus_space_unmap(vh->vh_iot, vh->vh_ioh_vga, 0x10); in vga_cndetach()
568 bus_space_unmap(vh->vh_iot, vh->vh_ioh_6845, 0x10); in vga_cndetach()
585 iot == vga_console_vc.hdl.vh_iot && in vga_is_console()
1009 bus_space_write_1(vh->vh_iot, vh->vh_ioh_vga, VGA_MISC_DATAW, in vga_set_mode()
Dvga.c533 vh->vh_iot = iot; in vga_init()
536 if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga)) in vga_init()
543 if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0, in vga_init()
724 bus_space_unmap(vh->vh_iot, vh->vh_ioh_vga, 0x10); in vga_cndetach()
725 bus_space_unmap(vh->vh_iot, vh->vh_ioh_6845, 0x10); in vga_cndetach()
742 bus_space_is_equal(iot, vga_console_vc.hdl.vh_iot) && in vga_is_console()
/netbsd/src/sys/dev/isa/
Dega.c398 vh->vh_iot = iot; in ega_init()
402 if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga)) in ega_init()
405 if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0, in ega_init()
562 iot == ega_console_dc.hdl.vh_iot) in ega_is_console()
/netbsd/src/sys/arch/arc/arc/
Dc_nec_eisa.c224 handle.vh_iot = &arc_bus_io; in c_nec_eisa_cons_init()
/netbsd/src/sys/dev/pci/
Dvga_pci.c372 return bus_space_mmap(vc->hdl.vh_iot, in vga_pci_mmap()