Lines Matching refs:temppoints
67 static const struct sht15_temppair temppoints[] = {
306 int d1 = temppoints[0].d1;
309 for (i = ARRAY_SIZE(temppoints) - 1; i > 0; i--)
311 if (data->supply_uV > temppoints[i - 1].vdd) {
312 d1 = (data->supply_uV - temppoints[i - 1].vdd)
313 * (temppoints[i].d1 - temppoints[i - 1].d1)
314 / (temppoints[i].vdd - temppoints[i - 1].vdd)
315 + temppoints[i - 1].d1;