Lines Matching refs:vh
395 struct vga_handle *vh = &vc->hdl;
398 vh->vh_iot = iot;
399 vh->vh_memt = memt;
400 vh->vh_mono = mono;
402 if (bus_space_map(vh->vh_iot, 0x3c0, 0x10, 0, &vh->vh_ioh_vga))
405 if (bus_space_map(vh->vh_iot, (vh->vh_mono ? 0x3b0 : 0x3d0), 0x10, 0,
406 &vh->vh_ioh_6845))
409 if (bus_space_map(vh->vh_memt, 0xa0000, 0x20000, 0, &vh->vh_allmemh))
412 if (bus_space_subregion(vh->vh_memt, vh->vh_allmemh,
413 (vh->vh_mono ? 0x10000 : 0x18000), 0x8000,
414 &vh->vh_memh))
420 vc->currenttype = vh->vh_mono ? &ega_stdscreen_mono : &ega_stdscreen;
676 struct vga_handle *vh = &vc->hdl;
707 bus_space_read_region_2(vh->vh_memt, vh->vh_memh,
713 vga_setscreentype(vh, type);
722 vga_6845_write(vh, startadrh, scr->pcs.dispoffset >> 9);
723 vga_6845_write(vh, startadrl, scr->pcs.dispoffset >> 1);
726 bus_space_write_region_2(vh->vh_memt, vh->vh_memh,