Lines Matching defs:pts
323 static int qcom_vadc_map_voltage_temp(const struct vadc_map_pt *pts,
329 if (!pts)
334 if (pts[0].x < pts[1].x)
339 if ((descending) && (pts[i].x < input)) {
344 (pts[i].x > input)) {
353 *output = pts[0].y;
355 *output = pts[tablesize - 1].y;
359 *output = (((s32)((pts[i].y - pts[i - 1].y) *
360 (input - pts[i - 1].x)) /
361 (pts[i].x - pts[i - 1].x)) +
362 pts[i - 1].y);