Lines Matching refs:end

52 				       int end, struct fb_reverse reverse)  in fb_copy_aligned_fwd()  argument
57 last = ~fb_pixel_mask(end & (BITS_PER_LONG-1), reverse); in fb_copy_aligned_fwd()
60 if (end <= BITS_PER_LONG) { in fb_copy_aligned_fwd()
78 end /= BITS_PER_LONG; in fb_copy_aligned_fwd()
79 while (offset + 4 <= end) { in fb_copy_aligned_fwd()
86 while (offset < end) in fb_copy_aligned_fwd()
98 int end, struct fb_reverse reverse) in fb_copy_aligned_rev() argument
103 last = ~fb_pixel_mask(end & (BITS_PER_LONG-1), reverse); in fb_copy_aligned_rev()
105 if (end <= BITS_PER_LONG) { in fb_copy_aligned_rev()
118 end /= BITS_PER_LONG; in fb_copy_aligned_rev()
121 fb_copy_offset_masked(last, end, dst, src); in fb_copy_aligned_rev()
124 while (end >= offset + 4) { in fb_copy_aligned_rev()
125 fb_copy_offset(end - 1, dst, src); in fb_copy_aligned_rev()
126 fb_copy_offset(end - 2, dst, src); in fb_copy_aligned_rev()
127 fb_copy_offset(end - 3, dst, src); in fb_copy_aligned_rev()
128 fb_copy_offset(end - 4, dst, src); in fb_copy_aligned_rev()
129 end -= 4; in fb_copy_aligned_rev()
131 while (end > offset) in fb_copy_aligned_rev()
132 fb_copy_offset(--end, dst, src); in fb_copy_aligned_rev()
166 int end = dst->bits + width; in fb_copy_fwd() local
170 last = ~fb_pixel_mask(end & (BITS_PER_LONG-1), reverse); in fb_copy_fwd()
176 if (end <= BITS_PER_LONG) { in fb_copy_fwd()
211 end /= BITS_PER_LONG; in fb_copy_fwd()
213 while (offset + 4 <= end) { in fb_copy_fwd()
233 while (offset < end) { in fb_copy_fwd()
254 const struct fb_address *src, int end, in fb_copy_rev() argument
264 last = ~fb_pixel_mask(end & (BITS_PER_LONG-1), reverse); in fb_copy_rev()
270 if (end <= BITS_PER_LONG) { in fb_copy_rev()
282 if (src->bits + end - dst->bits > BITS_PER_LONG) in fb_copy_rev()
293 end /= BITS_PER_LONG; in fb_copy_rev()
297 d0 = fb_right(reorder(fb_read_offset(end + 1, src), reverse), right); in fb_copy_rev()
302 d1 = reorder(fb_read_offset(end, src), reverse); in fb_copy_rev()
305 last, end, dst); in fb_copy_rev()
310 while (end >= offset + 4) { in fb_copy_rev()
311 d1 = fb_read_offset(end - 1, src); in fb_copy_rev()
313 fb_write_offset(d0, end - 1, dst); in fb_copy_rev()
315 d1 = fb_read_offset(end - 2, src); in fb_copy_rev()
317 fb_write_offset(d0, end - 2, dst); in fb_copy_rev()
319 d1 = fb_read_offset(end - 3, src); in fb_copy_rev()
321 fb_write_offset(d0, end - 3, dst); in fb_copy_rev()
323 d1 = fb_read_offset(end - 4, src); in fb_copy_rev()
325 fb_write_offset(d0, end - 4, dst); in fb_copy_rev()
327 end -= 4; in fb_copy_rev()
330 while (end > offset) { in fb_copy_rev()
331 end--; in fb_copy_rev()
332 d1 = reorder(fb_read_offset(end, src), reverse); in fb_copy_rev()
334 fb_write_offset(reorder(d0, reverse), end, dst); in fb_copy_rev()