• Home
  • Raw
  • Download

Lines Matching refs:p2

196 	u32 p1[5], p2[5];  in calibrate_8916()  local
216 p2[0] = (qfprom_cdata[0] & MSM8916_S0_P2_MASK) >> MSM8916_S0_P2_SHIFT; in calibrate_8916()
217 p2[1] = (qfprom_cdata[0] & MSM8916_S1_P2_MASK) >> MSM8916_S1_P2_SHIFT; in calibrate_8916()
218 p2[2] = (qfprom_cdata[1] & MSM8916_S2_P2_MASK) >> MSM8916_S2_P2_SHIFT; in calibrate_8916()
219 p2[3] = (qfprom_cdata[1] & MSM8916_S3_P2_MASK) >> MSM8916_S3_P2_SHIFT; in calibrate_8916()
220 p2[4] = (qfprom_cdata[1] & MSM8916_S4_P2_MASK) >> MSM8916_S4_P2_SHIFT; in calibrate_8916()
222 p2[i] = ((base1 + p2[i]) << 3); in calibrate_8916()
237 p2[i] = 780; in calibrate_8916()
242 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8916()
252 u32 p1[10], p2[10]; in calibrate_8939() local
275 p2[0] = (cdata[0] & MSM8939_S0_P2_MASK) >> MSM8939_S0_P2_SHIFT; in calibrate_8939()
276 p2[1] = (cdata[0] & MSM8939_S1_P2_MASK) >> MSM8939_S1_P2_SHIFT; in calibrate_8939()
277 p2[2] = (cdata[1] & MSM8939_S2_P2_MASK) >> MSM8939_S2_P2_SHIFT; in calibrate_8939()
278 p2[3] = (cdata[1] & MSM8939_S3_P2_MASK) >> MSM8939_S3_P2_SHIFT; in calibrate_8939()
279 p2[4] = (cdata[1] & MSM8939_S4_P2_MASK) >> MSM8939_S4_P2_SHIFT; in calibrate_8939()
280 p2[5] = (cdata[2] & MSM8939_S5_P2_MASK) >> MSM8939_S5_P2_SHIFT; in calibrate_8939()
281 p2[6] = (cdata[2] & MSM8939_S6_P2_MASK) >> MSM8939_S6_P2_SHIFT; in calibrate_8939()
282 p2[7] = (cdata[3] & MSM8939_S7_P2_MASK) >> MSM8939_S7_P2_SHIFT; in calibrate_8939()
283 p2[8] = (cdata[3] & MSM8939_S8_P2_MASK) >> MSM8939_S8_P2_SHIFT; in calibrate_8939()
284 p2[9] = (cdata[4] & MSM8939_S9_P2_MASK_0_4) >> MSM8939_S9_P2_SHIFT_0_4; in calibrate_8939()
285 p2[9] |= ((cdata[5] & MSM8939_S9_P2_MASK_5) >> MSM8939_S9_P2_SHIFT_5) << 5; in calibrate_8939()
287 p2[i] = (base1 + p2[i]) << 2; in calibrate_8939()
308 p2[i] = 780; in calibrate_8939()
313 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8939()
322 u32 p1[11], p2[11]; in calibrate_8974() local
347 p2[0] = (bkp[2] & S0_P2_BKP_MASK) >> S0_P2_BKP_SHIFT; in calibrate_8974()
348 p2[1] = (bkp[3] & S1_P2_BKP_MASK); in calibrate_8974()
349 p2[2] = (bkp[3] & S2_P2_BKP_MASK) >> S2_P2_BKP_SHIFT; in calibrate_8974()
350 p2[3] = (bkp[3] & S3_P2_BKP_MASK) >> S3_P2_BKP_SHIFT; in calibrate_8974()
351 p2[4] = (bkp[3] & S4_P2_BKP_MASK) >> S4_P2_BKP_SHIFT; in calibrate_8974()
352 p2[5] = (calib[4] & S5_P2_BKP_MASK) >> S5_P2_BKP_SHIFT; in calibrate_8974()
353 p2[6] = (calib[5] & S6_P2_BKP_MASK); in calibrate_8974()
354 p2[7] = (calib[5] & S7_P2_BKP_MASK) >> S7_P2_BKP_SHIFT; in calibrate_8974()
355 p2[8] = (calib[5] & S8_P2_BKP_MASK) >> S8_P2_BKP_SHIFT; in calibrate_8974()
356 p2[9] = (calib[5] & S9_P2_BKP_MASK) >> S9_P2_BKP_SHIFT; in calibrate_8974()
357 p2[10] = (calib[5] & S10_P2_BKP_MASK) >> S10_P2_BKP_SHIFT; in calibrate_8974()
382 p2[0] = (calib[2] & S0_P2_MASK) >> S0_P2_SHIFT; in calibrate_8974()
383 p2[1] = (calib[2] & S1_P2_MASK) >> S1_P2_SHIFT; in calibrate_8974()
384 p2[2] = (calib[3] & S2_P2_MASK); in calibrate_8974()
385 p2[3] = (calib[3] & S3_P2_MASK) >> S3_P2_SHIFT; in calibrate_8974()
386 p2[4] = (calib[3] & S4_P2_MASK) >> S4_P2_SHIFT; in calibrate_8974()
387 p2[5] = (calib[3] & S5_P2_MASK) >> S5_P2_SHIFT; in calibrate_8974()
388 p2[6] = (calib[3] & S6_P2_MASK) >> S6_P2_SHIFT; in calibrate_8974()
389 p2[7] = (calib[4] & S7_P2_MASK); in calibrate_8974()
390 p2[8] = (calib[4] & S8_P2_MASK) >> S8_P2_SHIFT; in calibrate_8974()
391 p2[9] = (calib[4] & S9_P2_MASK) >> S9_P2_SHIFT; in calibrate_8974()
392 p2[10] = (calib[4] & S10_P2_MASK) >> S10_P2_SHIFT; in calibrate_8974()
419 p2[i] += base2; in calibrate_8974()
420 p2[i] <<= 2; in calibrate_8974()
421 p2[i] |= BIT_APPEND; in calibrate_8974()
433 p2[i] = 780; in calibrate_8974()
448 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8974()