Lines Matching refs:ctemp
98 u32 ctemp; member
203 u32 ctemp, old, new; in rcar_thermal_update_temp() local
214 ctemp = 0; in rcar_thermal_update_temp()
226 ctemp = new; in rcar_thermal_update_temp()
232 if (!ctemp) { in rcar_thermal_update_temp()
246 rcar_thermal_write(priv, INTCTRL, (((ctemp - 0) << 8) | in rcar_thermal_update_temp()
247 ((ctemp - 1) << 0))); in rcar_thermal_update_temp()
250 dev_dbg(dev, "thermal%d %d -> %d\n", priv->id, priv->ctemp, ctemp); in rcar_thermal_update_temp()
252 priv->ctemp = ctemp; in rcar_thermal_update_temp()
271 tmp = MCELSIUS((priv->ctemp * 5) - 65); in rcar_thermal_get_current_temp()
272 else if (priv->ctemp < 24) in rcar_thermal_get_current_temp()
273 tmp = MCELSIUS(((priv->ctemp * 55) - 720) / 10); in rcar_thermal_get_current_temp()
275 tmp = MCELSIUS((priv->ctemp * 5) - 60); in rcar_thermal_get_current_temp()