/linux-master/drivers/video/fbdev/via/ |
H A D | via_utility.c | 36 bool viafb_lcd_get_support_expand_state(u32 xres, u32 yres) argument 42 if ((xres < 640) && (yres < 480)) 47 if ((xres < 800) && (yres < 600)) 52 if ((xres < 1024) && (yres < 768)) 57 if ((xres < 1280) && (yres < 768)) 62 if ((xres < 1280) && (yres < 1024)) 67 if ((xres < 1400) && (yres < 1050)) 72 if ((xres < 1600) && (yres < 1200)) 77 if ((xres < 1366) && (yres < 768)) 82 if ((xres < 102 [all...] |
H A D | via_utility.h | 13 bool viafb_lcd_get_support_expand_state(u32 xres, u32 yres);
|
/linux-master/include/linux/platform_data/ |
H A D | video_s3c.h | 14 * @xres : The window X size. 22 unsigned short xres; member in struct:s3c_fb_pd_win
|
H A D | cyttsp4.h | 46 int (*xres)(struct cyttsp4_core_platform_data *pdata, member in struct:cyttsp4_core_platform_data
|
/linux-master/drivers/staging/fbtft/ |
H A D | fb_sh1106.c | 23 if (!par->info->var.xres || par->info->var.xres > WIDTH || 114 u32 xres = par->info->var.xres; local 119 page_start = offset / (8 * 2 * xres); 120 page_end = DIV_ROUND_UP(offset + len, 8 * 2 * xres); 126 memset(buf, 0, xres); 127 for (x = 0; x < xres; x++) 129 if (vmem16[(page * 8 + i) * xres + x]) 133 ret = fbtft_write_buf_dc(par, buf, xres, [all...] |
H A D | fb_agm1264k-fl.c | 235 if (src[(y * 8 + i) * par->info->var.xres + x]) 245 static void iterate_diffusion_matrix(u32 xres, u32 yres, int x, argument 259 if (x + i < 0 || x + i >= xres || y + j >= yres) 261 write_pos = &convert_buf[(y + j) * xres + x + i]; 286 signed short *convert_buf = kmalloc_array(par->info->var.xres * 293 for (x = 0; x < par->info->var.xres; ++x) 295 u16 pixel = vmem16[y * par->info->var.xres + x]; 305 convert_buf[y * par->info->var.xres + x] = 310 for (x = 0; x < par->info->var.xres; ++x) 313 convert_buf[y * par->info->var.xres [all...] |
H A D | fb_ssd1306.c | 145 if (par->info->var.xres == 64 && par->info->var.yres == 48) 177 u32 xres = par->info->var.xres; local 183 for (x = 0; x < xres; x++) { 187 if (vmem16[(y * 8 + i) * xres + x]) 195 ret = par->fbtftops.write(par, par->txbuf.buf, xres * yres / 8);
|
/linux-master/drivers/video/fbdev/omap/ |
H A D | lcd_dma.c | 60 int rotate, data_type, xres, yres; member in struct:lcd_dma_info 74 lcd_dma.xres = fb_xres; 158 vxres = lcd_dma.vxres ? lcd_dma.vxres : lcd_dma.xres; 161 BUG_ON(vxres < lcd_dma.xres); 171 bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); 178 fi = PIXSTEP(lcd_dma.xres - 1, 0, 0, 1); 180 top = PIXADDR(lcd_dma.xres - 1, 0); 183 fi = PIXSTEP(0, 0, lcd_dma.xres - 1, 1); 185 en = lcd_dma.xres; 191 bottom = PIXADDR(lcd_dma.xres [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | fbcvt.c | 36 u32 xres; member in struct:fb_cvt_data 190 u32 xres = cvt->xres; local 194 if (xres == (yres * 4)/3 && !((yres * 4) % 3)) 196 else if (xres == (yres * 16)/9 && !((yres * 16) % 9)) 198 else if (xres == (yres * 16)/10 && !((yres * 16) % 10)) 200 else if (xres == (yres * 5)/4 && !((yres * 5) % 4)) 202 else if (xres == (yres * 15)/9 && !((yres * 15) % 9)) 225 pixcount = (cvt->xres * (cvt->yres/cvt->interlace))/1000000; 226 pixcount_mod = (cvt->xres * (cv [all...] |
H A D | modedb.c | 24 ((v).xres == (x) && (v).yres == (y)) 554 mode->xres, mode->yres, bpp, mode->refresh); 555 var->xres = mode->xres; 557 var->xres_virtual = mode->xres; 595 * <xres>x<yres>[M][R][-<bpp>][@<refresh>][i][p][m] 601 * with <xres>, <yres>, <bpp> and <refresh> decimal numbers and 609 * to 1.8% of xres rounded down to 8 pixels, and 1.8% of yres. The char 652 unsigned int xres = 0, yres = 0, bpp = default_bpp, refresh = 0; local 722 xres [all...] |
/linux-master/arch/powerpc/include/uapi/asm/ |
H A D | ps3fb.h | 39 __u32 xres; /* frame buffer x_size */ member in struct:ps3fb_ioctl_res
|
/linux-master/drivers/video/fbdev/i810/ |
H A D | i810_main.h | 18 extern void round_off_xres (u32 *xres); 19 extern void round_off_yres (u32 *xres, u32 *yres); 23 struct i810fb_par *par, u32 xres, u32 yres);
|
H A D | i810_dvt.c | 195 void round_off_xres(u32 *xres) argument 197 if (*xres <= 640) 198 *xres = 640; 199 else if (*xres <= 800) 200 *xres = 800; 201 else if (*xres <= 1024) 202 *xres = 1024; 203 else if (*xres <= 1152) 204 *xres = 1152; 205 else if (*xres < 211 round_off_yres(u32 *xres, u32 *yres) argument 216 i810fb_find_best_mode(u32 xres, u32 yres, u32 pixclock) argument 234 i810fb_encode_registers(const struct fb_var_screeninfo *var, struct i810fb_par *par, u32 xres, u32 yres) argument 248 u32 total, xres, yres; local [all...] |
H A D | i810_gtf.c | 112 void round_off_xres(u32 *xres) { } argument 113 void round_off_yres(u32 *xres, u32 *yres) { } argument 125 struct i810fb_par *par, u32 xres, u32 yres) 133 n = ((xres + var->right_margin + var->hsync_len + 138 /* xres */ 139 par->regs.cr01 = (u8) ((xres >> 3) - 1); 142 blank_e = (xres + var->right_margin + var->hsync_len + 146 if (blank_s < (xres >> 3)) 147 blank_s = xres >> 3; 154 par->regs.cr04 = (u8) ((xres 124 i810fb_encode_registers(const struct fb_var_screeninfo *var, struct i810fb_par *par, u32 xres, u32 yres) argument [all...] |
/linux-master/lib/fonts/ |
H A D | fonts.c | 97 * @xres: screen size of X 111 const struct font_desc *get_default_font(int xres, int yres, argument 129 if (MACH_IS_MAC && xres < 640 && f->idx == VGA6x11_IDX) 137 res = (xres / f->width) * (yres / f->height) / 1000;
|
/linux-master/drivers/video/fbdev/ |
H A D | atafb.c | 318 * Round up in the following order: bits_per_pixel, xres, yres, 336 * if yres_virtual > yres or xres_virtual > xres. 399 0, 0, 0, 0, 0, 0, 0, 0, /* xres-grayscale */ 581 int xres = var->xres; local 588 if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2) 591 xres = sttt_xres * 2; 595 if (bpp > 8 || xres > sttt_xres || yres > tt_yres) 598 if (xres > sttt_xres / 2 || yres > tt_yres) 601 xres 884 int xres = var->xres; local 1801 int xres = var->xres; local 2723 int xres, xres_virtual, yres, depth, planes; local 2852 int xres; local 2916 int xres, yres, depth, temp; local [all...] |
H A D | macmodes.c | 271 var->xres = mode->xres; 273 var->xres_virtual = mode->xres; 324 if (var->xres > mode->xres || var->yres > mode->yres) 326 if (var->xres_virtual > mode->xres || var->yres_virtual > mode->yres) 342 if (mode->xres != clk_mode->xres || mode->yres != clk_mode->yres)
|
H A D | g364fb.c | 133 *(unsigned int *) TOP_REG = var->yoffset * info->var.xres; 185 fb_var.xres = 208 fb_var.xres_virtual = fb_var.xres; 214 fb_var.yres_virtual = fb_fix.smem_len / fb_var.xres;
|
H A D | goldfishfb.c | 92 if ((var->xres != info->var.yres) || 93 (var->yres != info->var.xres) || 95 (var->yres_virtual > info->var.xres * 2) || 96 (var->yres_virtual < info->var.xres)) { 100 if ((var->xres != info->var.xres) || 102 (var->xres_virtual != info->var.xres) || 121 info->fix.line_length = info->var.xres * 2; 138 writel(fb->fb.fix.smem_start + fb->fb.var.xres * 2 * var->yoffset, 220 fb->fb.var.xres [all...] |
/linux-master/arch/arm/mach-pxa/ |
H A D | am200epd.c | 47 .xres = 1200, 61 .xres = 1088, 75 .xres = 832, 150 if ((info->var.xres != am200_fb_info.modes->xres) 228 fw = am200_fb_info.modes->xres; 250 am200_fb_info.modes->xres /= 2;
|
/linux-master/include/video/ |
H A D | sa1100fb.h | 34 u_short xres; member in struct:sa1100fb_mach_info
|
/linux-master/drivers/video/fbdev/geode/ |
H A D | display_gx.c | 51 int gx_line_delta(int xres, int bpp) argument 54 return (xres * (bpp >> 3) + 7) & ~0x7; 104 ((info->var.xres * info->var.bits_per_pixel/8) >> 3) + 2); 129 hactive = info->var.xres;
|
/linux-master/include/linux/ |
H A D | font.h | 59 extern const struct font_desc *get_default_font(int xres, int yres,
|
/linux-master/arch/sparc/kernel/ |
H A D | ioport.c | 81 struct resource xres; /* Must be first */ member in struct:xresource 170 struct xresource *xres; local 178 if ((xres = xres_alloc()) != NULL) { 179 tack = xres->xname; 180 res = &xres->xres;
|
/linux-master/drivers/video/fbdev/aty/ |
H A D | radeon_monitor.c | 9 .xres = 640, 186 rinfo->panel_info.xres = BIOS_IN16(tmp + 25); 189 rinfo->panel_info.xres, rinfo->panel_info.yres); 216 if ((BIOS_IN16(tmp0) == rinfo->panel_info.xres) && 688 rinfo->panel_info.xres = var->xres; 715 var->xres = mode->xres; 717 var->xres_virtual = mode->xres; 782 if (var.xres > [all...] |