Lines Matching refs:src
29 const unsigned long *src, int src_idx, int bits, unsigned n) in bitcpy() argument
44 *dst = comp(*src, *dst, first); in bitcpy()
49 *dst = comp(*src, *dst, first); in bitcpy()
51 src++; in bitcpy()
58 *dst++ = *src++; in bitcpy()
59 *dst++ = *src++; in bitcpy()
60 *dst++ = *src++; in bitcpy()
61 *dst++ = *src++; in bitcpy()
62 *dst++ = *src++; in bitcpy()
63 *dst++ = *src++; in bitcpy()
64 *dst++ = *src++; in bitcpy()
65 *dst++ = *src++; in bitcpy()
69 *dst++ = *src++; in bitcpy()
73 *dst = comp(*src, *dst, last); in bitcpy()
89 *dst = comp(*src >> right, *dst, first); in bitcpy()
92 *dst = comp(*src << left, *dst, first); in bitcpy()
95 d0 = *src++; in bitcpy()
96 d1 = *src; in bitcpy()
108 d0 = *src++; in bitcpy()
117 d1 = *src++; in bitcpy()
128 d1 = *src++; in bitcpy()
131 d1 = *src++; in bitcpy()
134 d1 = *src++; in bitcpy()
137 d1 = *src++; in bitcpy()
143 d1 = *src++; in bitcpy()
155 d1 = *src; in bitcpy()
170 const unsigned long *src, int src_idx, int bits, unsigned n) in bitcpy_rev() argument
176 src += (n-1)/bits; in bitcpy_rev()
182 src += src_idx >> (ffs(bits) - 1); in bitcpy_rev()
197 *dst = comp(*src, *dst, first); in bitcpy_rev()
203 *dst = comp(*src, *dst, first); in bitcpy_rev()
205 src--; in bitcpy_rev()
212 *dst-- = *src--; in bitcpy_rev()
213 *dst-- = *src--; in bitcpy_rev()
214 *dst-- = *src--; in bitcpy_rev()
215 *dst-- = *src--; in bitcpy_rev()
216 *dst-- = *src--; in bitcpy_rev()
217 *dst-- = *src--; in bitcpy_rev()
218 *dst-- = *src--; in bitcpy_rev()
219 *dst-- = *src--; in bitcpy_rev()
223 *dst-- = *src--; in bitcpy_rev()
226 *dst = comp(*src, *dst, last); in bitcpy_rev()
240 *dst = comp(*src << left, *dst, first); in bitcpy_rev()
243 *dst = comp(*src >> right, *dst, first); in bitcpy_rev()
246 *dst = comp(*src >> right | *(src-1) << left, in bitcpy_rev()
260 d0 = *src--; in bitcpy_rev()
267 d1 = *src--; in bitcpy_rev()
279 d1 = *src--; in bitcpy_rev()
282 d1 = *src--; in bitcpy_rev()
285 d1 = *src--; in bitcpy_rev()
288 d1 = *src--; in bitcpy_rev()
294 d1 = *src--; in bitcpy_rev()
306 d1 = *src; in bitcpy_rev()
320 unsigned long *dst = NULL, *src = NULL; in sys_copyarea() local
337 dst = src = (unsigned long *)((unsigned long)p->screen_base & in sys_copyarea()
353 src += src_idx >> (ffs(bits) - 1); in sys_copyarea()
355 bitcpy_rev(p, dst, dst_idx, src, src_idx, bits, in sys_copyarea()
362 src += src_idx >> (ffs(bits) - 1); in sys_copyarea()
364 bitcpy(p, dst, dst_idx, src, src_idx, bits, in sys_copyarea()