Lines Matching defs:shift
73 int tsens_read_calibration(struct tsens_priv *priv, int shift, u32 *p1, u32 *p2, bool backup)
134 p1[i] = p1[i] + (base1 << shift);
139 p2[i] = (p2[i] + base2) << shift;
144 p1[i] = (p1[i] + base1) << shift;
169 int tsens_calibrate_nvmem(struct tsens_priv *priv, int shift)
174 mode = tsens_read_calibration(priv, shift, p1, p2, false);
193 if (cell->shift + len <= 32) {
194 val = data[cell->idx] >> cell->shift;
196 u8 part = 32 - cell->shift;
198 val = data[cell->idx] >> cell->shift;