Lines Matching refs:src_idx
2592 int src_idx, u32 n) in bitcpy() argument
2595 int shift = dst_idx - src_idx, left, right; in bitcpy()
2602 shift = dst_idx - src_idx; in bitcpy()
2657 } else if (src_idx + n <= BITS_PER_LONG) { in bitcpy()
2732 const unsigned long *src, int src_idx, u32 n) in bitcpy_rev() argument
2735 int shift = dst_idx - src_idx, left, right; in bitcpy_rev()
2748 src_idx += (n - 1) % BITS_PER_LONG; in bitcpy_rev()
2749 src += src_idx >> SHIFT_PER_LONG; in bitcpy_rev()
2750 src_idx &= BITS_PER_LONG - 1; in bitcpy_rev()
2753 shift = dst_idx - src_idx; in bitcpy_rev()
2808 } else if (1 + (unsigned long)src_idx >= n) { in bitcpy_rev()
2884 const unsigned long *src, int src_idx, u32 n) in bitcpy_not() argument
2887 int shift = dst_idx - src_idx, left, right; in bitcpy_not()
2894 shift = dst_idx - src_idx; in bitcpy_not()
2949 } else if (src_idx + n <= BITS_PER_LONG) { in bitcpy_not()
3202 unsigned long *src, int src_idx, u32 n) in copy_one_line() argument
3207 src += src_idx >> SHIFT_PER_LONG; in copy_one_line()
3208 src_idx &= (BITS_PER_LONG - 1); in copy_one_line()
3209 bitcpy(dst, dst_idx, src, src_idx, n); in copy_one_line()
3213 src_idx += next_plane * 8; in copy_one_line()
3219 unsigned long *src, int src_idx, u32 n) in copy_one_line_rev() argument
3224 src += src_idx >> SHIFT_PER_LONG; in copy_one_line_rev()
3225 src_idx &= (BITS_PER_LONG - 1); in copy_one_line_rev()
3226 bitcpy_rev(dst, dst_idx, src, src_idx, n); in copy_one_line_rev()
3230 src_idx += next_plane * 8; in copy_one_line_rev()
3242 int dst_idx, src_idx; in amifb_copyarea() local
3276 src_idx = dst_idx; in amifb_copyarea()
3278 src_idx += sy * par->next_line * 8 + sx; in amifb_copyarea()
3282 src_idx -= par->next_line * 8; in amifb_copyarea()
3285 src_idx, width); in amifb_copyarea()
3291 src_idx, width); in amifb_copyarea()
3293 src_idx += par->next_line * 8; in amifb_copyarea()
3304 int src_idx; in expand_one_line() local
3312 src_idx = ((unsigned long)data & (BYTES_PER_LONG - 1)) * 8; in expand_one_line()
3314 bitcpy(dst, dst_idx, src, src_idx, n); in expand_one_line()
3316 bitcpy_not(dst, dst_idx, src, src_idx, n); in expand_one_line()