Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A 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()
H A 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()
H A Drcar_gen3_thermal.c62 #define MCELSIUS(temp) ((temp) * 1000) macro
/openbmc/linux/drivers/thermal/samsung/
H A Dexynos_tmu.c124 #define MCELSIUS 1000 macro
304 data->tmu_set_trip_temp(data, i, trip.temperature / MCELSIUS); in exynos_tmu_initialize()
305 data->tmu_set_trip_hyst(data, i, trip.temperature / MCELSIUS, in exynos_tmu_initialize()
306 trip.hysteresis / MCELSIUS); in exynos_tmu_initialize()
359 ref = trip.temperature / MCELSIUS; in exynos4210_tmu_set_trip_temp()
667 *temp = code_to_temp(data, value) * MCELSIUS; in exynos_get_temp()
680 temp /= MCELSIUS; in get_emul_con_reg()
732 if (temp && temp < MCELSIUS) in exynos_tmu_set_emulation()