Home
last modified time | relevance | path

Searched refs:last_temp (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/thermal/
H A Drk_virtual_thermal.c655 static int last_temp = LOWEST_TEMP; in estimate_temp_internal() local
668 if (last_temp == LOWEST_TEMP) in estimate_temp_internal()
671 temp_delta = temp - last_temp; in estimate_temp_internal()
675 if (last_temp != LOWEST_TEMP) in estimate_temp_internal()
676 temp = last_temp + temp_delta; in estimate_temp_internal()
678 last_temp = temp; in estimate_temp_internal()
H A Dimx_thermal.c208 int last_temp; member
293 if (*temp != data->last_temp) { in imx_get_temp()
295 data->last_temp = *temp; in imx_get_temp()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_system_monitor.c74 int last_temp; member
1628 if (temp < system_monitor->last_temp && in rockchip_system_monitor_thermal_update()
1629 system_monitor->last_temp - temp <= 2000) in rockchip_system_monitor_thermal_update()
1631 system_monitor->last_temp = temp; in rockchip_system_monitor_thermal_update()
1764 system_monitor->last_temp = INT_MAX; in monitor_pm_notify()
1884 system_monitor->last_temp = INT_MAX; in rockchip_system_monitor_probe()
/OK3568_Linux_fs/kernel/drivers/thermal/qcom/
H A Dtsens.c611 int last_temp = 0, ret; in get_temp_common() local
613 ret = regmap_field_read(priv->rf[LAST_TEMP_0 + hw_id], &last_temp); in get_temp_common()
617 *temp = code_to_degc(last_temp, s) * 1000; in get_temp_common()
/OK3568_Linux_fs/kernel/drivers/thermal/tegra/
H A Dsoctherm.c641 int trip_temp, temp, last_temp, ret; in tegra_thermctl_get_trend() local
651 last_temp = READ_ONCE(tz->last_temperature); in tegra_thermctl_get_trend()
654 if (temp >= last_temp) in tegra_thermctl_get_trend()