Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/thermal/renesas/
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
264 *temp = MCELSIUS((ctemp * 5) - 65); in rcar_thermal_get_current_temp()
266 *temp = MCELSIUS(((ctemp * 55) - 720) / 10); in rcar_thermal_get_current_temp()
268 *temp = MCELSIUS((ctemp * 5) - 60); in rcar_thermal_get_current_temp()
Drcar_gen3_thermal.c62 #define MCELSIUS(temp) ((temp) * 1000) macro
/linux-6.12.1/drivers/thermal/samsung/
Dexynos_tmu.c124 #define MCELSIUS 1000 macro
300 data->tmu_set_crit_temp(data, temp / MCELSIUS); in exynos_thermal_zone_configure()
657 *temp = code_to_temp(data, value) * MCELSIUS; in exynos_get_temp()
670 temp /= MCELSIUS; in get_emul_con_reg()
722 if (temp && temp < MCELSIUS) in exynos_tmu_set_emulation()
985 data->tmu_set_low_temp(data, low / MCELSIUS); in exynos_set_trips()
989 data->tmu_set_high_temp(data, high / MCELSIUS); in exynos_set_trips()