Lines Matching refs:shift
82 u32 color = 0, val, shift; in color_imageblit() local
93 shift = 0; in color_imageblit()
100 shift = start_index; in color_imageblit()
109 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask); in color_imageblit()
110 if (shift >= null_bits) { in color_imageblit()
113 val = (shift == null_bits) ? 0 : in color_imageblit()
114 FB_SHIFT_LOW(p, color, 32 - shift); in color_imageblit()
116 shift += bpp; in color_imageblit()
117 shift &= (32 - 1); in color_imageblit()
120 if (shift) { in color_imageblit()
121 u32 end_mask = fb_shifted_pixels_mask_u32(p, shift, in color_imageblit()
143 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local
157 shift = val = 0; in slow_imageblit()
168 shift = start_index; in slow_imageblit()
174 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask); in slow_imageblit()
177 if (shift >= null_bits) { in slow_imageblit()
179 val = (shift == null_bits) ? 0 : in slow_imageblit()
180 FB_SHIFT_LOW(p, color, 32 - shift); in slow_imageblit()
182 shift += bpp; in slow_imageblit()
183 shift &= (32 - 1); in slow_imageblit()
188 if (shift) { in slow_imageblit()
189 u32 end_mask = fb_shifted_pixels_mask_u32(p, shift, in slow_imageblit()
221 u32 bit_mask, eorx, shift; in fast_imageblit() local
262 shift = 8; in fast_imageblit()
305 shift -= ppw; in fast_imageblit()
306 FB_WRITEL(colortab[(*src >> shift) & bit_mask], dst++); in fast_imageblit()
307 if (!shift) { in fast_imageblit()
308 shift = 8; in fast_imageblit()