/linux-master/drivers/video/fbdev/ |
H A D | vt8500lcdfb.c | 42 int reg_bpp = 5; /* 16bpp */ 277 u32 bpp; local 346 ret = of_property_read_u32(pdev->dev.of_node, "bits-per-pixel", &bpp); 351 fb_mem_len = of_mode.xres * of_mode.yres * 2 * (bpp / 8); 400 fbi->fb.var.bits_per_pixel = bpp;
|
H A D | stifb.c | 42 * - 1bpp mode is completely untested 50 * #define FALLBACK_TO_1BPP to fall back to 1 bpp, or 1194 int bpp, xres, yres; local 1241 /* default to 8 bpp on most graphic chips */ 1242 bpp = 8; 1276 bpp = 32; 1289 bpp = bpp_pref; 1291 bpp = 32; 1293 bpp = 8; 1304 "- now trying 1bpp mod [all...] |
H A D | tridentfb.c | 65 static int bpp = 8; variable 83 module_param(bpp, int, 0); 305 static void blade_init_accel(struct tridentfb_par *par, int pitch, int bpp) argument 308 int tmp = bpp == 24 ? 2 : (bpp >> 4); 379 static void xp_init_accel(struct tridentfb_par *par, int pitch, int bpp) argument 381 unsigned char x = bpp == 24 ? 3 : (bpp >> 4); 382 int v1 = pitch << (bpp == 24 ? 20 : (18 + x)); 384 switch (pitch << (bpp >> 477 image_init_accel(struct tridentfb_par *par, int pitch, int bpp) argument 543 tgui_init_accel(struct tridentfb_par *par, int pitch, int bpp) argument 994 int bpp = var->bits_per_pixel; local 1137 int bpp = var->bits_per_pixel; local 1364 int bpp = info->var.bits_per_pixel; local [all...] |
H A D | tdfxfb.c | 26 * (proper acceleration, 24 bpp, hardware cursor) and bug fixes by Attila 96 /* "640x480, 8 bpp @ 60 Hz */ 277 * Set the color of a palette entry in 8bpp mode 848 u32 bpp = info->var.bits_per_pixel; local 850 u32 fmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); 868 dstbase += dx * bpp >> 3; 892 u32 bpp = info->var.bits_per_pixel; local 895 u32 fmt = stride | ((bpp + ((bpp 951 u32 bpp = info->var.bits_per_pixel; local [all...] |
H A D | i740fb.c | 209 static u32 i740_calc_fifo(struct i740fb_par *par, u32 freq, int bpp) argument 221 switch (bpp) { 403 u32 bpp, base, dacspeed24, mem, freq; local 409 dev_dbg(info->device, " xoff: %i, yoff: %i, bpp: %i, graysc: %i\n", 421 bpp = var->bits_per_pixel; 422 switch (bpp) { 424 bpp = 8; 426 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 8bpp)\n", 432 bpp = 15; 436 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 15/16bpp)\ [all...] |
H A D | wm8505fb.c | 271 u32 bpp; local 314 ret = of_property_read_u32(pdev->dev.of_node, "bits-per-pixel", &bpp); 327 fb_mem_len = mode.xres * mode.yres * 2 * (bpp / 8); 337 fbi->fb.var.bits_per_pixel = bpp;
|
H A D | vfb.c | 96 static u_long get_line_length(int xres_virtual, int bpp) argument 100 length = xres_virtual * bpp;
|
H A D | sm712fb.c | 1169 vgamode[j].bpp != sfb->fb->var.bits_per_pixel || 1174 "vgamode[j].mmsizex=%d vgamode[j].mmSizeY=%d vgamode[j].bpp=%d vgamode[j].hz=%d\n", 1176 vgamode[j].bpp, vgamode[j].hz); 1333 /* set valid default bpp */ 1612 /* can support 32 bpp */
|
H A D | sa1100fb.c | 58 * resolutions are working, but only the 8bpp mode is supported. 60 * to support 4 and 16 bpp modes. 110 * - Fix 16bpp so that (a) we use the right colours rather than some 135 * - Make the palette BPS value for 12bpp come out correctly. 149 * - Drop 12bpp (it's 16bpp with different colour register mappings). 526 * 12 and 16 bpp modes don't really use the palette, so this will not 750 * clear LDD15 to 12 for 4 or 8bpp modes with active 1114 fbi->fb.var.bits_per_pixel = inf->bpp; 1127 inf->bpp / [all...] |
H A D | sbuslib.c | 21 int bpp) 29 var->bits_per_pixel = bpp; 20 sbusfb_fill_var(struct fb_var_screeninfo *var, struct device_node *dp, int bpp) argument
|
H A D | imxfb.c | 46 unsigned char bpp; member in struct:imx_fb_videomode 390 var->bits_per_pixel = imxfb_mode->bpp; 748 u32 bpp; local 761 ret = of_property_read_u32(np, "bits-per-pixel", &bpp); 765 dev_err(dev, "Failed to read bpp and pcr from DT\n"); 769 if (bpp < 1 || bpp > 255) { 774 imxfb_mode->bpp = bpp; 951 * be the same as m->bpp/ [all...] |
H A D | au1100fb.c | 83 /* The last is used to describe 12bpp format */ 459 (fbdev->panel->bpp >> 3) * AU1100FB_NBR_VIDEO_BUFFERS; 477 au1100fb_var.bits_per_pixel = fbdev->panel->bpp;
|
/linux-master/drivers/video/fbdev/sis/ |
H A D | sis_main.c | 1233 (sisbios_mode[ivideo->sisfb_mode_idx].bpp == var->bits_per_pixel)) { 1284 ivideo->video_bpp = sisbios_mode[ivideo->sisfb_mode_idx].bpp; 1341 /* calculate base bpp dep. */ 1472 (sisbios_mode[search_idx].bpp == var->bits_per_pixel)) { 1488 (var->bits_per_pixel == sisbios_mode[search_idx].bpp) ) { 6354 sisbios_mode[bu].bpp); 6394 ivideo->video_bpp = sisbios_mode[ivideo->sisfb_mode_idx].bpp;
|
/linux-master/include/xen/interface/io/ |
H A D | displif.h | 439 * | bpp | 28 471 * bpp - uint32_t, bits per pixel 501 uint32_t bpp; member in struct:xendispl_dbuf_create_req 674 * | bpp | 40 694 * bpp - uint32_t, bits per pixel 703 uint32_t bpp; member in struct:xendispl_set_config_req
|
/linux-master/drivers/usb/gadget/function/ |
H A D | uvc_v4l2.c | 227 fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; 288 video->bpp = fmt->fmt.pix.bytesperline * 8 / video->width;
|
H A D | uvc.h | 95 u8 bpp; member in struct:uvc_video
|
/linux-master/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_dp.c | 365 cdv_intel_dp_link_required(int pixel_clock, int bpp) argument 367 return (pixel_clock * bpp + 7) / 8; 526 (cdv_intel_dp_link_required(mode->clock, dev_priv->edp.bpp) 902 int bpp = 24; local 907 bpp = dev_priv->edp.bpp; 914 if (cdv_intel_dp_link_required(refclock, bpp) <= link_avail) { 966 cdv_intel_dp_compute_m_n(int bpp, argument 973 m_n->gmch_m = (pixel_clock * bpp + 7) >> 3; 990 int lane_count = 4, bpp local [all...] |
/linux-master/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-main.c | 319 /* then try exact match of bpp and colors */ 329 /* match with bpp if user has not filled color fields 636 /* 12bpp is stored in 16 bits */ 1130 * palette if one is available. For now we support only 16bpp and thus store 1776 "bpp\n"); 1999 struct omap_video_timings *timings, u8 *bpp) 2009 *bpp = 24; 2013 *bpp = 24; 2021 *bpp = 0; 2079 *bpp 1997 omapfb_mode_to_timings(const char *mode_str, struct omap_dss_device *display, struct omap_video_timings *timings, u8 *bpp) argument 2102 u8 bpp; local [all...] |
/linux-master/drivers/video/fbdev/omap/ |
H A D | omapfb_main.c | 141 int bpp = panel->bpp; local 143 /* 12 bpp is packed in 16 bits */ 144 if (bpp == 12) 145 bpp = 16; 146 def_size = def_vxres * def_vyres * bpp / 8; 232 * palette if one is available. For now we support only 16bpp and thus store 372 int bpp; local 388 bpp = var->bits_per_pixel; 395 /* 12bpp i 465 int bpp; local [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | sysimgblt.c | 58 int i, n, bpp = p->var.bits_per_pixel; local 59 u32 null_bits = 32 - bpp; 82 color <<= FB_LEFT_POS(p, bpp); 90 shift += bpp; 115 u32 shift, color = 0, bpp = p->var.bits_per_pixel; local 118 u32 null_bits = 32 - bpp; 124 fgcolor <<= FB_LEFT_POS(p, bpp); 125 bgcolor <<= FB_LEFT_POS(p, bpp); 153 shift += bpp; 189 u32 fgx = fgcolor, bgx = bgcolor, bpp local 217 fgx <<= bpp; local 218 bgx <<= bpp; local 291 u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; local [all...] |
H A D | sysfillrect.c | 238 u32 bpp = p->var.bits_per_pixel; local 254 pat = pixel_to_pat( bpp, fg); 258 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; 259 /* FIXME For now we support 1-32 bpp only */ 260 left = bits % bpp; 284 fill_op32(p, dst, dst_idx, pat, width*bpp, bits); 294 left = bpp - right; 296 right = bpp - left; 314 r = dst_idx % bpp; 316 pat2 = le_long_to_cpu(rolx(cpu_to_le_long(pat), r, bpp)); [all...] |
H A D | cfbimgblt.c | 83 int i, n, bpp = p->var.bits_per_pixel; local 84 u32 null_bits = 32 - bpp; 108 color <<= FB_LEFT_POS(p, bpp); 116 shift += bpp; 143 u32 shift, color = 0, bpp = p->var.bits_per_pixel; local 146 u32 null_bits = 32 - bpp; 153 fgcolor <<= FB_LEFT_POS(p, bpp); 154 bgcolor <<= FB_LEFT_POS(p, bpp); 182 shift += bpp; 219 u32 fgx = fgcolor, bgx = bgcolor, bpp local 247 fgx <<= bpp; local 248 bgx <<= bpp; local 321 u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; local [all...] |
H A D | cfbfillrect.c | 283 u32 bpp = p->var.bits_per_pixel; local 299 pat = pixel_to_pat(bpp, fg); 303 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; 304 /* FIXME For now we support 1-32 bpp only */ 305 left = bits % bpp; 330 fill_op32(p, dst, dst_idx, pat, width*bpp, bits, 341 left = bpp - right; 343 right = bpp - left; 360 r = dst_idx % bpp; 362 pat2 = le_long_to_cpu(rolx(cpu_to_le_long(pat), r, bpp)); [all...] |
/linux-master/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_capture.c | 92 address += info->bpp[0] * width_aligned * height; 99 address += info->bpp[1] * 132 stride_luma = width * info->bpp[0]; 136 stride_chroma = width * info->bpp[1] / info->hdiv; 404 pix_format->bytesperline = width_aligned * info->bpp[0]; 411 pix_format->sizeimage += info->bpp[i] *
|
/linux-master/drivers/staging/media/starfive/camss/ |
H A D | stf-video.c | 86 bpl = pix->width * fi->bpp / 8;
|