Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/linux-2.6.39/drivers/video/
Dc2p_iplan2.c48 static inline void store_iplan2(void *dst, u32 bpp, u32 d[4]) in store_iplan2() argument
52 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2()
61 static inline void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask) in store_iplan2_masked() argument
65 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2_masked()
86 u32 height, u32 dst_nextline, u32 src_nextline, u32 bpp) in c2p_iplan2() argument
96 dst += dy*dst_nextline+(dx & ~15)*bpp; in c2p_iplan2()
113 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
114 p += bpp*2; in c2p_iplan2()
125 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
126 p += bpp*2; in c2p_iplan2()
[all …]
Dsysimgblt.c58 int i, n, bpp = p->var.bits_per_pixel; in color_imageblit() local
59 u32 null_bits = 32 - bpp; in color_imageblit()
82 color <<= FB_LEFT_POS(p, bpp); in color_imageblit()
90 shift += bpp; in color_imageblit()
115 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local
118 u32 null_bits = 32 - bpp; in slow_imageblit()
124 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
125 bgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
153 shift += bpp; in slow_imageblit()
189 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local
[all …]
Dcfbimgblt.c83 int i, n, bpp = p->var.bits_per_pixel; in color_imageblit() local
84 u32 null_bits = 32 - bpp; in color_imageblit()
108 color <<= FB_LEFT_POS(p, bpp); in color_imageblit()
116 shift += bpp; in color_imageblit()
143 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local
146 u32 null_bits = 32 - bpp; in slow_imageblit()
153 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
154 bgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
182 shift += bpp; in slow_imageblit()
219 u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; in fast_imageblit() local
[all …]
Dc2p_planar.c48 static inline void store_planar(void *dst, u32 dst_inc, u32 bpp, u32 d[8]) in store_planar() argument
52 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar()
61 static inline void store_planar_masked(void *dst, u32 dst_inc, u32 bpp, in store_planar_masked() argument
66 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar_masked()
88 u32 src_nextline, u32 bpp) in c2p_planar() argument
113 store_planar_masked(p, dst_nextplane, bpp, d.words, in c2p_planar()
126 store_planar_masked(p, dst_nextplane, bpp, in c2p_planar()
136 store_planar(p, dst_nextplane, bpp, d.words); in c2p_planar()
146 store_planar_masked(p, dst_nextplane, bpp, in c2p_planar()
Dfb_draw.h24 pixel_to_pat( u32 bpp, u32 pixel) in pixel_to_pat() argument
26 switch (bpp) { in pixel_to_pat()
49 pixel_to_pat( u32 bpp, u32 pixel) in pixel_to_pat() argument
51 switch (bpp) { in pixel_to_pat()
144 unsigned bpp = info->var.bits_per_pixel; in fb_compute_bswapmask() local
146 if ((bpp < 8) && (info->var.nonstd & FB_NONSTD_REV_PIX_IN_B)) { in fb_compute_bswapmask()
151 bswapmask = 7 - bpp + 1; in fb_compute_bswapmask()
Dtridentfb.c57 static int bpp __devinitdata = 8;
75 module_param(bpp, int, 0);
183 static void blade_init_accel(struct tridentfb_par *par, int pitch, int bpp) in blade_init_accel() argument
186 int tmp = bpp == 24 ? 2 : (bpp >> 4); in blade_init_accel()
257 static void xp_init_accel(struct tridentfb_par *par, int pitch, int bpp) in xp_init_accel() argument
259 unsigned char x = bpp == 24 ? 3 : (bpp >> 4); in xp_init_accel()
260 int v1 = pitch << (bpp == 24 ? 20 : (18 + x)); in xp_init_accel()
262 switch (pitch << (bpp >> 3)) { in xp_init_accel()
355 static void image_init_accel(struct tridentfb_par *par, int pitch, int bpp) in image_init_accel() argument
357 int tmp = bpp == 24 ? 2: (bpp >> 4); in image_init_accel()
[all …]
Dsh7760fb.c125 u16 lddfr, int *bpp, int *gray) in sh7760fb_get_color_info() argument
160 if (bpp) in sh7760fb_get_color_info()
161 *bpp = lbpp; in sh7760fb_get_color_info()
173 int ret, bpp; in sh7760fb_check_var() local
176 ret = sh7760fb_get_color_info(info->dev, par->pd->lddfr, &bpp, NULL); in sh7760fb_check_var()
180 var->bits_per_pixel = bpp; in sh7760fb_check_var()
207 int ret, bpp, gray; in sh7760fb_set_par() local
228 ret = sh7760fb_get_color_info(info->dev, par->pd->lddfr, &bpp, &gray); in sh7760fb_set_par()
233 vdln, bpp, gray ? "grayscale" : "color", in sh7760fb_set_par()
273 stride *= (bpp + 7) >> 3; in sh7760fb_set_par()
[all …]
Dbfin_adv7393fb.h68 u16 bpp; member
170 .bpp = 16,
186 .bpp = 16,
202 .bpp = 16,
218 .bpp = 16,
234 .bpp = 16,
250 .bpp = 16,
Dsysfillrect.c248 u32 bpp = p->var.bits_per_pixel; in sys_fillrect() local
261 pat = pixel_to_pat( bpp, fg); in sys_fillrect()
265 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; in sys_fillrect()
267 left = bits % bpp; in sys_fillrect()
291 fill_op32(p, dst, dst_idx, pat, width*bpp, bits); in sys_fillrect()
301 left = bpp - right; in sys_fillrect()
303 right = bpp - left; in sys_fillrect()
321 r = dst_idx % bpp; in sys_fillrect()
323 pat2 = le_long_to_cpu(rolx(cpu_to_le_long(pat), r, bpp)); in sys_fillrect()
325 width*bpp, bits); in sys_fillrect()
Dpxafb.c246 int bpp = -EINVAL; in pxafb_var_to_bpp() local
249 case 1: bpp = 0; break; in pxafb_var_to_bpp()
250 case 2: bpp = 1; break; in pxafb_var_to_bpp()
251 case 4: bpp = 2; break; in pxafb_var_to_bpp()
252 case 8: bpp = 3; break; in pxafb_var_to_bpp()
253 case 16: bpp = 4; break; in pxafb_var_to_bpp()
256 case 18: bpp = 6; break; /* 18-bits/pixel packed */ in pxafb_var_to_bpp()
257 case 19: bpp = 8; break; /* 19-bits/pixel packed */ in pxafb_var_to_bpp()
258 case 24: bpp = 9; break; in pxafb_var_to_bpp()
263 case 18: bpp = 5; break; /* 18-bits/pixel unpacked */ in pxafb_var_to_bpp()
[all …]
Datafb.c149 short bpp; member
619 int bpp = var->bits_per_pixel; in tt_decode_var() local
624 if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2) in tt_decode_var()
629 bpp = 1; in tt_decode_var()
631 if (bpp > 8 || xres > sttt_xres || yres > tt_yres) in tt_decode_var()
633 if (bpp > 4) { in tt_decode_var()
639 bpp = 8; in tt_decode_var()
640 } else if (bpp > 2) { in tt_decode_var()
647 bpp = 4; in tt_decode_var()
652 bpp = 4; in tt_decode_var()
[all …]
Dcfbfillrect.c283 u32 bpp = p->var.bits_per_pixel; in cfb_fillrect() local
296 pat = pixel_to_pat(bpp, fg); in cfb_fillrect()
300 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; in cfb_fillrect()
302 left = bits % bpp; in cfb_fillrect()
327 fill_op32(p, dst, dst_idx, pat, width*bpp, bits, in cfb_fillrect()
338 left = bpp - right; in cfb_fillrect()
340 right = bpp - left; in cfb_fillrect()
357 r = dst_idx % bpp; in cfb_fillrect()
359 pat2 = le_long_to_cpu(rolx(cpu_to_le_long(pat), r, bpp)); in cfb_fillrect()
361 width*bpp, bits); in cfb_fillrect()
/linux-2.6.39/drivers/staging/msm/
Dmdp_dma_lcdc.c91 int bpp; in mdp_lcdc_on() local
115 bpp = fbi->var.bits_per_pixel / 8; in mdp_lcdc_on()
117 buf += fbi->var.xoffset * bpp + fbi->var.yoffset * fbi->fix.line_length; in mdp_lcdc_on()
126 if (bpp == 2) in mdp_lcdc_on()
128 else if (bpp == 3) in mdp_lcdc_on()
133 switch (mfd->panel_info.bpp) { in mdp_lcdc_on()
151 mfd->panel_info.bpp); in mdp_lcdc_on()
191 lcdc_bpp = mfd->panel_info.bpp; in mdp_lcdc_on()
323 int bpp; in mdp_lcdc_update() local
337 bpp = fbi->var.bits_per_pixel / 8; in mdp_lcdc_update()
[all …]
Dmdp_dma_tv.c48 int bpp; in mdp_dma3_on() local
63 bpp = fbi->var.bits_per_pixel / 8; in mdp_dma3_on()
65 buf += fbi->var.xoffset * bpp + in mdp_dma3_on()
117 int bpp; in mdp_dma3_update() local
124 bpp = fbi->var.bits_per_pixel / 8; in mdp_dma3_update()
126 buf += fbi->var.xoffset * bpp + in mdp_dma3_update()
Dmdp4_overlay_mddi.c50 int bpp, ptype; in mdp4_overlay_update_lcd() local
61 bpp = iBuf->bpp; in mdp4_overlay_update_lcd()
63 if (bpp == 2) in mdp4_overlay_update_lcd()
65 else if (bpp == 3) in mdp4_overlay_update_lcd()
123 pipe->srcp0_ystride = fbi->var.xres_virtual * bpp; in mdp4_overlay_update_lcd()
142 pipe->srcp0_ystride = fbi->var.xres_virtual * bpp; in mdp4_overlay_update_lcd()
145 src += (iBuf->dma_x + iBuf->dma_y * iBuf->ibuf_width) * bpp; in mdp4_overlay_update_lcd()
158 pipe->srcp0_ystride = iBuf->ibuf_width * bpp; in mdp4_overlay_update_lcd()
Dmdp4_overlay_lcdc.c84 int bpp, ptype; in mdp_lcdc_on() local
106 bpp = fbi->var.bits_per_pixel / 8; in mdp_lcdc_on()
108 buf += fbi->var.xoffset * bpp + in mdp_lcdc_on()
111 if (bpp == 2) in mdp_lcdc_on()
113 else if (bpp == 3) in mdp_lcdc_on()
168 lcdc_bpp = mfd->panel_info.bpp; in mdp_lcdc_on()
280 int bpp; in mdp4_lcdc_overlay() local
288 bpp = fbi->var.bits_per_pixel / 8; in mdp4_lcdc_overlay()
290 buf += fbi->var.xoffset * bpp + in mdp4_lcdc_overlay()
/linux-2.6.39/Documentation/fb/
Darkfb.txt19 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
20 * 8 bpp pseudocolor mode (with 18bit palette)
21 * 16 bpp truecolor modes (RGB 555 and RGB 565)
22 * 24 bpp truecolor mode (RGB 888)
23 * 32 bpp truecolor mode (RGB 888)
24 * text mode (activated by bpp = 0)
36 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
54 * support for fontwidths != 8 in 4 bpp modes
Ds3fb.txt26 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
27 * 8 bpp pseudocolor mode (with 18bit palette)
28 * 16 bpp truecolor modes (RGB 555 and RGB 565)
29 * 24 bpp truecolor mode (RGB 888) on (only on Virge VX)
30 * 32 bpp truecolor mode (RGB 888) on (not on Virge VX)
31 * text mode (activated by bpp = 0)
45 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
62 * 24 bpp mode support on more cards
63 * support for fontwidths != 8 in 4 bpp modes
Dvt8623fb.txt18 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
19 * 8 bpp pseudocolor mode (with 18bit palette)
20 * 16 bpp truecolor mode (RGB 565)
21 * 32 bpp truecolor mode (RGB 888)
22 * text mode (activated by bpp = 0)
33 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
49 * support for fontwidths != 8 in 4 bpp modes
/linux-2.6.39/arch/m68k/include/asm/
Dmac_via.h257 static inline int rbv_set_video_bpp(int bpp) in rbv_set_video_bpp() argument
259 char val = (bpp==1)?0:(bpp==2)?1:(bpp==4)?2:(bpp==8)?3:-1; in rbv_set_video_bpp()
/linux-2.6.39/drivers/video/omap/
Dlcdc.c62 int bpp; member
200 xelem = lcdc.xres * lcdc.bpp / 8 / esize; in setup_lcd_dma()
210 xelem = lcdc.yres * lcdc.bpp / 16; in setup_lcd_dma()
224 int bpp = lcdc.bpp; in setup_lcd_dma() local
231 bpp = 16; in setup_lcd_dma()
234 lcdc.screen_width * bpp / 8 / esize); in setup_lcd_dma()
326 lcdc.bpp = 8; in omap_lcdc_setup_plane()
331 lcdc.bpp = 16; in omap_lcdc_setup_plane()
336 lcdc.bpp = 16; in omap_lcdc_setup_plane()
342 lcdc.bpp = 12; in omap_lcdc_setup_plane()
[all …]
/linux-2.6.39/include/linux/sunrpc/
Dcache.h209 extern void qword_add(char **bpp, int *lp, char *str);
210 extern void qword_addhex(char **bpp, int *lp, char *buf, int blen);
211 extern int qword_get(char **bpp, char *dest, int bufsize);
213 static inline int get_int(char **bpp, int *anint) in get_int() argument
218 int len = qword_get(bpp, buf, 50); in get_int()
246 static inline time_t get_expiry(char **bpp) in get_expiry() argument
251 if (get_int(bpp, &rv)) in get_expiry()
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnouveau_calc.c45 int bpp; member
56 int pagemiss, cas, width, bpp; in nv04_calc_arb() local
69 bpp = arb->bpp; in nv04_calc_arb()
86 crtc_drain_rate = pclk_freq * bpp / 8; in nv04_calc_arb()
96 p1 = p1 * bpp / 8; in nv04_calc_arb()
126 drain_rate = pclk_freq * arb->bpp / 8; /* kB/s */ in nv10_calc_arb()
163 + (arb->bpp == 32 ? 8 : 4); /* Margin of error. */ in nv10_calc_arb()
195 nv04_update_arb(struct drm_device *dev, int VClk, int bpp, in nv04_update_arb() argument
208 sim_data.bpp = bpp; in nv04_update_arb()
250 nouveau_calc_arb(struct drm_device *dev, int vclk, int bpp, int *burst, int *lwm) in nouveau_calc_arb() argument
[all …]
/linux-2.6.39/arch/arm/plat-versatile/
Dclcd.c28 .bpp = 16,
52 .bpp = 16,
77 .bpp = 16,
101 .bpp = 16,
126 .bpp = 16,
/linux-2.6.39/arch/arm/mach-vt8500/
Ddevices.c159 (p->bpp > 16 ? 0 : (p->bpp > 8 ? 1 : in preallocate_fb()
160 (8 / p->bpp) + 1)); in preallocate_fb()
257 panels[current_panel_idx].bpp = 16; /* Always use RGB565 */ in vt8500_reserve_mem()
266 panels[current_panel_idx].bpp = 32; /* Always use RGB888 */ in wm8505_reserve_mem()

12345678910>>...16