Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/thermal/
Drcar_thermal.c104 #define MCELSIUS(temp) ((temp) * 1000) macro
271 tmp = MCELSIUS((priv->ctemp * 5) - 65); in rcar_thermal_get_current_temp()
273 tmp = MCELSIUS(((priv->ctemp * 55) - 720) / 10); in rcar_thermal_get_current_temp()
275 tmp = MCELSIUS((priv->ctemp * 5) - 60); in rcar_thermal_get_current_temp()
278 if ((tmp < MCELSIUS(-45)) || (tmp > MCELSIUS(125))) { in rcar_thermal_get_current_temp()
332 *temp = MCELSIUS(90); in rcar_thermal_get_trip_temp()
Drcar_gen3_thermal.c60 #define MCELSIUS(temp) ((temp) * 1000) macro
186 if ((mcelsius < MCELSIUS(-40)) || (mcelsius > MCELSIUS(125))) in rcar_gen3_thermal_get_temp()
/Linux-v5.4/drivers/thermal/samsung/
Dexynos_tmu.c125 #define MCELSIUS 1000 macro
307 temp /= MCELSIUS; in exynos_tmu_initialize()
314 hyst /= MCELSIUS; in exynos_tmu_initialize()
366 ref = trips[0].temperature / MCELSIUS; in exynos4210_tmu_set_trip_temp()
671 *temp = code_to_temp(data, value) * MCELSIUS; in exynos_get_temp()
684 temp /= MCELSIUS; in get_emul_con_reg()
736 if (temp && temp < MCELSIUS) in exynos_tmu_set_emulation()