Lines Matching full:bits
26 unsigned long pat, unsigned n, int bits) in bitfill_aligned() argument
34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned()
36 if (dst_idx+n <= bits) { in bitfill_aligned()
44 /* Leading bits */ in bitfill_aligned()
48 n -= bits - dst_idx; in bitfill_aligned()
52 n /= bits; in bitfill_aligned()
66 /* Trailing bits */ in bitfill_aligned()
82 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument
90 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
92 if (dst_idx+n <= bits) { in bitfill_unaligned()
99 /* Leading bits */ in bitfill_unaligned()
104 n -= bits - dst_idx; in bitfill_unaligned()
108 n /= bits; in bitfill_unaligned()
125 /* Trailing bits */ in bitfill_unaligned()
136 unsigned long pat, unsigned n, int bits) in bitfill_aligned_rev() argument
145 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned_rev()
147 if (dst_idx+n <= bits) { in bitfill_aligned_rev()
154 /* Leading bits */ in bitfill_aligned_rev()
158 n -= bits - dst_idx; in bitfill_aligned_rev()
162 n /= bits; in bitfill_aligned_rev()
176 /* Trailing bits */ in bitfill_aligned_rev()
193 int bits) in bitfill_unaligned_rev() argument
201 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned_rev()
203 if (dst_idx+n <= bits) { in bitfill_unaligned_rev()
211 /* Leading bits */ in bitfill_unaligned_rev()
216 n -= bits - dst_idx; in bitfill_unaligned_rev()
220 n /= bits; in bitfill_unaligned_rev()
237 /* Trailing bits */ in bitfill_unaligned_rev()
247 int bits = BITS_PER_LONG, bytes = bits >> 3; in sys_fillrect() local
267 left = bits % bpp; in sys_fillrect()
273 int bits) = NULL; in sys_fillrect()
289 dst += dst_idx >> (ffs(bits) - 1); in sys_fillrect()
290 dst_idx &= (bits - 1); in sys_fillrect()
291 fill_op32(p, dst, dst_idx, pat, width*bpp, bits); in sys_fillrect()
298 int right, unsigned n, int bits) = NULL; in sys_fillrect()
319 dst += dst_idx / bits; in sys_fillrect()
320 dst_idx &= (bits - 1); in sys_fillrect()
325 width*bpp, bits); in sys_fillrect()