Searched refs:vi_cwidth (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/sys/i386/xbox/
H A Dxboxfb.c258 vi->vi_cwidth = sc->sc_font->width;
261 vi->vi_width = (sc->sc_width / vi->vi_cwidth);
392 col = (at % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
397 for (j = 0; j < adp->va_info.vi_cwidth; j++) {
400 ptri += (sc->sc_width - adp->va_info.vi_cwidth);
603 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
610 for (i = 0; i < adp->va_info.vi_cwidth; i++) {
615 ptri += (sc->sc_width - adp->va_info.vi_cwidth);
/freebsd-11-stable/sys/arm/ti/am335x/
H A Dam335x_lcd_syscons.c283 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
293 for (j = 0; j < adp->va_info.vi_cwidth; j++) {
343 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
427 vi->vi_cwidth = 8;
440 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
688 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fb.c369 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
378 for (j = 0; j < adp->va_info.vi_cwidth; j++) {
428 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
520 vi->vi_cwidth = BCMFB_FONT_WIDTH;
521 vi->vi_width = sc->width / vi->vi_cwidth;
532 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
777 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
/freebsd-11-stable/sys/arm/versatile/
H A Dversatile_clcd.c533 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
541 for (j = 0; j < adp->va_info.vi_cwidth; j++) {
583 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
628 vi->vi_cwidth = 8;
641 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
871 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
/freebsd-11-stable/sys/dev/fb/
H A Dmachfb.c565 vi->vi_cwidth = gallant12x22.width;
571 sc->sc_cbwidth = howmany(vi->vi_cwidth, NBBY); /* width in bytes */
572 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2;
1025 regw(sc, SRC_WIDTH1, adp->va_info.vi_cwidth);
1027 adp->va_info.vi_cwidth) + sc->sc_xmargin) << 16) |
1030 regw(sc, DST_HEIGHT_WIDTH, (adp->va_info.vi_cwidth << 16) |
1050 blanks * adp->va_info.vi_cwidth, \
1066 adp->va_info.vi_cwidth) + sc->sc_xmargin;
H A Dcreator.c489 vi->vi_cwidth = gallant12x22.width;
495 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2;
825 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
832 creator_ras_setfontw(sc, adp->va_info.vi_cwidth);
H A Dfb.c588 info->vi_cwidth, info->vi_cheight);
592 info->vi_cwidth, info->vi_cheight);
H A Dvesa.c970 vesa_vmode[modes].vi_cwidth = vmode.v_cwidth;
1252 if ((info->vi_cwidth != 0)
1253 && (info->vi_cwidth != vesa_vmode[i].vi_cwidth))
H A Dvga.c1478 if ((info->vi_cwidth != 0)
1479 && (info->vi_cwidth != bios_vmode[i].vi_cwidth))
2156 buf[0] = info.vi_width/info.vi_cwidth; /* COLS */
/freebsd-11-stable/sys/powerpc/ofw/
H A Dofw_syscons.c395 vi->vi_cwidth = 8;
405 sc->sc_xmargin = (sc->sc_width - (vi->vi_width * vi->vi_cwidth)) / 2;
820 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
872 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
/freebsd-11-stable/sys/sys/
H A Dfbio.h344 int vi_cwidth; member in struct:video_info
/freebsd-11-stable/sys/dev/terasic/mtl/
H A Dterasic_mtl_syscons.c118 vi->vi_cwidth = 0;
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx51_ipuv3.c558 vi->vi_cwidth = 8;
570 sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
827 col = (off % adp->va_info.vi_width) * adp->va_info.vi_cwidth;
/freebsd-11-stable/sys/pc98/cbus/
H A Dgdc.c1035 if ((info->vi_cwidth != 0)
1036 && (info->vi_cwidth != bios_vmode[i].vi_cwidth))
/freebsd-11-stable/sys/dev/syscons/
H A Dscvidctl.c121 int vi_cwidth; member in struct:old_video_info
151 fontwidth = info.vi_cwidth;
H A Dsyscons.c3514 scp->xsize = info.vi_width/info.vi_cwidth;
3521 scp->xpixel = scp->xsize*info.vi_cwidth;
3526 scp->font_width = info.vi_cwidth;
/freebsd-11-stable/usr.sbin/vidcontrol/
H A Dvidcontrol.c1116 _info.vi_cwidth == 0 && _info.vi_cheight == 0)
1162 _info.vi_cwidth, _info.vi_cheight);
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_mouse.c653 sp->_sysmouse_char_width = the_video.vi_cwidth;

Completed in 376 milliseconds