Lines Matching refs:dst_idx
35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx,
43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask);
44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask);
46 if (dst_idx+n <= bits) {
58 n -= bits - dst_idx;
92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx,
100 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx);
101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits));
103 if (dst_idx+n <= bits) {
115 n -= bits - dst_idx;
147 int dst_idx, unsigned long pat, unsigned n, int bits,
156 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask);
157 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask);
159 if (dst_idx+n <= bits) {
172 n -= bits - dst_idx;
218 int dst_idx, unsigned long pat, int left, int right,
226 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx);
227 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits));
229 if (dst_idx+n <= bits) {
244 n -= bits - dst_idx;
285 int dst_idx, left;
302 dst_idx = ((unsigned long)p->screen_base & (bytes - 1))*8;
303 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp;
311 unsigned long __iomem *dst, int dst_idx,
328 dst += dst_idx >> (ffs(bits) - 1);
329 dst_idx &= (bits - 1);
330 fill_op32(p, dst, dst_idx, pat, width*bpp, bits,
332 dst_idx += p->fix.line_length*8;
337 int dst_idx, unsigned long pat, int left,
358 dst += dst_idx / bits;
359 dst_idx &= (bits - 1);
360 r = dst_idx % bpp;
363 fill_op(p, dst, dst_idx, pat2, left, right,
365 dst_idx += p->fix.line_length*8;