Lines Matching defs:shift
1123 unsigned int reg, shift, val;
1126 switch (source->shift) {
1129 shift = 0;
1133 shift = 4;
1137 shift = 8;
1141 shift = 12;
1147 switch (source->shift) {
1150 shift = 8;
1154 shift = 12;
1158 shift = 0;
1162 shift = 4;
1166 shift = 8;
1170 shift = 12;
1174 shift = 0;
1178 shift = 4;
1182 shift = 12;
1190 val = (val >> shift) & 0xf;
1413 switch (source->shift) {
4721 unsigned int shift = (offset % 5) * 3;
4724 return regmap_update_bits(rt5677->regmap, reg, m << shift, v << shift);
4778 int shift;
4782 shift = 2 * (1 - offset);
4785 0x3 << shift,
4786 (value & 0x3) << shift);
4790 shift = 2 * (9 - offset);
4793 0x3 << shift,
4794 (value & 0x3) << shift);