Lines Matching refs:p1

229 	u32 p1[5], p2[5];  in calibrate_8916()  local
259 p1[0] = (qfprom_cdata[0] & MSM8916_S0_P1_MASK) >> MSM8916_S0_P1_SHIFT; in calibrate_8916()
260 p1[1] = (qfprom_cdata[0] & MSM8916_S1_P1_MASK) >> MSM8916_S1_P1_SHIFT; in calibrate_8916()
261 p1[2] = (qfprom_cdata[0] & MSM8916_S2_P1_MASK) >> MSM8916_S2_P1_SHIFT; in calibrate_8916()
262 p1[3] = (qfprom_cdata[1] & MSM8916_S3_P1_MASK) >> MSM8916_S3_P1_SHIFT; in calibrate_8916()
263 p1[4] = (qfprom_cdata[1] & MSM8916_S4_P1_MASK) >> MSM8916_S4_P1_SHIFT; in calibrate_8916()
265 p1[i] = (((base0) + p1[i]) << 3); in calibrate_8916()
269 p1[i] = 500; in calibrate_8916()
275 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8916()
285 u32 p1[10], p2[10]; in calibrate_8939() local
324 p1[0] = (cdata[0] & MSM8939_S0_P1_MASK) >> MSM8939_S0_P1_SHIFT; in calibrate_8939()
325 p1[1] = (cdata[0] & MSM8939_S1_P1_MASK) >> MSM8939_S1_P1_SHIFT; in calibrate_8939()
326 p1[2] = (cdata[0] & MSM8939_S2_P1_MASK_0_4) >> MSM8939_S2_P1_SHIFT_0_4; in calibrate_8939()
327 p1[2] |= ((cdata[1] & MSM8939_S2_P1_MASK_5) >> MSM8939_S2_P1_SHIFT_5) << 5; in calibrate_8939()
328 p1[3] = (cdata[1] & MSM8939_S3_P1_MASK) >> MSM8939_S3_P1_SHIFT; in calibrate_8939()
329 p1[4] = (cdata[1] & MSM8939_S4_P1_MASK) >> MSM8939_S4_P1_SHIFT; in calibrate_8939()
330 p1[5] = (cdata[2] & MSM8939_S5_P1_MASK) >> MSM8939_S5_P1_SHIFT; in calibrate_8939()
331 p1[6] = (cdata[2] & MSM8939_S6_P1_MASK) >> MSM8939_S6_P1_SHIFT; in calibrate_8939()
332 p1[7] = (cdata[3] & MSM8939_S7_P1_MASK) >> MSM8939_S7_P1_SHIFT; in calibrate_8939()
333 p1[8] = (cdata[3] & MSM8939_S8_P1_MASK) >> MSM8939_S8_P1_SHIFT; in calibrate_8939()
334 p1[9] = (cdata[4] & MSM8939_S9_P1_MASK) >> MSM8939_S9_P1_SHIFT; in calibrate_8939()
336 p1[i] = ((base0) + p1[i]) << 2; in calibrate_8939()
340 p1[i] = 500; in calibrate_8939()
346 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8939()
355 u32 p1[11], p2[11]; in calibrate_8974() local
395 p1[0] = (bkp[0] & S0_P1_MASK) >> S0_P1_SHIFT; in calibrate_8974()
396 p1[1] = (bkp[0] & S1_P1_MASK) >> S1_P1_SHIFT; in calibrate_8974()
397 p1[2] = (bkp[0] & S2_P1_MASK) >> S2_P1_SHIFT; in calibrate_8974()
398 p1[3] = (bkp[0] & S3_P1_MASK) >> S3_P1_SHIFT; in calibrate_8974()
399 p1[4] = (bkp[1] & S4_P1_MASK); in calibrate_8974()
400 p1[5] = (bkp[1] & S5_P1_MASK) >> S5_P1_SHIFT; in calibrate_8974()
401 p1[6] = (bkp[1] & S6_P1_MASK) >> S6_P1_SHIFT; in calibrate_8974()
402 p1[7] = (bkp[1] & S7_P1_MASK) >> S7_P1_SHIFT; in calibrate_8974()
403 p1[8] = (bkp[2] & S8_P1_MASK_BKP) >> S8_P1_SHIFT; in calibrate_8974()
404 p1[9] = (bkp[2] & S9_P1_MASK_BKP) >> S9_P1_BKP_SHIFT; in calibrate_8974()
405 p1[10] = (bkp[2] & S10_P1_MASK_BKP) >> S10_P1_BKP_SHIFT; in calibrate_8974()
430 p1[0] = (calib[0] & S0_P1_MASK) >> S0_P1_SHIFT; in calibrate_8974()
431 p1[1] = (calib[0] & S1_P1_MASK) >> S1_P1_SHIFT; in calibrate_8974()
432 p1[2] = (calib[0] & S2_P1_MASK) >> S2_P1_SHIFT; in calibrate_8974()
433 p1[3] = (calib[0] & S3_P1_MASK) >> S3_P1_SHIFT; in calibrate_8974()
434 p1[4] = (calib[1] & S4_P1_MASK); in calibrate_8974()
435 p1[5] = (calib[1] & S5_P1_MASK) >> S5_P1_SHIFT; in calibrate_8974()
436 p1[6] = (calib[1] & S6_P1_MASK) >> S6_P1_SHIFT; in calibrate_8974()
437 p1[7] = (calib[1] & S7_P1_MASK) >> S7_P1_SHIFT; in calibrate_8974()
438 p1[8] = (calib[1] & S8_P1_MASK) >> S8_P1_SHIFT; in calibrate_8974()
439 p1[9] = (calib[2] & S9_P1_MASK); in calibrate_8974()
440 p1[10] = (calib[2] & S10_P1_MASK) >> S10_P1_SHIFT; in calibrate_8974()
448 p1[i] += (base1 << 2) | BIT_APPEND; in calibrate_8974()
459 p1[i] += base1; in calibrate_8974()
460 p1[i] <<= 2; in calibrate_8974()
461 p1[i] |= BIT_APPEND; in calibrate_8974()
467 p1[0] = 502; in calibrate_8974()
468 p1[1] = 509; in calibrate_8974()
469 p1[2] = 503; in calibrate_8974()
470 p1[3] = 509; in calibrate_8974()
471 p1[4] = 505; in calibrate_8974()
472 p1[5] = 509; in calibrate_8974()
473 p1[6] = 507; in calibrate_8974()
474 p1[7] = 510; in calibrate_8974()
475 p1[8] = 508; in calibrate_8974()
476 p1[9] = 509; in calibrate_8974()
477 p1[10] = 508; in calibrate_8974()
481 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8974()
491 u32 p1[5], p2[5]; in calibrate_9607() local
515 p1[0] = (qfprom_cdata[0] & MDM9607_S0_P1_MASK) >> MDM9607_S0_P1_SHIFT; in calibrate_9607()
516 p1[1] = (qfprom_cdata[0] & MDM9607_S1_P1_MASK) >> MDM9607_S1_P1_SHIFT; in calibrate_9607()
517 p1[2] = (qfprom_cdata[1] & MDM9607_S2_P1_MASK) >> MDM9607_S2_P1_SHIFT; in calibrate_9607()
518 p1[3] = (qfprom_cdata[1] & MDM9607_S3_P1_MASK) >> MDM9607_S3_P1_SHIFT; in calibrate_9607()
519 p1[4] = (qfprom_cdata[2] & MDM9607_S4_P1_MASK) >> MDM9607_S4_P1_SHIFT; in calibrate_9607()
521 p1[i] = ((base + p1[i]) << 2); in calibrate_9607()
525 p1[i] = 500; in calibrate_9607()
531 compute_intercept_slope(priv, p1, p2, mode); in calibrate_9607()