Lines Matching refs:p

35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx,  in bitfill_aligned()  argument
43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitfill_aligned()
44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned()
92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, in bitfill_unaligned() argument
100 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned()
101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
146 bitfill_aligned_rev(struct fb_info *p, unsigned long __iomem *dst, in bitfill_aligned_rev() argument
156 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitfill_aligned_rev()
157 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned_rev()
217 bitfill_unaligned_rev(struct fb_info *p, unsigned long __iomem *dst, in bitfill_unaligned_rev() argument
226 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned_rev()
227 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned_rev()
278 void cfb_fillrect(struct fb_info *p, const struct fb_fillrect *rect) in cfb_fillrect() argument
283 u32 bpp = p->var.bits_per_pixel; in cfb_fillrect()
287 if (p->state != FBINFO_STATE_RUNNING) in cfb_fillrect()
290 if (p->fix.visual == FB_VISUAL_TRUECOLOR || in cfb_fillrect()
291 p->fix.visual == FB_VISUAL_DIRECTCOLOR ) in cfb_fillrect()
292 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in cfb_fillrect()
298 dst = (unsigned long __iomem *)((unsigned long)p->screen_base & ~(bytes-1)); in cfb_fillrect()
299 dst_idx = ((unsigned long)p->screen_base & (bytes - 1))*8; in cfb_fillrect()
300 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; in cfb_fillrect()
303 if (p->fbops->fb_sync) in cfb_fillrect()
304 p->fbops->fb_sync(p); in cfb_fillrect()
306 u32 bswapmask = fb_compute_bswapmask(p); in cfb_fillrect()
307 void (*fill_op32)(struct fb_info *p, in cfb_fillrect()
327 fill_op32(p, dst, dst_idx, pat, width*bpp, bits, in cfb_fillrect()
329 dst_idx += p->fix.line_length*8; in cfb_fillrect()
333 void (*fill_op)(struct fb_info *p, unsigned long __iomem *dst, in cfb_fillrect()
360 fill_op(p, dst, dst_idx, pat2, left, right, in cfb_fillrect()
362 dst_idx += p->fix.line_length*8; in cfb_fillrect()