| /freebsd-13.1/sys/arm/ti/am335x/ |
| H A D | am335x_lcd_syscons.c | 279 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() 687 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in am335x_syscons_putc() 688 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in am335x_syscons_putc()
|
| /freebsd-13.1/sys/arm/versatile/ |
| H A D | versatile_clcd.c | 527 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() 581 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in versatilefb_update_margins() 628 vi->vi_width = sc->width/8; in versatilefb_init() 634 if (vi->vi_width > COL) in versatilefb_init() 635 vi->vi_width = COL; in versatilefb_init() 639 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in versatilefb_init() 865 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in versatilefb_putc() 868 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in versatilefb_putc() [all …]
|
| /freebsd-13.1/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_fb.c | 364 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in bcmrend_draw_cursor() 368 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in bcmrend_draw_cursor() 369 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in bcmrend_draw_cursor() 428 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in bcmfb_update_margins() 521 vi->vi_width = sc->width / vi->vi_cwidth; in bcmfb_init() 527 if (vi->vi_width > COL) in bcmfb_init() 528 vi->vi_width = COL; in bcmfb_init() 532 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in bcmfb_init() 776 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in bcmfb_putc() 777 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in bcmfb_putc()
|
| /freebsd-13.1/sys/dev/terasic/mtl/ |
| H A D | terasic_mtl_syscons.c | 110 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-13.1/sys/dev/syscons/ |
| H A D | scvidctl.c | 120 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 D | scgfbrndr.c | 154 (adp->va_info.vi_width * adp->va_info.vi_height); in gfb_draw() 160 n = (count / adp->va_info.vi_width) + 1; in gfb_draw()
|
| H A D | syscons.c | 470 info.vi_width == 800 && info.vi_height == 600 && in sc_set_vesa_mode() 527 scp->xpixel = info.vi_width; in sc_set_vesa_mode() 3630 scp->xpixel = info.vi_width; in init_scp() 3632 scp->xsize = info.vi_width / info.vi_cwidth; in init_scp() 3637 scp->xsize = info.vi_width; in init_scp()
|
| /freebsd-13.1/sys/dev/fb/ |
| H A D | splash_pcx.c | 112 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 D | vga.c | 871 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 D | fb.c | 587 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 D | vesa.c | 969 vesa_vmode[modes].vi_width = vmode.v_width; in vesa_bios_init() 1249 if ((info->vi_width != 0) in vesa_query_mode() 1250 && (info->vi_width != vesa_vmode[i].vi_width)) in vesa_query_mode() 1405 info.vi_width, vesa_adp->va_line_width); in vesa_set_mode()
|
| H A D | splash_bmp.c | 88 (bmp_Init((u_char *)bmp_decoder.data, info.vi_width, in bmp_start()
|
| /freebsd-13.1/sys/powerpc/ofw/ |
| H A D | ofw_syscons.c | 396 vi->vi_width = sc->sc_width/8 - 2*cborder; in ofwfb_init() 403 if (vi->vi_width > COL) in ofwfb_init() 404 vi->vi_width = COL; in ofwfb_init() 408 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-13.1/sys/arm/freescale/imx/ |
| H A D | imx51_ipuv3.c | 559 vi->vi_width = sc->width/8; in ipu3fb_init() 565 if (vi->vi_width > COL) in ipu3fb_init() 566 vi->vi_width = COL; in ipu3fb_init() 570 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in ipu3fb_init() 824 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in ipu3fb_putc() 825 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in ipu3fb_putc()
|
| /freebsd-13.1/usr.sbin/vidcontrol/ |
| H A D | vidcontrol.c | 828 if ((vesa_cols * 8 > new_mode_info.vi_width) || in video_mode() 830 size[0] = new_mode_info.vi_width / 8; in video_mode() 1147 if (info.vi_width == 0 && info.vi_height == 0 && in show_mode_info() 1158 info.vi_width, info.vi_height, in show_mode_info() 1182 info.vi_width, info.vi_height, in show_mode_info() 1189 info.vi_width, info.vi_height); in show_mode_info()
|
| /freebsd-13.1/sys/dev/syscons/warp/ |
| H A D | warp_saver.c | 141 scrw = info.vi_width; in warp_init()
|
| /freebsd-13.1/sys/dev/syscons/logo/ |
| H A D | logo_saver.c | 152 scrw = info.vi_width; in logo_init()
|
| /freebsd-13.1/sys/dev/syscons/rain/ |
| H A D | rain_saver.c | 155 scrw = info.vi_width; in rain_init()
|
| /freebsd-13.1/lib/libvgl/ |
| H A D | main.c | 319 VGLDisplay->Xsize = VGLModeInfo.vi_width; in VGLInit() 441 VGLDisplay->Xsize = VGLModeInfo.vi_width; in VGLCheckSwitch()
|
| /freebsd-13.1/sys/dev/syscons/fire/ |
| H A D | fire_saver.c | 155 scrw = info.vi_width; in fire_init()
|
| /freebsd-13.1/sys/dev/syscons/plasma/ |
| H A D | plasma_saver.c | 198 scrw = info.vi_width; in plasma_init()
|
| /freebsd-13.1/sys/sys/ |
| H A D | fbio.h | 201 int vi_width; member
|