Searched refs:MCELSIUS (Results 1 – 5 of 5) sorted by relevance
34 #define MCELSIUS(temp) ((temp) * MILLIDEGREE_PER_DEGREE) macro81 ts_code_ave = DIV_ROUND_CLOSEST(MCELSIUS(ts_code_ave), TSU_READ_STEPS); in rzg3s_thermal_get_temp()93 *temp = div_s64((s64)(ts_code_ave - MCELSIUS(priv->calib1)) * MCELSIUS(165), in rzg3s_thermal_get_temp()94 MCELSIUS(priv->calib0 - priv->calib1)) - MCELSIUS(40); in rzg3s_thermal_get_temp()
49 #define MCELSIUS(temp) ((temp) * MILLIDEGREE_PER_DEGREE) macro109 val = ((dsensor - priv->calib1) * (MCELSIUS(165) / in rzg2l_thermal_get_temp()110 (priv->calib0 - priv->calib1))) - MCELSIUS(40); in rzg2l_thermal_get_temp()
103 #define MCELSIUS(temp) ((temp) * 1000) macro264 *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()
62 #define MCELSIUS(temp) ((temp) * 1000) macro
124 #define MCELSIUS 1000 macro300 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()