Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/thermal/samsung/
Dexynos_tmu.c142 #define MCELSIUS 1000 macro
307 temp = trips[i].temperature / MCELSIUS; in get_th_reg()
309 temp -= (trips[i].hysteresis / MCELSIUS); in get_th_reg()
396 reference = trips[0].temperature / MCELSIUS; in exynos4210_tmu_initialize()
405 temp = trips[i].temperature / MCELSIUS; in exynos4210_tmu_initialize()
474 threshold_code = temp_to_code(data, crit_temp / MCELSIUS); in exynos4412_tmu_initialize()
522 threshold_code = temp_to_code(data, crit_temp / MCELSIUS); in exynos5440_tmu_initialize()
588 temp /= MCELSIUS; in exynos7_tmu_initialize()
591 temp_hist = temp - (temp_hist / MCELSIUS); in exynos7_tmu_initialize()
726 *temp = code_to_temp(data, data->tmu_read(data)) * MCELSIUS; in exynos_get_temp()
[all …]
/linux-4.1.27/drivers/thermal/
Drcar_thermal.c72 #define MCELSIUS(temp) ((temp) * 1000) macro
212 *temp = MCELSIUS((priv->ctemp * 5) - 65); in rcar_thermal_get_temp()
246 *temp = MCELSIUS(90); in rcar_thermal_get_trip_temp()