Lines Matching refs:shift
57 u32 color = 0, val, shift; in color_imageblit() local
67 shift = 0; in color_imageblit()
74 shift = start_index; in color_imageblit()
83 val |= FB_SHIFT_HIGH(p, color, shift); in color_imageblit()
84 if (shift >= null_bits) { in color_imageblit()
87 val = (shift == null_bits) ? 0 : in color_imageblit()
88 FB_SHIFT_LOW(p, color, 32 - shift); in color_imageblit()
90 shift += bpp; in color_imageblit()
91 shift &= (32 - 1); in color_imageblit()
94 if (shift) { in color_imageblit()
95 u32 end_mask = FB_SHIFT_HIGH(p, ~(u32)0, shift); in color_imageblit()
115 u32 shift, color = 0, bpp = p->var.bits_per_pixel; in slow_imageblit() local
128 shift = val = 0; in slow_imageblit()
139 shift = start_index; in slow_imageblit()
145 val |= FB_SHIFT_HIGH(p, color, shift); in slow_imageblit()
148 if (shift >= null_bits) { in slow_imageblit()
150 val = (shift == null_bits) ? 0 : in slow_imageblit()
151 FB_SHIFT_LOW(p, color, 32 - shift); in slow_imageblit()
153 shift += bpp; in slow_imageblit()
154 shift &= (32 - 1); in slow_imageblit()
159 if (shift) { in slow_imageblit()
160 u32 end_mask = FB_SHIFT_HIGH(p, ~(u32)0, shift); in slow_imageblit()
191 u32 bit_mask, end_mask, eorx, shift; in fast_imageblit() local
223 shift = 8; in fast_imageblit()
227 shift -= ppw; in fast_imageblit()
228 end_mask = tab[(*src >> shift) & bit_mask]; in fast_imageblit()
230 if (!shift) { in fast_imageblit()
231 shift = 8; in fast_imageblit()