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