vh_iot
handle.vh_iot = &arc_bus_io;
vh->vh_iot = iot;
if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga))
if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0,
bus_space_unmap(vh->vh_iot, vh->vh_ioh_vga, 0x10);
bus_space_unmap(vh->vh_iot, vh->vh_ioh_6845, 0x10);
bus_space_is_equal(iot, vga_console_vc.hdl.vh_iot) &&
bus_space_write_1(vh->vh_iot, vh->vh_ioh_vga, VGA_MISC_DATAW,
vh->vh_iot = iot;
if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga))
mor = bus_space_read_1(vh->vh_iot, vh->vh_ioh_vga, VGA_MISC_DATAR);
if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0,
bus_space_unmap(vh->vh_iot, vh->vh_ioh_vga, 0x10);
bus_space_unmap(vh->vh_iot, vh->vh_ioh_6845, 0x10);
iot == vga_console_vc.hdl.vh_iot &&
if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga))
if (bus_space_map(vh->vh_iot, vh->vh_mono ? 0x3b0 : 0x3d0, 0x10,
bus_space_unmap(vh->vh_iot, vh->vh_ioh_6845, 0x10);
bus_space_unmap(vh->vh_iot, vh->vh_ioh_vga, 0x10);
(void) bus_space_read_1(vh->vh_iot, vh->vh_ioh_6845, 10)
bus_space_read_1(vh->vh_iot, vh->vh_ioh_vga, reg)
bus_space_write_1(vh->vh_iot, vh->vh_ioh_vga, reg, value)
vh->vh_iot = iot;
if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga))
if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0,
iot == ega_console_dc.hdl.vh_iot)
return bus_space_mmap(vc->hdl.vh_iot,