Home
last modified time | relevance | path

Searched refs:celsius (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/thermal/
H A Drcar_gen3_thermal.c194 int celsius, val; in rcar_gen3_thermal_mcelsius_to_temp() local
196 celsius = DIV_ROUND_CLOSEST(mcelsius, 1000); in rcar_gen3_thermal_mcelsius_to_temp()
197 if (celsius <= INT_FIXPT(tsc->tj_t)) in rcar_gen3_thermal_mcelsius_to_temp()
198 val = celsius * tsc->coef.a1 + tsc->coef.b1; in rcar_gen3_thermal_mcelsius_to_temp()
200 val = celsius * tsc->coef.a2 + tsc->coef.b2; in rcar_gen3_thermal_mcelsius_to_temp()
H A Dimx_sc_thermal.c34 s16 celsius; member
68 *temp = msg.data.resp.celsius * 1000 + msg.data.resp.tenths * 100; in imx_sc_thermal_get_temp()
/kernel/linux/linux-6.6/drivers/thermal/
H A Drcar_gen3_thermal.c199 int celsius, val; in rcar_gen3_thermal_mcelsius_to_temp() local
201 celsius = DIV_ROUND_CLOSEST(mcelsius, 1000); in rcar_gen3_thermal_mcelsius_to_temp()
202 if (celsius <= INT_FIXPT(tsc->tj_t)) in rcar_gen3_thermal_mcelsius_to_temp()
203 val = celsius * tsc->coef.a1 + tsc->coef.b1; in rcar_gen3_thermal_mcelsius_to_temp()
205 val = celsius * tsc->coef.a2 + tsc->coef.b2; in rcar_gen3_thermal_mcelsius_to_temp()
H A Dimx_sc_thermal.c32 s16 celsius; member
63 *temp = msg.data.resp.celsius * 1000 + msg.data.resp.tenths * 100; in imx_sc_thermal_get_temp()

Completed in 3 milliseconds