Home
last modified time | relevance | path

Searched refs:gc_width (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_fbuf.c109 uint16_t gc_width; member
164 sc->gc_width = 0; in pci_fbuf_write()
367 if (sc->gc_width != sc->memregs.width || in pci_fbuf_render()
370 sc->gc_width = sc->memregs.width; in pci_fbuf_render()
/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dvga.c58 int gc_width; member
205 sc->gc_width = (sc->vga_crtc.crtc_horiz_disp_end + 1) * in vga_check_size()
212 if (old_width != sc->gc_width || old_height != sc->gc_height) in vga_check_size()
213 bhyvegc_resize(gc, sc->gc_width, sc->gc_height); in vga_check_size()
224 offset = (y * sc->gc_width / 8) + (x / 8); in vga_get_pixel()
251 for (x = 0; x < sc->gc_width; x++) { in vga_render_graphics()
254 offset = y * sc->gc_width + x; in vga_render_graphics()
270 offset += (y / 16 * sc->gc_width / dots) * 2 + (x / dots) * 2; in vga_get_text_pixel()
314 for (x = 0; x < sc->gc_width; x++) { in vga_render_text()
317 offset = y * sc->gc_width + x; in vga_render_text()