Home
last modified time | relevance | path

Searched refs:vi_width (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/arm/ti/am335x/
H A Dam335x_lcd_syscons.c277 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in am335x_rend_draw_cursor()
281 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in am335x_rend_draw_cursor()
282 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in am335x_rend_draw_cursor()
342 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in am335x_syscons_update_margins()
428 vi->vi_width = sc->width/8; in am335x_syscons_init()
434 if (vi->vi_width > COL) in am335x_syscons_init()
435 vi->vi_width = COL; in am335x_syscons_init()
439 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in am335x_syscons_init()
685 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in am335x_syscons_putc()
686 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in am335x_syscons_putc()
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fb.c360 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in bcmrend_draw_cursor()
364 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in bcmrend_draw_cursor()
365 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in bcmrend_draw_cursor()
424 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in bcmfb_update_margins()
517 vi->vi_width = sc->width / vi->vi_cwidth; in bcmfb_init()
523 if (vi->vi_width > COL) in bcmfb_init()
524 vi->vi_width = COL; in bcmfb_init()
528 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in bcmfb_init()
772 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in bcmfb_putc()
773 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in bcmfb_putc()
/freebsd/sys/dev/syscons/
H A Dscvidctl.c118 int vi_width; member
182 if ((xsize <= 0) || (xsize > info.vi_width)) in sc_set_text_mode()
183 xsize = info.vi_width; in sc_set_text_mode()
281 scp->xpixel = info.vi_width; in sc_set_graphics_mode()
356 xsize = info.vi_width/8; in sc_set_pixel_mode()
360 if ((info.vi_width < xsize*8) || (info.vi_height < ysize*fontsize)) in sc_set_pixel_mode()
451 if (info->vi_width * info->vi_height / 8 > info->vi_window_size) in sc_support_pixel_mode()
H A Dscgfbrndr.c152 (adp->va_info.vi_width * adp->va_info.vi_height); in gfb_draw()
158 n = (count / adp->va_info.vi_width) + 1; in gfb_draw()
H A Dsyscons.c468 info.vi_width == 800 && info.vi_height == 600 && in sc_set_vesa_mode()
525 scp->xpixel = info.vi_width; in sc_set_vesa_mode()
3632 scp->xpixel = info.vi_width; in init_scp()
3634 scp->xsize = info.vi_width / info.vi_cwidth; in init_scp()
3639 scp->xsize = info.vi_width; in init_scp()
/freebsd/sys/dev/fb/
H A Dsplash_pcx.c110 info.vi_width, info.vi_height, in pcx_start()
112 if (info.vi_width >= pcx_info.width in pcx_start()
214 swidth = adp->va_info.vi_width; in pcx_draw()
H A Dvga.c820 adp->va_line_width = info->vi_width/2; in update_adapter_info()
824 adp->va_line_width = info->vi_width/8; in update_adapter_info()
827 adp->va_line_width = info->vi_width/4; in update_adapter_info()
830 adp->va_line_width = info->vi_width/2; in update_adapter_info()
834 adp->va_line_width = info->vi_width; in update_adapter_info()
838 adp->va_line_width = info->vi_width; in update_adapter_info()
1105 width = bios_vmode[i].vi_width; in probe_adapters()
1114 (bios_vmode[i].vi_width != width || in probe_adapters()
1193 bios_vmode[i].vi_width != 90) { in probe_adapters()
1468 if ((info->vi_width != 0) in vga_query_mode()
[all …]
H A Dfb.c342 info->vi_width, info->vi_height, in fb_dump_mode_info()
347 info->vi_width, info->vi_height, in fb_dump_mode_info()
H A Dvesa.c967 vesa_vmode[modes].vi_width = vmode.v_width; in vesa_bios_init()
1247 if ((info->vi_width != 0) in vesa_query_mode()
1248 && (info->vi_width != vesa_vmode[i].vi_width)) in vesa_query_mode()
1404 info.vi_width, vesa_adp->va_line_width); in vesa_set_mode()
H A Dsplash_bmp.c86 (bmp_Init((u_char *)bmp_decoder.data, info.vi_width, in bmp_start()
/freebsd/sys/powerpc/ofw/
H A Dofw_syscons.c393 vi->vi_width = sc->sc_width/8 - 2*cborder; in ofwfb_init()
400 if (vi->vi_width > COL) in ofwfb_init()
401 vi->vi_width = COL; in ofwfb_init()
405 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2; in ofwfb_init()
818 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in ofwfb_putc8()
819 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in ofwfb_putc8()
870 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in ofwfb_putc32()
871 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in ofwfb_putc32()
/freebsd/usr.sbin/vidcontrol/
H A Dvidcontrol.c823 if ((vesa_cols * 8 > new_mode_info.vi_width) || in video_mode()
825 size[0] = new_mode_info.vi_width / 8; in video_mode()
1142 if (info.vi_width == 0 && info.vi_height == 0 && in show_mode_info()
1153 info.vi_width, info.vi_height, in show_mode_info()
1177 info.vi_width, info.vi_height, in show_mode_info()
1184 info.vi_width, info.vi_height); in show_mode_info()
/freebsd/sys/dev/syscons/warp/
H A Dwarp_saver.c139 scrw = info.vi_width; in warp_init()
/freebsd/sys/dev/syscons/logo/
H A Dlogo_saver.c150 scrw = info.vi_width; in logo_init()
/freebsd/lib/libvgl/
H A Dmain.c317 VGLDisplay->Xsize = VGLModeInfo.vi_width; in VGLInit()
439 VGLDisplay->Xsize = VGLModeInfo.vi_width; in VGLCheckSwitch()
/freebsd/sys/dev/syscons/rain/
H A Drain_saver.c153 scrw = info.vi_width; in rain_init()
/freebsd/sys/dev/syscons/fire/
H A Dfire_saver.c153 scrw = info.vi_width; in fire_init()
/freebsd/sys/dev/syscons/plasma/
H A Dplasma_saver.c196 scrw = info.vi_width; in plasma_init()
/freebsd/sys/sys/
H A Dfbio.h208 int vi_width; member