• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/

Lines Matching refs:dst_idx

39 bitfill_aligned(unsigned long __iomem *dst, int dst_idx, unsigned long pat, unsigned n, int bits)
46 first = FB_SHIFT_HIGH(~0UL, dst_idx);
47 last = ~(FB_SHIFT_HIGH(~0UL, (dst_idx+n) % bits));
49 if (dst_idx+n <= bits) {
61 n -= bits - dst_idx;
95 bitfill_unaligned(unsigned long __iomem *dst, int dst_idx, unsigned long pat,
103 first = FB_SHIFT_HIGH(~0UL, dst_idx);
104 last = ~(FB_SHIFT_HIGH(~0UL, (dst_idx+n) % bits));
106 if (dst_idx+n <= bits) {
118 n -= bits - dst_idx;
149 bitfill_aligned_rev(unsigned long __iomem *dst, int dst_idx, unsigned long pat, unsigned n, int bits)
157 first = FB_SHIFT_HIGH(~0UL, dst_idx);
158 last = ~(FB_SHIFT_HIGH(~0UL, (dst_idx+n) % bits));
160 if (dst_idx+n <= bits) {
173 n -= bits - dst_idx;
218 bitfill_unaligned_rev(unsigned long __iomem *dst, int dst_idx, unsigned long pat,
226 first = FB_SHIFT_HIGH(~0UL, dst_idx);
227 last = ~(FB_SHIFT_HIGH(~0UL, (dst_idx+n) % bits));
229 if (dst_idx+n <= bits) {
244 n -= bits - dst_idx;
285 int dst_idx, left;
299 dst_idx = ((unsigned long)p->screen_base & (bytes - 1))*8;
300 dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp;
305 void (*fill_op32)(unsigned long __iomem *dst, int dst_idx,
321 dst += dst_idx >> (ffs(bits) - 1);
322 dst_idx &= (bits - 1);
323 fill_op32(dst, dst_idx, pat, width*bpp, bits);
324 dst_idx += p->fix.line_length*8;
329 int rot = (left-dst_idx) % bpp;
330 void (*fill_op)(unsigned long __iomem *dst, int dst_idx,
351 dst += dst_idx >> (ffs(bits) - 1);
352 dst_idx &= (bits - 1);
353 fill_op(dst, dst_idx, pat, left, right,
357 dst_idx += p->fix.line_length*8;