Lines Matching defs:shift
28 unsigned int shift;
37 * Calculate a shift & mask that correspond to the value we wish to
41 shift = (unsigned long)ptr & 0x3;
42 shift *= BITS_PER_BYTE;
43 mask <<= shift;
58 : "ZC" (*ptr32), "Jr" (mask), "Jr" (val << shift)
61 return (old32 & mask) >> shift;
117 unsigned int shift;
127 * Calculate a shift & mask that correspond to the value we wish to
131 shift = (unsigned long)ptr & 0x3;
132 shift *= BITS_PER_BYTE;
133 old <<= shift;
134 new <<= shift;
135 mask <<= shift;
159 return (old32 & mask) >> shift;