Home
last modified time | relevance | path

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

/freebsd-12.1/sys/arm/versatile/
H A Dversatile_clcd.c527 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in clcdr_draw_cursor()
531 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in clcdr_draw_cursor()
532 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in clcdr_draw_cursor()
582 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in versatilefb_update_margins()
629 vi->vi_width = sc->width/8; in versatilefb_init()
635 if (vi->vi_width > COL) in versatilefb_init()
636 vi->vi_width = COL; in versatilefb_init()
640 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in versatilefb_init()
866 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in versatilefb_putc()
869 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in versatilefb_putc()
[all …]
/freebsd-12.1/sys/arm/ti/am335x/
H A Dam335x_lcd_syscons.c279 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in am335x_rend_draw_cursor()
283 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in am335x_rend_draw_cursor()
284 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in am335x_rend_draw_cursor()
344 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in am335x_syscons_update_margins()
430 vi->vi_width = sc->width/8; in am335x_syscons_init()
436 if (vi->vi_width > COL) in am335x_syscons_init()
437 vi->vi_width = COL; in am335x_syscons_init()
441 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in am335x_syscons_init()
688 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in am335x_syscons_putc()
689 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in am335x_syscons_putc()
/freebsd-12.1/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fb.c365 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in bcmrend_draw_cursor()
369 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in bcmrend_draw_cursor()
370 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in bcmrend_draw_cursor()
429 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in bcmfb_update_margins()
522 vi->vi_width = sc->width / vi->vi_cwidth; in bcmfb_init()
528 if (vi->vi_width > COL) in bcmfb_init()
529 vi->vi_width = COL; in bcmfb_init()
533 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in bcmfb_init()
777 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in bcmfb_putc()
778 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in bcmfb_putc()
/freebsd-12.1/sys/dev/terasic/mtl/
H A Dterasic_mtl_syscons.c110 vi->vi_width = TERASIC_MTL_COLS; in terasic_mtl_vidsw_init()
111 if (vi->vi_width > COL) in terasic_mtl_vidsw_init()
112 vi->vi_width = COL; in terasic_mtl_vidsw_init()
383 col = (off % adp->va_info.vi_width); in terasic_mtl_vidsw_putc()
384 row = (off / adp->va_info.vi_width); in terasic_mtl_vidsw_putc()
/freebsd-12.1/sys/dev/fb/
H A Dsplash_pcx.c112 info.vi_width, info.vi_height, in pcx_start()
114 if (info.vi_width >= pcx_info.width in pcx_start()
216 swidth = adp->va_info.vi_width; in pcx_draw()
H A Dvga.c871 adp->va_line_width = info->vi_width/2; in update_adapter_info()
885 adp->va_line_width = info->vi_width; in update_adapter_info()
889 adp->va_line_width = info->vi_width; in update_adapter_info()
1156 width = bios_vmode[i].vi_width; in probe_adapters()
1244 bios_vmode[i].vi_width != 90) { in probe_adapters()
1519 if ((info->vi_width != 0) in vga_query_mode()
1520 && (info->vi_width != bios_vmode[i].vi_width)) in vga_query_mode()
2206 buf[0] = info.vi_width; /* COLS */ in vga_save_state()
2333 *row = off / adp->va_info.vi_width; in vga_read_hw_cursor()
2334 *col = off % adp->va_info.vi_width; in vga_read_hw_cursor()
[all …]
H A Dmachfb.c566 vi->vi_width = strtol(buf, NULL, 10); in machfb_init()
574 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2; in machfb_init()
1028 regw(sc, DST_Y_X, ((((off % adp->va_info.vi_width) * in machfb_putc()
1030 (((off / adp->va_info.vi_width) * adp->va_info.vi_cheight) + in machfb_putc()
1067 x2 = (((off + i) % adp->va_info.vi_width) * in machfb_puts()
1069 y2 = (((off + i) / adp->va_info.vi_width) * in machfb_puts()
H A Dcreator.c490 vi->vi_width = strtol(buf, NULL, 10); in creator_init()
497 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2; in creator_init()
826 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in creator_putc()
827 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in creator_putc()
H A Dvesa.c968 vesa_vmode[modes].vi_width = vmode.v_width; in vesa_bios_init()
1248 if ((info->vi_width != 0) in vesa_query_mode()
1249 && (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 Dfb.c587 info->vi_width, info->vi_height, in fb_dump_mode_info()
592 info->vi_width, info->vi_height, in fb_dump_mode_info()
H A Dsplash_bmp.c88 (bmp_Init((u_char *)bmp_decoder.data, info.vi_width, in bmp_start()
/freebsd-12.1/sys/dev/syscons/
H A Dscvidctl.c120 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()
354 xsize = info.vi_width/8; in sc_set_pixel_mode()
358 if ((info.vi_width < xsize*8) || (info.vi_height < ysize*fontsize)) in sc_set_pixel_mode()
449 if (info->vi_width * info->vi_height / 8 > info->vi_window_size) in sc_support_pixel_mode()
H A Dscgfbrndr.c183 (adp->va_info.vi_width * adp->va_info.vi_height); in gfb_draw()
189 n = (count / adp->va_info.vi_width) + 1; in gfb_draw()
H A Dsyscons.c460 info.vi_width == 800 && info.vi_height == 600 && in sc_set_vesa_mode()
517 scp->xpixel = info.vi_width; in sc_set_vesa_mode()
3572 scp->xpixel = info.vi_width; in init_scp()
3574 scp->xsize = info.vi_width/info.vi_cwidth; in init_scp()
3579 scp->xsize = info.vi_width; in init_scp()
/freebsd-12.1/sys/powerpc/ofw/
H A Dofw_syscons.c395 vi->vi_width = sc->sc_width/8 - 2*cborder; in ofwfb_init()
402 if (vi->vi_width > COL) in ofwfb_init()
403 vi->vi_width = COL; in ofwfb_init()
407 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2; in ofwfb_init()
821 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in ofwfb_putc8()
822 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in ofwfb_putc8()
873 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in ofwfb_putc32()
874 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in ofwfb_putc32()
/freebsd-12.1/sys/arm/freescale/imx/
H A Dimx51_ipuv3.c561 vi->vi_width = sc->width/8; in ipu3fb_init()
567 if (vi->vi_width > COL) in ipu3fb_init()
568 vi->vi_width = COL; in ipu3fb_init()
572 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in ipu3fb_init()
828 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in ipu3fb_putc()
829 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in ipu3fb_putc()
/freebsd-12.1/usr.sbin/vidcontrol/
H A Dvidcontrol.c174 size[0] = cur_info.video_mode_info.vi_width / 8; in revert()
838 if ((vesa_cols * 8 > new_mode_info.vi_width) || in video_mode()
840 size[0] = new_mode_info.vi_width / 8; in video_mode()
1157 if (info.vi_width == 0 && info.vi_height == 0 && in show_mode_info()
1168 info.vi_width, info.vi_height, in show_mode_info()
1192 info.vi_width, info.vi_height, in show_mode_info()
1199 info.vi_width, info.vi_height); in show_mode_info()
/freebsd-12.1/sys/dev/syscons/warp/
H A Dwarp_saver.c141 scrw = info.vi_width; in warp_init()
/freebsd-12.1/sys/dev/syscons/logo/
H A Dlogo_saver.c152 scrw = info.vi_width; in logo_init()
/freebsd-12.1/sys/dev/syscons/rain/
H A Drain_saver.c155 scrw = info.vi_width; in rain_init()
/freebsd-12.1/sys/dev/syscons/fire/
H A Dfire_saver.c155 scrw = info.vi_width; in fire_init()
/freebsd-12.1/lib/libvgl/
H A Dmain.c295 VGLDisplay->Xsize = VGLModeInfo.vi_width; in VGLInit()
409 VGLDisplay->Xsize = VGLModeInfo.vi_width; in VGLCheckSwitch()
/freebsd-12.1/sys/dev/syscons/plasma/
H A Dplasma_saver.c198 scrw = info.vi_width; in plasma_init()
/freebsd-12.1/sys/sys/
H A Dfbio.h344 int vi_width; member