Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/thermal/
Drcar_gen3_thermal.c170 int mcelsius, val; in rcar_gen3_thermal_get_temp() local
182 mcelsius = FIXPT_TO_MCELSIUS(val); in rcar_gen3_thermal_get_temp()
187 *temp = rcar_gen3_thermal_round(mcelsius); in rcar_gen3_thermal_get_temp()
193 int mcelsius) in rcar_gen3_thermal_mcelsius_to_temp() argument
197 celsius = DIV_ROUND_CLOSEST(mcelsius, 1000); in rcar_gen3_thermal_mcelsius_to_temp()
/linux-6.1.9/drivers/thermal/st/
Dst_thermal.c17 #define mcelsius(temp) ((temp) * 1000) macro
128 temp = mcelsius(temp); in st_thermal_get_temp()
163 *temp = mcelsius(sensor->cdata->crit_temp); in st_thermal_get_trip_temp()