Home
last modified time | relevance | path

Searched refs:vi_height (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-10-stable/sys/arm/versatile/
Dversatile_clcd.c546 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in clcdr_draw_cursor()
602 sc->ymargin = (sc->height - (vi->vi_height * vi->vi_cheight))/2; in versatilefb_update_margins()
649 vi->vi_height = sc->height/vi->vi_cheight; in versatilefb_init()
656 if (vi->vi_height > ROW) in versatilefb_init()
657 vi->vi_height = ROW; in versatilefb_init()
660 sc->ymargin = (sc->height - (vi->vi_height * vi->vi_cheight))/2; in versatilefb_init()
886 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in versatilefb_putc()
/freebsd-10-stable/sys/dev/fb/
Dsplash_pcx.c110 info.vi_width, info.vi_height, in pcx_start()
113 && info.vi_height >= pcx_info.height in pcx_start()
215 sheight = adp->va_info.vi_height; in pcx_draw()
Dvesa.c968 vesa_vmode[modes].vi_height = vmode.v_height; in vesa_bios_init()
1250 if ((info->vi_height != 0) in vesa_query_mode()
1251 && (info->vi_height != vesa_vmode[i].vi_height)) in vesa_query_mode()
1356 vesa_adp->va_line_width = info.vi_buffer_size / info.vi_height; in vesa_set_mode()
1366 info.vi_buffer_size = bpsl * info.vi_height; in vesa_set_mode()
Dvga.c1475 if ((info->vi_height != 0) in vga_query_mode()
1476 && (info->vi_height != bios_vmode[i].vi_height)) in vga_query_mode()
2157 buf[1] = info.vi_height/info.vi_cheight - 1; /* ROWS */ in vga_save_state()
2160 buf[1] = info.vi_height - 1; /* ROWS */ in vga_save_state()
2506 length = adp->va_line_width*adp->va_info.vi_height; in planar_fill()
2526 length = adp->va_line_width*adp->va_info.vi_height; in packed_fill()
2544 length = adp->va_line_width*adp->va_info.vi_height; in direct_fill()
2951 ((struct fbtype *)arg)->fb_height = adp->va_info.vi_height; in vga_dev_ioctl()
Dfb.c586 info->vi_width, info->vi_height, in fb_dump_mode_info()
591 info->vi_width, info->vi_height, in fb_dump_mode_info()
Dcreator.c486 vi->vi_height = strtol(buf, NULL, 10); in creator_init()
497 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight)) / 2; in creator_init()
Dsplash_bmp.c99 info.vi_height, info.vi_depth) == 0)) in bmp_start()
/freebsd-10-stable/sys/arm/ti/am335x/
Dam335x_lcd_syscons.c280 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in am335x_rend_draw_cursor()
346 sc->ymargin = (sc->height - (vi->vi_height * vi->vi_cheight))/2; in am335x_syscons_update_margins()
432 vi->vi_height = sc->height/vi->vi_cheight; in am335x_syscons_init()
439 if (vi->vi_height > ROW) in am335x_syscons_init()
440 vi->vi_height = ROW; in am335x_syscons_init()
443 sc->ymargin = (sc->height - (vi->vi_height * vi->vi_cheight))/2; in am335x_syscons_init()
/freebsd-10-stable/sys/dev/syscons/
Dscvidctl.c120 int vi_height; member
183 if ((ysize <= 0) || (ysize > info.vi_height)) in sc_set_text_mode()
184 ysize = info.vi_height; in sc_set_text_mode()
281 scp->ypixel = info.vi_height; in sc_set_graphics_mode()
355 ysize = info.vi_height/fontsize; 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()
Dscgfbrndr.c181 (adp->va_info.vi_width * adp->va_info.vi_height); in gfb_draw()
/freebsd-10-stable/sys/arm/broadcom/bcm2835/
Dbcm2835_fb.c364 if (off >= adp->va_info.vi_width * adp->va_info.vi_height) in bcmrend_draw_cursor()
429 sc->ymargin = (sc->height - (vi->vi_height * vi->vi_cheight)) / 2; in bcmfb_update_margins()
522 vi->vi_height = sc->height / vi->vi_cheight; in bcmfb_init()
529 if (vi->vi_height > ROW) in bcmfb_init()
530 vi->vi_height = ROW; in bcmfb_init()
533 sc->ymargin = (sc->height - (vi->vi_height * vi->vi_cheight)) / 2; in bcmfb_init()
/freebsd-10-stable/sys/dev/terasic/mtl/
Dterasic_mtl_syscons.c111 vi->vi_height = TERASIC_MTL_ROWS; in terasic_mtl_vidsw_init()
112 if (vi->vi_height > ROW) in terasic_mtl_vidsw_init()
113 vi->vi_height = ROW; in terasic_mtl_vidsw_init()
/freebsd-10-stable/usr.sbin/vidcontrol/
Dvidcontrol.c182 size[1] = cur_info.video_mode_info.vi_height / in revert()
789 if ((vesa_rows * font_height > new_mode_info.vi_height) || in video_mode()
791 size[1] = new_mode_info.vi_height / in video_mode()
1110 _info.vi_width, _info.vi_height, in show_mode_info()
1134 _info.vi_width, _info.vi_height, in show_mode_info()
1141 _info.vi_width, _info.vi_height); in show_mode_info()
/freebsd-10-stable/sys/powerpc/wii/
Dwii_fb.c584 vi->vi_height = sc->sc_height/vi->vi_cheight; in wiifb_init()
592 if (vi->vi_height > ROW) in wiifb_init()
593 vi->vi_height = ROW; in wiifb_init()
596 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight))/2; in wiifb_init()
/freebsd-10-stable/lib/libvgl/
Dmain.c254 VGLBufSize = max(VGLAdpInfo.va_line_width*VGLModeInfo.vi_height, in VGLInit()
294 VGLDisplay->Ysize = VGLModeInfo.vi_height; in VGLInit()
408 VGLDisplay->Ysize = VGLModeInfo.vi_height; in VGLCheckSwitch()
/freebsd-10-stable/sys/arm/freescale/imx/
Dimx51_ipuv3.c560 vi->vi_height = sc->height/vi->vi_cheight; in ipu3fb_init()
567 if (vi->vi_height > ROW) in ipu3fb_init()
568 vi->vi_height = ROW; in ipu3fb_init()
571 sc->ymargin = (sc->height - (vi->vi_height * vi->vi_cheight))/2; in ipu3fb_init()
/freebsd-10-stable/sys/pc98/cbus/
Dgdc.c1032 if ((info->vi_height != 0) in gdc_query_mode()
1033 && (info->vi_height != bios_vmode[i].vi_height)) in gdc_query_mode()
1098 if (info.vi_height > 400) in gdc_set_mode()
1375 length = adp->va_line_width*adp->va_info.vi_height; in packed_fill()
1444 ((struct fbtype *)arg)->fb_height = adp->va_info.vi_height; in gdc_dev_ioctl()
/freebsd-10-stable/sys/dev/syscons/warp/
Dwarp_saver.c144 scrh = info.vi_height; in warp_init()
/freebsd-10-stable/sys/powerpc/ofw/
Dofw_syscons.c394 vi->vi_height = sc->sc_height/sc->sc_font_height - 2*cborder; in ofwfb_init()
402 if (vi->vi_height > ROW) in ofwfb_init()
403 vi->vi_height = ROW; in ofwfb_init()
406 sc->sc_ymargin = (sc->sc_height - (vi->vi_height * vi->vi_cheight))/2; in ofwfb_init()
/freebsd-10-stable/sys/dev/syscons/logo/
Dlogo_saver.c155 scrh = info.vi_height; in logo_init()
/freebsd-10-stable/sys/dev/syscons/rain/
Drain_saver.c158 scrh = info.vi_height; in rain_init()
/freebsd-10-stable/sys/dev/syscons/fire/
Dfire_saver.c158 scrh = info.vi_height; in fire_init()
/freebsd-10-stable/sys/dev/syscons/plasma/
Dplasma_saver.c201 scrh = info.vi_height; in plasma_init()
/freebsd-10-stable/sys/sys/
Dfbio.h335 int vi_height; member
/freebsd-10-stable/sys/i386/xbox/
Dxboxfb.c260 vi->vi_height = (sc->sc_height / vi->vi_cheight); in xboxfb_init()

12