Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Drcar_gen3_thermal.c174 int mcelsius, val; in rcar_gen3_thermal_get_temp() local
186 mcelsius = FIXPT_TO_MCELSIUS(val); in rcar_gen3_thermal_get_temp()
191 *temp = rcar_gen3_thermal_round(mcelsius); in rcar_gen3_thermal_get_temp()
197 int mcelsius) in rcar_gen3_thermal_mcelsius_to_temp() argument
201 celsius = DIV_ROUND_CLOSEST(mcelsius, 1000); in rcar_gen3_thermal_mcelsius_to_temp()
/openbmc/linux/drivers/thermal/st/
H A Dst_thermal.c17 #define mcelsius(temp) ((temp) * 1000) macro
127 temp = mcelsius(temp); in st_thermal_get_temp()