Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/thermal/
Drzg2l_thermal.c49 #define MCELSIUS(temp) ((temp) * MILLIDEGREE_PER_DEGREE) macro
109 val = ((dsensor - priv->calib1) * (MCELSIUS(165) / in rzg2l_thermal_get_temp()
110 (priv->calib0 - priv->calib1))) - MCELSIUS(40); in rzg2l_thermal_get_temp()
Drcar_thermal.c103 #define MCELSIUS(temp) ((temp) * 1000) macro
265 *temp = MCELSIUS((ctemp * 5) - 65); in rcar_thermal_get_current_temp()
267 *temp = MCELSIUS(((ctemp * 55) - 720) / 10); in rcar_thermal_get_current_temp()
269 *temp = MCELSIUS((ctemp * 5) - 60); in rcar_thermal_get_current_temp()
309 *temp = MCELSIUS(90); in rcar_thermal_get_trip_temp()
Drcar_gen3_thermal.c67 #define MCELSIUS(temp) ((temp) * 1000) macro
/Linux-v6.1/drivers/thermal/samsung/
Dexynos_tmu.c125 #define MCELSIUS 1000 macro
310 temp /= MCELSIUS; in exynos_tmu_initialize()
317 hyst /= MCELSIUS; in exynos_tmu_initialize()
369 ref = trips[0].temperature / MCELSIUS; in exynos4210_tmu_set_trip_temp()
674 *temp = code_to_temp(data, value) * MCELSIUS; in exynos_get_temp()
687 temp /= MCELSIUS; in get_emul_con_reg()
739 if (temp && temp < MCELSIUS) in exynos_tmu_set_emulation()