Lines Matching refs:p
25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_aligned() argument
33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_aligned()
34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned()
71 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_unaligned() argument
79 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned()
80 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
125 bitfill_aligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_aligned_rev() argument
134 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_aligned_rev()
135 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned_rev()
181 bitfill_unaligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_unaligned_rev() argument
190 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned_rev()
191 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned_rev()
233 void sys_fillrect(struct fb_info *p, const struct fb_fillrect *rect) in sys_fillrect() argument
238 u32 bpp = p->var.bits_per_pixel; in sys_fillrect()
242 if (p->state != FBINFO_STATE_RUNNING) in sys_fillrect()
245 if (p->fix.visual == FB_VISUAL_TRUECOLOR || in sys_fillrect()
246 p->fix.visual == FB_VISUAL_DIRECTCOLOR ) in sys_fillrect()
247 fg = ((u32 *) (p->pseudo_palette))[rect->color]; in sys_fillrect()
253 dst = (unsigned long *)((unsigned long)p->screen_base & ~(bytes-1)); in sys_fillrect()
254 dst_idx = ((unsigned long)p->screen_base & (bytes - 1))*8; in sys_fillrect()
255 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; in sys_fillrect()
258 if (p->fbops->fb_sync) in sys_fillrect()
259 p->fbops->fb_sync(p); in sys_fillrect()
261 void (*fill_op32)(struct fb_info *p, unsigned long *dst, in sys_fillrect()
281 fill_op32(p, dst, dst_idx, pat, width*bpp, bits); in sys_fillrect()
282 dst_idx += p->fix.line_length*8; in sys_fillrect()
286 void (*fill_op)(struct fb_info *p, unsigned long *dst, in sys_fillrect()
314 fill_op(p, dst, dst_idx, pat2, left, right, in sys_fillrect()
316 dst_idx += p->fix.line_length*8; in sys_fillrect()