Home
last modified time | relevance | path

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

12

/trueos/sys/pc98/cbus/
HDgdc.c647 biosadapter[0].va_line_width = info.vi_width/8; in probe_adapters()
650 biosadapter[0].va_line_width = info.vi_width/4; in probe_adapters()
653 biosadapter[0].va_line_width = info.vi_width/2; in probe_adapters()
657 biosadapter[0].va_line_width = info.vi_width; in probe_adapters()
661 biosadapter[0].va_line_width = info.vi_width; in probe_adapters()
1029 if ((info->vi_width != 0) in gdc_query_mode()
1030 && (info->vi_width != bios_vmode[i].vi_width)) in gdc_query_mode()
1132 adp->va_line_width = info.vi_width/8; in gdc_set_mode()
1135 adp->va_line_width = info.vi_width/4; in gdc_set_mode()
1138 adp->va_line_width = info.vi_width/2; in gdc_set_mode()
[all …]
/trueos/sys/arm/versatile/
HDversatile_clcd.c546 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in clcdr_draw_cursor()
550 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in clcdr_draw_cursor()
551 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in clcdr_draw_cursor()
601 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in versatilefb_update_margins()
648 vi->vi_width = sc->width/8; in versatilefb_init()
654 if (vi->vi_width > COL) in versatilefb_init()
655 vi->vi_width = COL; in versatilefb_init()
659 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in versatilefb_init()
886 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in versatilefb_putc()
889 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in versatilefb_putc()
[all …]
/trueos/sys/arm/ti/am335x/
HDam335x_lcd_syscons.c280 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in am335x_rend_draw_cursor()
284 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in am335x_rend_draw_cursor()
285 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in am335x_rend_draw_cursor()
345 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in am335x_syscons_update_margins()
431 vi->vi_width = sc->width/8; in am335x_syscons_init()
437 if (vi->vi_width > COL) in am335x_syscons_init()
438 vi->vi_width = COL; in am335x_syscons_init()
442 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in am335x_syscons_init()
689 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in am335x_syscons_putc()
690 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in am335x_syscons_putc()
/trueos/sys/arm/broadcom/bcm2835/
HDbcm2835_fb.c522 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in bcmrend_draw_cursor()
526 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in bcmrend_draw_cursor()
527 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in bcmrend_draw_cursor()
587 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in bcmfb_update_margins()
657 vi->vi_width = sc->width/8; in bcmfb_init()
663 if (vi->vi_width > COL) in bcmfb_init()
664 vi->vi_width = COL; in bcmfb_init()
668 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2; in bcmfb_init()
915 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in bcmfb_putc()
916 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in bcmfb_putc()
/trueos/sys/dev/terasic/mtl/
HDterasic_mtl_syscons.c108 vi->vi_width = TERASIC_MTL_COLS; in terasic_mtl_vidsw_init()
109 if (vi->vi_width > COL) in terasic_mtl_vidsw_init()
110 vi->vi_width = COL; in terasic_mtl_vidsw_init()
381 col = (off % adp->va_info.vi_width); in terasic_mtl_vidsw_putc()
382 row = (off / adp->va_info.vi_width); in terasic_mtl_vidsw_putc()
/trueos/sys/dev/fb/
HDsplash_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()
HDvga.c866 adp->va_line_width = info->vi_width/2; in update_adapter_info()
870 adp->va_line_width = info->vi_width/8; in update_adapter_info()
873 adp->va_line_width = info->vi_width/4; in update_adapter_info()
876 adp->va_line_width = info->vi_width/2; in update_adapter_info()
880 adp->va_line_width = info->vi_width; in update_adapter_info()
884 adp->va_line_width = info->vi_width; in update_adapter_info()
1472 if ((info->vi_width != 0) in vga_query_mode()
1473 && (info->vi_width != bios_vmode[i].vi_width)) in vga_query_mode()
2156 buf[0] = info.vi_width/info.vi_cwidth; /* COLS */ in vga_save_state()
2159 buf[0] = info.vi_width; /* COLS */ in vga_save_state()
[all …]
HDmachfb.c565 vi->vi_width = strtol(buf, NULL, 10); in machfb_init()
573 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2; in machfb_init()
1027 regw(sc, DST_Y_X, ((((off % adp->va_info.vi_width) * in machfb_putc()
1029 (((off / adp->va_info.vi_width) * adp->va_info.vi_cheight) + in machfb_putc()
1066 x2 = (((off + i) % adp->va_info.vi_width) * in machfb_puts()
1068 y2 = (((off + i) / adp->va_info.vi_width) * in machfb_puts()
HDcreator.c489 vi->vi_width = strtol(buf, NULL, 10); in creator_init()
496 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2; in creator_init()
825 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in creator_putc()
826 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in creator_putc()
HDvesa.c966 vesa_vmode[modes].vi_width = vmode.v_width; in vesa_bios_init()
1245 if ((info->vi_width != 0) in vesa_query_mode()
1246 && (info->vi_width != vesa_vmode[i].vi_width)) in vesa_query_mode()
1393 info.vi_width, vesa_adp->va_line_width); in vesa_set_mode()
HDfb.c586 info->vi_width, info->vi_height, in fb_dump_mode_info()
591 info->vi_width, info->vi_height, in fb_dump_mode_info()
HDsplash_bmp.c98 (bmp_Init((u_char *)bmp_decoder.data, info.vi_width, in bmp_start()
/trueos/sys/powerpc/wii/
HDwii_fb.c583 vi->vi_width = sc->sc_width/8; in wiifb_init()
590 if (vi->vi_width > COL) in wiifb_init()
591 vi->vi_width = COL; in wiifb_init()
595 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2; in wiifb_init()
837 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in wiifb_putc()
838 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth / 2; in wiifb_putc()
/trueos/sys/i386/xbox/
HDxboxfb.c261 vi->vi_width = (sc->sc_width / vi->vi_cwidth); in xboxfb_init()
391 row = (at / adp->va_info.vi_width) * adp->va_info.vi_cheight; in xbr_draw_cursor()
392 col = (at % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in xbr_draw_cursor()
602 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in xboxfb_putc()
603 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in xboxfb_putc()
/trueos/sys/dev/syscons/
HDscvidctl.c119 int vi_width; member
181 if ((xsize <= 0) || (xsize > info.vi_width)) in sc_set_text_mode()
182 xsize = info.vi_width; in sc_set_text_mode()
280 scp->xpixel = info.vi_width; in sc_set_graphics_mode()
353 xsize = info.vi_width/8; in sc_set_pixel_mode()
357 if ((info.vi_width < xsize*8) || (info.vi_height < ysize*fontsize)) in sc_set_pixel_mode()
448 if (info->vi_width * info->vi_height / 8 > info->vi_window_size) in sc_support_pixel_mode()
HDscgfbrndr.c181 (adp->va_info.vi_width * adp->va_info.vi_height); in gfb_draw()
187 n = (count / adp->va_info.vi_width) + 1; in gfb_draw()
/trueos/sys/powerpc/ofw/
HDofw_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()
819 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in ofwfb_putc8()
820 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in ofwfb_putc8()
871 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in ofwfb_putc32()
872 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in ofwfb_putc32()
/trueos/sys/arm/freescale/imx/
HDimx51_ipuv3.c559 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()
826 row = (off / adp->va_info.vi_width) * adp->va_info.vi_cheight; in ipu3fb_putc()
827 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth; in ipu3fb_putc()
/trueos/usr.sbin/vidcontrol/
HDvidcontrol.c181 size[0] = cur_info.video_mode_info.vi_width / 8; in revert()
772 if ((vesa_cols * 8 > new_mode_info.vi_width) || in video_mode()
774 size[0] = new_mode_info.vi_width / 8; in video_mode()
1102 _info.vi_width, _info.vi_height, in show_mode_info()
1126 _info.vi_width, _info.vi_height, in show_mode_info()
1133 _info.vi_width, _info.vi_height); in show_mode_info()
/trueos/sys/dev/syscons/warp/
HDwarp_saver.c143 scrw = info.vi_width; in warp_init()
/trueos/sys/dev/syscons/logo/
HDlogo_saver.c154 scrw = info.vi_width; in logo_init()
/trueos/sys/dev/syscons/rain/
HDrain_saver.c157 scrw = info.vi_width; in rain_init()
/trueos/sys/dev/syscons/fire/
HDfire_saver.c157 scrw = info.vi_width; in fire_init()
/trueos/lib/libvgl/
HDmain.c293 VGLDisplay->Xsize = VGLModeInfo.vi_width; in VGLInit()
407 VGLDisplay->Xsize = VGLModeInfo.vi_width; in VGLCheckSwitch()
/trueos/sys/sys/
HDfbio.h334 int vi_width; member

12