Home
last modified time | relevance | path

Searched refs:MCELSIUS (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/thermal/
Drcar_thermal.c100 #define MCELSIUS(temp) ((temp) * 1000) macro
254 tmp = MCELSIUS((priv->ctemp * 5) - 65); in rcar_thermal_get_current_temp()
257 if ((tmp < MCELSIUS(-45)) || (tmp > MCELSIUS(125))) { in rcar_thermal_get_current_temp()
311 *temp = MCELSIUS(90); in rcar_thermal_get_trip_temp()
Drcar_gen3_thermal.c60 #define MCELSIUS(temp) ((temp) * 1000) macro
176 if ((mcelsius < MCELSIUS(-40)) || (mcelsius > MCELSIUS(125))) in rcar_gen3_thermal_get_temp()
/Linux-v4.19/drivers/thermal/samsung/
Dexynos_tmu.c139 #define MCELSIUS 1000 macro
321 temp /= MCELSIUS; in exynos_tmu_initialize()
328 hyst /= MCELSIUS; in exynos_tmu_initialize()
380 ref = trips[0].temperature / MCELSIUS; in exynos4210_tmu_set_trip_temp()
685 *temp = code_to_temp(data, value) * MCELSIUS; in exynos_get_temp()
698 temp /= MCELSIUS; in get_emul_con_reg()
750 if (temp && temp < MCELSIUS) in exynos_tmu_set_emulation()