Searched refs:xres (Results 51 - 75 of 237) sorted by relevance

12345678910

/linux-master/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c165 * @xres: Horizontal visible resolution
196 unsigned int xres; member in struct:sh_mobile_lcdc_overlay
743 h_total = mode->xres + mode->hsync_len + mode->left_margin
746 tmp |= (min(mode->xres, ch->xres) / 8) << 16; /* HDCN */
749 hsync_pos = mode->xres + mode->right_margin;
765 display_h_total = mode->xres + mode->hsync_len + mode->left_margin
767 tmp = ((mode->xres & 7) << 24) | ((display_h_total & 7) << 16)
849 (ovl->xres << LDBBSSZR_BHSS_SHIFT));
1107 if (var->xres > MAX_XRE
[all...]
H A Dacornfb.c125 vidc.h_display_end = vidc.h_display_start + var->xres;
201 words_per_line = var->xres * var->bits_per_pixel / 32;
223 printk(KERN_DEBUG "VIDC registers for %dx%dx%d:\n", var->xres,
320 /* xres must be even */
321 var->xres = (var->xres + 1) & ~1;
324 * We don't allow xres_virtual to differ from xres
326 var->xres_virtual = var->xres;
341 font_line_len = var->xres * var->bits_per_pixel * fontht / 8;
342 min_size = var->xres * va
[all...]
H A Di740fb.c400 u32 xres, right, hslen, left, xtotal; local
407 dev_dbg(info->device, "decode_var: xres: %i, yres: %i, xres_v: %i, xres_v: %i\n",
408 var->xres, var->yres, var->xres_virtual, var->xres_virtual);
462 xres = ALIGN(var->xres, 8);
464 if (vxres < xres)
465 vxres = xres;
468 if (xres + xoffset > vxres)
469 xoffset = vxres - xres;
498 xtotal = xres
[all...]
H A Dneofb.c150 static int neoFindMode(int xres, int yres, int depth) argument
180 if (xres <= mode[i].x_res) {
258 int hsync_end = var->xres + var->right_margin + var->hsync_len;
285 par->CRTC[1] = (var->xres >> 3) - 1;
286 par->CRTC[2] = (var->xres >> 3) - 1;
288 par->CRTC[4] = ((var->xres + var->right_margin) >> 3);
594 ((var->xres > par->NeoPanelWidth) ||
598 var->xres, var->yres, par->NeoPanelWidth,
607 switch (var->xres) {
630 var->xres, va
[all...]
H A Dvesafb.c279 vesafb_defined.xres = si->lfb_width;
337 vesafb_defined.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel,
380 vesafb_defined.xres_virtual = vesafb_defined.xres;
392 vesafb_defined.pixclock = 10000000 / vesafb_defined.xres * 1000 / vesafb_defined.yres;
393 vesafb_defined.left_margin = (vesafb_defined.xres / 8) & 0xf8;
394 vesafb_defined.hsync_len = (vesafb_defined.xres / 8) & 0xf8;
H A Dclps711x-fb.c79 val = DIV_ROUND_UP(var->xres, 16) - 1;
83 val = DIV_ROUND_UP(var->yres * var->xres * var->bits_per_pixel, 128);
107 size = (info->var.xres * info->var.yres * info->var.bits_per_pixel) / 8;
123 info->fix.line_length = info->var.xres * info->var.bits_per_pixel / 8;
126 lcdcon = (info->var.xres * info->var.yres *
128 lcdcon |= ((info->var.xres / 16) - 1) << 13;
H A Dbroadsheetfb.c106 .xres = DPY_W,
784 int xres = par->info->var.xres; local
804 broadsheet_write_reg32(par, 0x310, xres*yres*2);
879 args[3] = cpu_to_le16(par->info->var.xres);
886 buf += y1 * par->info->var.xres;
887 broadsheet_burst_write(par, ((1 + y2 - y1) * par->info->var.xres)/2,
939 u16 xres = info->var.xres; local
942 h_inc = DIV_ROUND_UP(PAGE_SIZE , xres);
[all...]
H A Dsmscufx.c685 h_total = var->xres + var->right_margin + var->hsync_len + var->left_margin;
686 h_active = var->xres;
687 h_blank_start = var->xres + var->right_margin;
688 h_blank_end = var->xres + var->right_margin + var->hsync_len;
689 h_sync_start = var->xres + var->right_margin;
690 h_sync_end = var->xres + var->right_margin + var->hsync_len;
731 temp = var->xres * var->yres * 2;
841 cmd[10] = cpu_to_le16(0x4000 | dev->info->var.xres);
862 (x + width > dev->info->var.xres) ||
919 const int width = dev->info->var.xres;
[all...]
H A Dsunxvr1000.c90 var->xres = gp->width;
92 var->xres_virtual = var->xres;
H A Dep93xx-fb.c235 hclks_total = info->var.xres + info->var.left_margin +
283 ep93xxfb_writel(fbi, ((info->var.xres * info->var.bits_per_pixel)
299 var->xres = max_t(unsigned int, var->xres, EP93XXFB_MIN_XRES);
300 var->xres = min_t(unsigned int, var->xres, EP93XXFB_MAX_XRES);
301 var->xres_virtual = max(var->xres_virtual, var->xres);
559 info->var.xres, info->var.yres, info->var.bits_per_pixel);
H A Dsstfb.c355 int hSyncOff = var->xres + var->right_margin + var->left_margin;
388 if (var->xres <= 1 || yDim <= 0 || var->hsync_len <= 1 ||
396 tiles_in_X = (var->xres + 63 ) / 64 * 2;
398 if (var->xres > POW2(11) || yDim >= POW2(11)) {
400 var->xres, var->yres);
413 tiles_in_X = (var->xres + 63 ) / 64;
420 if (var->xres > POW2(10) || var->yres >= POW2(10)) {
422 var->xres, var->yres);
486 par->hSyncOff = info->var.xres + info->var.right_margin + info->var.left_margin;
508 par->tiles_in_X = (info->var.xres
[all...]
H A Dpxa168fb.c169 var->xres = mode->xres;
171 var->xres_virtual = max(var->xres, var->xres_virtual);
209 if (var->xoffset + var->xres > var->xres_virtual)
213 if (var->xres + var->right_margin +
392 x = v->xres + v->right_margin + v->hsync_len + v->left_margin;
424 writel((var->yres << 16) | var->xres,
445 writel((var->yres << 16) | var->xres,
447 writel((var->yres << 16) | var->xres,
574 var->xres_virtual = var->xres;
[all...]
H A Dimxfb.c366 * Round up in the following order: bits_per_pixel, xres,
379 if (var->xres < MIN_XRES)
380 var->xres = MIN_XRES;
388 var->xres = imxfb_mode->mode.xres;
399 var->xres_virtual = max(var->xres_virtual, var->xres);
615 pr_debug("var: xres=%d hslen=%d lm=%d rm=%d\n",
616 var->xres, var->hsync_len,
630 if (var->xres < 16 || var->xres > 102
[all...]
H A Dpxafb.c377 if (modelist[i].xres >= var->xres &&
379 modelist[i].xres < best_x &&
382 best_x = modelist[i].xres;
394 var->xres = mode->xres;
417 var->xres = max_t(int, var->xres, MIN_XRES);
430 line_length = var->xres * var->bits_per_pixel / 8;
432 var->xres
1858 unsigned int xres = 0, yres = 0, bpp = 0; local
[all...]
H A Dvga16fb.c67 .xres = 640,
331 u32 xres, right, hslen, left, xtotal; local
369 xres = (var->xres + 7) & ~7;
376 if (vxres < xres)
377 vxres = xres;
378 if (xres + xoffset > vxres)
379 xoffset = vxres - xres;
381 var->xres = xres;
[all...]
/linux-master/drivers/video/fbdev/geode/
H A Dgx1fb_core.c84 static int gx1_line_delta(int xres, int bpp) argument
86 int line_delta = xres * (bpp >> 3);
102 if (var->xres > 1280 || var->yres > 1024)
105 if (par->panel_x && (var->xres > par->panel_x || var->yres > par->panel_y))
123 if (gx1_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len)
140 info->fix.line_length = gx1_line_delta(info->var.xres, info->var.bits_per_pixel);
/linux-master/drivers/video/fbdev/i810/
H A Di810_main.c146 static int xres; variable
874 u32 xres, yres, vxres, vyres; local
880 xres = var->xres;
893 round_off_xres(&xres);
894 if (xres < 40)
895 xres = 40;
896 if (xres > 2048)
897 xres = 2048;
898 xres
1140 u32 xres, yres, vxres, vyres; local
[all...]
/linux-master/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb.h92 extern void mb862xxfb_init_accel(struct fb_info *info, struct fb_ops *fbops, int xres);
/linux-master/drivers/media/pci/ivtv/
H A Divtvfb.c75 /* Why upper, left, xres, yres, depth, laced ? To match terminology used
576 ivtv_window.width = var->xres;
600 var->xres, var->yres,
709 if (var->xres > IVTV_OSD_MAX_WIDTH || var->yres > osd_height_limit) {
711 var->xres, var->yres);
718 var->xres_virtual < var->xres ||
728 if (var->xres & 3) {
729 IVTVFB_DEBUG_WARN("Invalid resolution for 8bpp: %d\n", var->xres);
739 if (var->xres & 1) {
740 IVTVFB_DEBUG_WARN("Invalid resolution for 16bpp: %d\n", var->xres);
[all...]
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_intf.h20 u32 xres; /* Display panel width */ member in struct:dpu_hw_intf_timing_params
/linux-master/arch/sh/boards/mach-migor/
H A Dlcd_qvga.c115 unsigned long xres = 320; local
138 write_reg16(sohandle, so, 0x0053, xres - 1);
151 for (k = 0; k < (xres * 256); k++) /* yes, 256 words per line */
/linux-master/drivers/video/fbdev/core/
H A Dsvgalib.c174 pr_debug("fb%d: var.xres : %d\n", node, var->xres);
449 var->xres = (var->xres+7)&~7;
455 value = var->xres + var->left_margin + var->right_margin + var->hsync_len;
460 value = var->xres;
467 value = var->xres + var->right_margin;
519 value = var->xres + var->left_margin + var->right_margin + var->hsync_len;
524 value = var->xres;
529 value = var->xres;
[all...]
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c137 640,480,640,480,/* W,H, W, H (virtual) load xres,xres_virtual*/
449 int xres, int bpp)
457 case 0: return xres;
475 over = xres % rounding;
477 xres += rounding-over;
478 return xres;
481 static int matroxfb_pitch_adjust(const struct matrox_fb_info *minfo, int xres, argument
489 if (!bpp) return xres;
495 if ((*width >= xres) && (matroxfb_test_and_set_rounding(minfo, *width, bpp) == *width)) {
502 xres_new = matroxfb_test_and_set_rounding(minfo, xres, bp
448 matroxfb_test_and_set_rounding(const struct matrox_fb_info *minfo, int xres, int bpp) argument
1261 static unsigned int xres; /* "matroxfb:xres:xxxxx" */ variable
2197 static struct { int xres, yres, left, right, upper, lower, hslen, vslen, vfreq; } timmings[] __initdata = { member in struct:__anon1384
[all...]
/linux-master/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c381 var->xres_virtual = var->xres;
389 if (var->xres < xres_min)
390 var->xres = xres_min;
393 if (var->xres > xres_max)
394 var->xres = xres_max;
398 if (var->xres > var->xres_virtual)
399 var->xres = var->xres_virtual;
430 if (var->xres > var->xres_virtual)
431 var->xres = var->xres_virtual;
527 else if (vrfb->xres !
841 int xres, yres; local
[all...]
/linux-master/drivers/staging/fbtft/
H A Dfb_ra8875.c48 par->info->var.xres,
53 if ((par->info->var.xres == 320) && (par->info->var.yres == 240)) {
77 } else if ((par->info->var.xres == 480) &&
102 } else if ((par->info->var.xres == 640) &&
127 } else if ((par->info->var.xres == 800) &&

Completed in 419 milliseconds

12345678910