Searched defs:xres (Results 51 - 70 of 70) sorted by relevance

123

/drivers/video/fbdev/omap/
H A Domapfb_main.c208 var->xres, var->yres, plane->color_mode);
220 var->xres, var->yres,
508 var->xres = panel->x_res;
519 var->xres = panel->y_res;
527 if (var->xres < xres_min)
528 var->xres = xres_min;
531 if (var->xres > xres_max)
532 var->xres = xres_max;
536 if (var->xres_virtual < var->xres)
537 var->xres_virtual = var->xres;
716 int xres, yres; local
[all...]
/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c392 var->xres_virtual = var->xres;
400 if (var->xres < xres_min)
401 var->xres = xres_min;
404 if (var->xres > xres_max)
405 var->xres = xres_max;
409 if (var->xres > var->xres_virtual)
410 var->xres = var->xres_virtual;
441 if (var->xres > var->xres_virtual)
442 var->xres = var->xres_virtual;
538 else if (vrfb->xres !
852 int xres, yres; local
[all...]
/drivers/video/fbdev/
H A Dps3fb.c267 long xres, yres, left_margin, right_margin, upper_margin, lower_margin; local
271 if (var->xres > vmode->xres || var->yres > vmode->yres ||
282 xres = max(var->xres, 1U);
292 dx = ((long)vmode->left_margin + (long)vmode->xres +
294 (left_margin + xres + right_margin);
309 return (vmode->xres - xres) * (vmode->yres - yres);
343 var->left_margin, var->xres, va
[all...]
H A Dpxafb.c373 if (modelist[i].xres >= var->xres &&
375 modelist[i].xres < best_x &&
378 best_x = modelist[i].xres;
390 var->xres = mode->xres;
413 var->xres = max_t(int, var->xres, MIN_XRES);
426 line_length = var->xres * var->bits_per_pixel / 8;
428 var->xres
1863 unsigned int xres = 0, yres = 0, bpp = 0; local
[all...]
H A Dstifb.c499 SET_ATTR_SIZE(fb, fb->info.var.xres, fb->info.var.yres);
524 0xff, fb->info.var.xres * fb->info.var.bits_per_pixel/8);
684 packed_len = (fb->info.var.xres << 16) | fb->info.var.yres;
734 packed_len = (fb->info.var.xres << 16) | fb->info.var.yres;
1089 int bpp, xres, yres; local
1140 xres = sti_onscreen_x(fb->sti);
1168 xres = fb->ngle_rom.x_size_visible;
1253 var->xres = var->xres_virtual = xres;
1288 var->xres,
[all...]
H A Datafb.c355 * Round up in the following order: bits_per_pixel, xres, yres,
373 * if yres_virtual > yres or xres_virtual > xres.
436 0, 0, 0, 0, 0, 0, 0, 0, /* xres-grayscale */
618 int xres = var->xres; local
625 if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2)
628 xres = sttt_xres * 2;
632 if (bpp > 8 || xres > sttt_xres || yres > tt_yres)
635 if (xres > sttt_xres / 2 || yres > tt_yres)
638 xres
921 int xres = var->xres; local
1845 int xres = var->xres; local
2814 int xres, xres_virtual, yres, depth, planes; local
2943 int xres; local
3007 int xres, yres, depth, temp; local
[all...]
H A Dimsttfb.c470 compute_imstt_regvals_ibm(struct imstt_par *par, int xres, int yres) argument
475 switch (xres) {
508 init->hsb = init->heb + (xres >> 3);
516 init->pitch = xres;
521 compute_imstt_regvals_tvp(struct imstt_par *par, int xres, int yres) argument
525 switch (xres) {
555 compute_imstt_regvals (struct imstt_par *par, u_int xres, u_int yres) argument
558 return compute_imstt_regvals_ibm(par, xres, yres);
560 return compute_imstt_regvals_tvp(par, xres, yres);
787 || var->xres_virtual < var->xres || va
[all...]
H A Dsh_mobile_lcdcfb.c166 * @xres: Horizontal visible resolution
197 unsigned int xres; member in struct:sh_mobile_lcdc_overlay
548 ch->display.mode.xres, ch->display.mode.yres,
549 new_mode->xres, new_mode->yres);
836 h_total = mode->xres + mode->hsync_len + mode->left_margin
839 tmp |= (min(mode->xres, ch->xres) / 8) << 16; /* HDCN */
842 hsync_pos = mode->xres + mode->right_margin;
858 display_h_total = mode->xres + mode->hsync_len + mode->left_margin
860 tmp = ((mode->xres
[all...]
H A Damifb.c121 | margin # | xres # margin | len |
220 - diwstop_h = diwstrt_h + xres + 1. Because of the additional 1 this can
288 xres yres left right upper lower hsync vsync
299 xres yres left right upper lower hsync vsync
347 - make sure left_margin + xres + right_margin + hsync_len = 1816 for a
716 int xres; /* vmode */ member in struct:amifb_par
1146 if ((par->xres = var->xres) < 64)
1147 par->xres = 64;
1150 if ((par->vxres = var->xres_virtual) < par->xres)
[all...]
/drivers/video/fbdev/riva/
H A Dfbdev.c230 .xres = 640,
698 hDisplaySize = info->var.xres;
839 var->xres = var->xres_virtual = modedb->xres;
878 int xres, yres; member in struct:__anon7200
894 for (i = 0; modes[i].xres != -1; i++) {
895 if (modes[i].xres * nom / den * modes[i].yres <
899 if (modes[i].xres == -1) {
905 var->xres_virtual = modes[i].xres;
927 var->xres, va
[all...]
/drivers/video/fbdev/sis/
H A Dinit.c1807 unsigned short xres, temp, colordepth, infoflag; local
1811 xres = SiS_Pr->CHDisplay;
1814 xres = SiS_Pr->SiS_RefIndex[RRTI].XRes;
1819 temp = xres / 16;
1822 if(xres % 16) temp += (colordepth >> 1);
3538 int xres, int yres,
3583 if(writeres) var->xres = xres = E * 8;
3638 if((xres == 320) && ((yres == 200) || (yres == 240))) {
3537 SiS_Generic_ConvertCRData(struct SiS_Private *SiS_Pr, unsigned char *crdata, int xres, int yres, struct fb_var_screeninfo *var, bool writeres ) argument
H A Dinit301.c2734 unsigned short xres, yres, modeflag=0, resindex; local
2737 xres = SiS_Pr->CHDisplay;
2738 if(SiS_Pr->CModeFlag & HalfDCLK) xres <<= 1;
2739 SiS_Pr->SiS_VGAHDE = SiS_Pr->SiS_HDE = xres;
2748 xres = SiS_Pr->SiS_StResInfo[resindex].HTotal;
2751 xres = SiS_Pr->SiS_ModeResInfo[resindex].HTotal;
2767 if(modeflag & HalfDCLK) xres <<= 1;
2807 if(xres == 720) xres = 640;
2809 } else if(xres
5223 unsigned short temp, modeflag, i, j, xres=0, VGAVDE; local
[all...]
H A Dsis_main.c150 unsigned int j = 0, xres = 0, yres = 0, depth = 0, rate = 0; local
180 if(sscanf(strbuf1, "%u %u %u %u", &xres, &yres, &depth, &rate) == 4) {
184 sprintf(strbuf, "%ux%ux%u", xres, yres, depth);
187 } else if(sscanf(strbuf1, "%u %u %u", &xres, &yres, &depth) == 3) {
188 sprintf(strbuf, "%ux%ux%u", xres, yres, depth);
191 xres = 0;
192 if((sscanf(strbuf1, "%u %u", &xres, &yres) == 2) && (xres != 0)) {
193 sprintf(strbuf, "%ux%ux8", xres, yres);
404 int i, j, xres, yre local
615 u16 xres=0, yres, myres; local
686 u16 xres = sisbios_mode[mode_idx].xres; local
2253 u16 xres, yres; local
[all...]
/drivers/video/fbdev/via/
H A Dviafbdev.c192 htotal = var->left_margin + var->xres + var->right_margin
215 if (!viafb_get_best_mode(var->xres, var->yres, 60)) {
218 var->xres, var->yres, var->bits_per_pixel);
242 if (var->xres_virtual < var->xres)
243 var->xres_virtual = var->xres;
253 refresh = viafb_get_refresh(var->xres, var->yres,
258 viafb_get_best_mode(var->xres, var->yres, refresh));
274 viafb_update_device_setting(viafbinfo->var.xres, viafbinfo->var.yres,
278 viafb_update_device_setting(viafbinfo1->var.xres,
427 return put_user(viafb_ioctl_hotplug(info->var.xres,
1660 parse_mode(const char *str, u32 devices, u32 *xres, u32 *yres) argument
[all...]
/drivers/video/fbdev/aty/
H A Daty128fb.c126 .xres = 640,
1057 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; local
1065 xres = var->xres;
1092 xres = (xres + 7) & ~7;
1095 if (vxres < xres + xoffset)
1096 vxres = xres + xoffset;
1118 h_disp = (xres >> 3) - 1;
1119 h_total = (((xres
1247 u32 xres, yres, left, right, upper, lower, hslen, vslen, sync; local
1644 u32 xres, yres; local
[all...]
H A Dradeonfb.h255 int xres, yres; member in struct:panel_info
H A Datyfb_base.c574 par->pll.ct.xres = 0;
578 par->pll.ct.xres = var->xres;
795 u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; local
803 xres = (var->xres + 7) & ~7;
816 if (vxres < xres + xoffset)
817 vxres = xres + xoffset;
818 h_disp = xres;
865 if ((xres > 192
1151 u32 xres, yres, bpp, left, right, upper, lower, hslen, vslen, sync; local
1737 u32 xres, yres, xoffset, yoffset; local
[all...]
/drivers/video/fbdev/geode/
H A Dlxfb.h60 static inline unsigned int lx_get_pitch(unsigned int xres, int bpp) argument
62 return (((xres * (bpp >> 3)) + 7) & ~7);
/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c135 640,480,640,480,/* W,H, W, H (virtual) load xres,xres_virtual*/
450 int xres, int bpp)
458 case 0: return xres;
476 over = xres % rounding;
478 xres += rounding-over;
479 return xres;
482 static int matroxfb_pitch_adjust(const struct matrox_fb_info *minfo, int xres, argument
490 if (!bpp) return xres;
496 if ((*width >= xres) && (matroxfb_test_and_set_rounding(minfo, *width, bpp) == *width)) {
503 xres_new = matroxfb_test_and_set_rounding(minfo, xres, bp
449 matroxfb_test_and_set_rounding(const struct matrox_fb_info *minfo, int xres, int bpp) argument
1266 static unsigned int xres; /* "matroxfb:xres:xxxxx" */ variable
2189 static struct { int xres, yres, left, right, upper, lower, hslen, vslen, vfreq; } timmings[] __initdata = { member in struct:__anon7128
[all...]
/drivers/video/fbdev/omap2/dss/
H A Ddsi.c4791 int xres; local
4811 xres = req_vm->x_res;
4814 panel_htot = xres + panel_hbl;
4816 dsi_hact = DIV_ROUND_UP(DIV_ROUND_UP(xres * bitspp, 8) + 6, ndl);
4822 if (dsi->line_buffer_size < xres * bitspp / 8) {
4868 dispc_hbl = dispc_htot - xres;
4916 dsi_vm->hact = xres;

Completed in 2382 milliseconds

123