Lines Matching defs:calib
87 struct tegra_tsensor_calibration_data calib;
198 c1 = DIV_ROUND_CLOSEST(ts->calib.a * counter + ts->calib.b, 1000000);
200 c2 = DIV_ROUND_CLOSEST(ts->calib.p, c1);
201 c3 = c1 * ts->calib.m;
202 c4 = ts->calib.n;
213 c1 = DIV_ROUND_CLOSEST(ts->calib.p - temp * 1000, ts->calib.m);
214 c2 = -ts->calib.r - int_sqrt(ts->calib.r * ts->calib.r - c1);
216 return DIV_ROUND_CLOSEST(c2 * 1000000 - ts->calib.b, ts->calib.a);
476 ts->calib.a = DIV_ROUND_CLOSEST((t2_90C - t1_25C) * 1000000,
479 ts->calib.b = t1_25C * 1000000 - ts->calib.a * c1_25C;
482 ts->calib.m = -2775;
483 ts->calib.n = 1338811;
484 ts->calib.p = -7300000;
486 ts->calib.m = -3512;
487 ts->calib.n = 1528943;
488 ts->calib.p = -11100000;
492 ts->calib.r = DIV_ROUND_CLOSEST(ts->calib.n, ts->calib.m * 2);