Lines Matching defs:shift
82 u32 color = 0, val, shift;
93 shift = 0;
100 shift = start_index;
109 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask);
110 if (shift >= null_bits) {
113 val = (shift == null_bits) ? 0 :
114 FB_SHIFT_LOW(p, color, 32 - shift);
116 shift += bpp;
117 shift &= (32 - 1);
120 if (shift) {
121 u32 end_mask = fb_shifted_pixels_mask_u32(p, shift,
143 u32 shift, color = 0, bpp = p->var.bits_per_pixel;
157 shift = val = 0;
168 shift = start_index;
174 val |= FB_SHIFT_HIGH(p, color, shift ^ bswapmask);
177 if (shift >= null_bits) {
179 val = (shift == null_bits) ? 0 :
180 FB_SHIFT_LOW(p, color, 32 - shift);
182 shift += bpp;
183 shift &= (32 - 1);
188 if (shift) {
189 u32 end_mask = fb_shifted_pixels_mask_u32(p, shift,
221 u32 bit_mask, end_mask, eorx, shift;
252 dst = (u32 __iomem *) dst1, shift = 8; src = s;
255 shift -= ppw;
256 end_mask = tab[(*src >> shift) & bit_mask];
258 if (!shift) { shift = 8; src++; }