Searched refs:last_temp (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/thermal/qcom/ |
D | tsens-common.c | 91 u32 last_temp = 0, valid, mask; in get_temp_tsens_valid() local 109 ret = regmap_field_read(priv->rf[temp_idx], &last_temp); in get_temp_tsens_valid() 115 *temp = code_to_degc(last_temp, s) * 1000; in get_temp_tsens_valid() 120 *temp = sign_extend32(last_temp, fls(mask) - 1) * 100; in get_temp_tsens_valid() 129 int last_temp = 0, ret; in get_temp_common() local 131 ret = regmap_field_read(priv->rf[LAST_TEMP_0 + s->hw_id], &last_temp); in get_temp_common() 135 *temp = code_to_degc(last_temp, s) * 1000; in get_temp_common()
|
/Linux-v5.4/drivers/thermal/ |
D | imx_thermal.c | 214 int last_temp; member 327 if (*temp != data->last_temp) { in imx_get_temp() 329 data->last_temp = *temp; in imx_get_temp()
|
/Linux-v5.4/drivers/thermal/tegra/ |
D | soctherm.c | 640 int trip_temp, temp, last_temp, ret; in tegra_thermctl_get_trend() local 650 last_temp = READ_ONCE(tz->last_temperature); in tegra_thermctl_get_trend() 653 if (temp >= last_temp) in tegra_thermctl_get_trend()
|