Lines Matching refs:dst_idx

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()
46 if (dst_idx+n <= bits) { in bitfill_aligned()
58 n -= bits - dst_idx; 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()
103 if (dst_idx+n <= bits) { in bitfill_unaligned()
115 n -= bits - dst_idx; in bitfill_unaligned()
147 int dst_idx, unsigned long pat, unsigned n, int bits, 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()
159 if (dst_idx+n <= bits) { in bitfill_aligned_rev()
172 n -= bits - dst_idx; in bitfill_aligned_rev()
218 int dst_idx, unsigned long pat, int left, int right, 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()
229 if (dst_idx+n <= bits) { in bitfill_unaligned_rev()
244 n -= bits - dst_idx; in bitfill_unaligned_rev()
285 int dst_idx, left; in cfb_fillrect() local
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()
308 unsigned long __iomem *dst, int dst_idx, in cfb_fillrect()
325 dst += dst_idx >> (ffs(bits) - 1); in cfb_fillrect()
326 dst_idx &= (bits - 1); 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()
334 int dst_idx, unsigned long pat, int left, in cfb_fillrect()
355 dst += dst_idx / bits; in cfb_fillrect()
356 dst_idx &= (bits - 1); in cfb_fillrect()
357 r = dst_idx % bpp; 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()