Lines Matching defs:temp
26 int i, delta_temp, delta_raw, temp;
38 delta_temp = lpat[i+1].temp - lpat[i].temp;
40 temp = lpat[i].temp + (raw - lpat[i].raw) * delta_temp / delta_raw;
42 return temp;
51 * @temp: the temperature, used as a key to get the raw value from the
58 int temp)
64 if (temp >= lpat[i].temp && temp <= lpat[i+1].temp)
71 delta_temp = lpat[i+1].temp - lpat[i].temp;
73 raw = lpat[i].raw + (temp - lpat[i].temp) * delta_raw / delta_temp;