Lines Matching refs:p2
139 u32 p1[5], p2[5]; in calibrate_8916() local
159 p2[0] = (qfprom_cdata[0] & MSM8916_S0_P2_MASK) >> MSM8916_S0_P2_SHIFT; in calibrate_8916()
160 p2[1] = (qfprom_cdata[0] & MSM8916_S1_P2_MASK) >> MSM8916_S1_P2_SHIFT; in calibrate_8916()
161 p2[2] = (qfprom_cdata[1] & MSM8916_S2_P2_MASK) >> MSM8916_S2_P2_SHIFT; in calibrate_8916()
162 p2[3] = (qfprom_cdata[1] & MSM8916_S3_P2_MASK) >> MSM8916_S3_P2_SHIFT; in calibrate_8916()
163 p2[4] = (qfprom_cdata[1] & MSM8916_S4_P2_MASK) >> MSM8916_S4_P2_SHIFT; in calibrate_8916()
165 p2[i] = ((base1 + p2[i]) << 3); in calibrate_8916()
180 p2[i] = 780; in calibrate_8916()
185 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8916()
195 u32 p1[11], p2[11]; in calibrate_8974() local
220 p2[0] = (bkp[2] & S0_P2_BKP_MASK) >> S0_P2_BKP_SHIFT; in calibrate_8974()
221 p2[1] = (bkp[3] & S1_P2_BKP_MASK); in calibrate_8974()
222 p2[2] = (bkp[3] & S2_P2_BKP_MASK) >> S2_P2_BKP_SHIFT; in calibrate_8974()
223 p2[3] = (bkp[3] & S3_P2_BKP_MASK) >> S3_P2_BKP_SHIFT; in calibrate_8974()
224 p2[4] = (bkp[3] & S4_P2_BKP_MASK) >> S4_P2_BKP_SHIFT; in calibrate_8974()
225 p2[5] = (calib[4] & S5_P2_BKP_MASK) >> S5_P2_BKP_SHIFT; in calibrate_8974()
226 p2[6] = (calib[5] & S6_P2_BKP_MASK); in calibrate_8974()
227 p2[7] = (calib[5] & S7_P2_BKP_MASK) >> S7_P2_BKP_SHIFT; in calibrate_8974()
228 p2[8] = (calib[5] & S8_P2_BKP_MASK) >> S8_P2_BKP_SHIFT; in calibrate_8974()
229 p2[9] = (calib[5] & S9_P2_BKP_MASK) >> S9_P2_BKP_SHIFT; in calibrate_8974()
230 p2[10] = (calib[5] & S10_P2_BKP_MASK) >> S10_P2_BKP_SHIFT; in calibrate_8974()
255 p2[0] = (calib[2] & S0_P2_MASK) >> S0_P2_SHIFT; in calibrate_8974()
256 p2[1] = (calib[2] & S1_P2_MASK) >> S1_P2_SHIFT; in calibrate_8974()
257 p2[2] = (calib[3] & S2_P2_MASK); in calibrate_8974()
258 p2[3] = (calib[3] & S3_P2_MASK) >> S3_P2_SHIFT; in calibrate_8974()
259 p2[4] = (calib[3] & S4_P2_MASK) >> S4_P2_SHIFT; in calibrate_8974()
260 p2[5] = (calib[3] & S5_P2_MASK) >> S5_P2_SHIFT; in calibrate_8974()
261 p2[6] = (calib[3] & S6_P2_MASK) >> S6_P2_SHIFT; in calibrate_8974()
262 p2[7] = (calib[4] & S7_P2_MASK); in calibrate_8974()
263 p2[8] = (calib[4] & S8_P2_MASK) >> S8_P2_SHIFT; in calibrate_8974()
264 p2[9] = (calib[4] & S9_P2_MASK) >> S9_P2_SHIFT; in calibrate_8974()
265 p2[10] = (calib[4] & S10_P2_MASK) >> S10_P2_SHIFT; in calibrate_8974()
292 p2[i] += base2; in calibrate_8974()
293 p2[i] <<= 2; in calibrate_8974()
294 p2[i] |= BIT_APPEND; in calibrate_8974()
306 p2[i] = 780; in calibrate_8974()
321 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8974()