Lines Matching +full:1 +full:p1

30 	.mode = { 0, 29, 1 },
31 .invalid = { 0, 31, 1 },
32 .base = { { 0, 0 }, { 1, 25 } },
36 { { 0, 27 }, { 1, 0 } },
37 { { 1, 5 }, { 1, 10 } },
38 { { 1, 15 }, { 1, 20 } },
46 .mode = { 1, 30 },
54 { { 1, 0 }, { 3, 12 } },
55 { { 1, 6 }, { 3, 18 } },
56 { { 1, 12 }, { 3, 24 } },
57 { { 1, 18 }, { 4, 0 } },
58 { { 1, 24 }, { 4, 6 } },
68 .mode = { 4, 30, 1 },
69 .invalid = { 5, 30, 1 },
76 { { 1, 0 }, { 3, 18 } },
77 { { 1, 6 }, { 3, 24, 1 } },
78 { { 1, 12 }, { 4, 0, 1 } },
79 { { 1, 18 }, { 4, 6, 1 } },
80 { { 2, 0 }, { 4, 12, 1 } },
81 { { 2, 6 }, { 4, 18, 1 } },
82 { { 2, 12 }, { 4, 24, 1 } },
88 u32 p1[5], p2[5]; in calibrate_8916() local
107 p1, p2, in calibrate_8916()
110 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8916()
117 static void fixup_8974_points(int mode, u32 *p1, u32 *p2) in fixup_8974_points() argument
122 p1[0] += 2; in fixup_8974_points()
123 p1[1] += 9; in fixup_8974_points()
124 p1[2] += 3; in fixup_8974_points()
125 p1[3] += 9; in fixup_8974_points()
126 p1[4] += 5; in fixup_8974_points()
127 p1[5] += 9; in fixup_8974_points()
128 p1[6] += 7; in fixup_8974_points()
129 p1[7] += 10; in fixup_8974_points()
130 p1[8] += 8; in fixup_8974_points()
131 p1[9] += 9; in fixup_8974_points()
132 p1[10] += 8; in fixup_8974_points()
139 p1[i] += BIT_APPEND; in fixup_8974_points()
148 u32 p1[11], p2[11]; in calibrate_8974_nvmem() local
158 mode = tsens_read_calibration(priv, 2, p1, p2, backup == BKP_SEL); in calibrate_8974_nvmem()
162 fixup_8974_points(mode, p1, p2); in calibrate_8974_nvmem()
164 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8974_nvmem()
171 u32 p1[11], p2[11]; in calibrate_8974() local
190 calib_redun_sel = FIELD_GET(BKP_REDUN_SEL, bkp[1]); in calibrate_8974()
194 p1, p2, in calibrate_8974()
198 p1, p2, in calibrate_8974()
201 fixup_8974_points(mode, p1, p2); in calibrate_8974()
203 compute_intercept_slope(priv, p1, p2, mode); in calibrate_8974()
213 priv->sensor[1].slope = 2846; in init_8226()
231 priv->sensor[1].p1_calib_offset = -10; in init_8909()
232 priv->sensor[1].p2_calib_offset = -6; in init_8909()
245 priv->sensor[1].slope = 2789; in init_8939()
265 priv->sensor[0].p1_calib_offset = 1; in init_9607()
266 priv->sensor[0].p2_calib_offset = 1; in init_9607()
267 priv->sensor[1].p1_calib_offset = -4; in init_9607()
268 priv->sensor[1].p2_calib_offset = -2; in init_9607()
279 /* v0.1: 8226, 8909, 8916, 8939, 8974, 9607 */
285 .adc = 1,
286 .srot_split = 1,
298 [TSENS_SW_RST] = REG_FIELD(SROT_CTRL_OFF, 1, 1),
312 /* NO CRITICAL INTERRUPT SUPPORT on v0.1 */
316 /* No VALID field on v0.1 */
317 /* xxx_STATUS bits: 1 == threshold violated */
321 /* No CRITICAL field on v0.1 */
324 /* TRDY: 1=ready, 0=in progress */
363 .hw_ids = (unsigned int []){0, 1, 2, 4, 5 },
378 .hw_ids = (unsigned int []){ 0, 1, 2, 3, 5, 6, 7, 8, 9, /* 10 */ },