Home | History | Annotate | Download | only in ic

Lines Matching refs:hdl

448 	scr->pcs.hdl = (struct pcdisplay_handle *)&vc->hdl;
460 cpos = vga_6845_read(&vc->hdl, cursorh) << 8;
461 cpos |= vga_6845_read(&vc->hdl, cursorl);
467 scr->pcs.dispoffset = vga_6845_read(&vc->hdl, startadrh) << 9;
468 scr->pcs.dispoffset |= vga_6845_read(&vc->hdl, startadrl) << 1;
476 vga_setscreentype(&vc->hdl, type);
492 if (!vc->hdl.vh_mono)
529 struct vga_handle *vh = &vc->hdl;
570 vga_loadchars(&vc->hdl, 0, wf->firstchar, wf->numchars,
643 vga_readoutchars(&vc->hdl, BUILTINFONTLOC, 0, 256,
656 aa.scrdata = (vc->hdl.vh_mono ? &vga_screenlist_mono : &vga_screenlist);
676 scr = wsdisplay_screentype_pick(vga_console_vc.hdl.vh_mono ?
691 vga_copyfont01(&vga_console_vc.hdl);
719 vh = &vc->hdl;
742 bus_space_is_equal(iot, vga_console_vc.hdl.vh_iot) &&
752 return (vga_ts_read(&vc->hdl, mode) & VGA_TS_MODE_BLANK) == 0;
760 vga_ts_write(&vc->hdl, syncreset, 0x01);
762 val = vga_ts_read(&vc->hdl, mode);
763 vga_ts_write(&vc->hdl, mode, val & ~VGA_TS_MODE_BLANK);
765 val = vga_6845_read(&vc->hdl, mode);
766 vga_6845_write(&vc->hdl, mode, val | 0x80);
769 val = vga_ts_read(&vc->hdl, mode);
770 vga_ts_write(&vc->hdl, mode, val | VGA_TS_MODE_BLANK);
772 val = vga_6845_read(&vc->hdl, mode);
773 vga_6845_write(&vc->hdl, mode, val & ~0x80);
776 vga_ts_write(&vc->hdl, syncreset, 0x03);
947 vga_loadchars(&vc->hdl, slot, f->wsfont->firstchar,
971 vga_setfontset(&vc->hdl, fontslot1, fontslot2);
1006 struct vga_handle *vh = &vc->hdl;
1104 if (vc->hdl.vh_mono) {
1134 bus_space_tag_t memt = scr->pcs.hdl->ph_memt;
1135 bus_space_handle_t memh = scr->pcs.hdl->ph_memh;
1161 vga_6845_write(&scr->cfg->hdl, startadrh,
1163 vga_6845_write(&scr->cfg->hdl, startadrl,
1461 struct vga_handle *vh = &vc->hdl;
1509 struct vga_handle *vh = &vc->hdl;
1529 struct vga_handle *vh = &vc->hdl;
1545 vga_initregs(&sc->sc_vc->hdl);
1549 vga_6845_write(&sc->sc_vc->hdl, curstart, 0x20);
1550 vga_6845_write(&sc->sc_vc->hdl, curend, 0x00);
1557 struct vga_handle *vh = &vc->hdl;
1575 struct vga_handle *vh = &vc->hdl;