Lines Matching refs:temp
60 #define MCELSIUS(temp) ((temp) * 1000)
109 * [reg] = [temp] * a + b => [temp] = ([reg] - b) / a
156 static int rcar_gen3_thermal_round(int temp)
160 round_offs = temp >= 0 ? RCAR3_THERMAL_GRAN / 2 :
162 result = (temp + round_offs) / RCAR3_THERMAL_GRAN;
166 static int rcar_gen3_thermal_get_temp(void *devdata, int *temp)
186 *temp = rcar_gen3_thermal_round(mcelsius);
392 * temp window at this point.