Searched refs:prev_temp (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/tools/thermal/thermal-engine/ |
| H A D | thermal-engine.c | 255 static int threshold_up(int tz_id, int temp, int prev_temp, __maybe_unused void *arg) in threshold_up() argument 258 tz_id, temp, prev_temp); in threshold_up() 263 static int threshold_down(int tz_id, int temp, int prev_temp, __maybe_unused void *arg) in threshold_down() argument 266 tz_id, temp, prev_temp); in threshold_down()
|
| /linux-6.15/tools/lib/thermal/include/ |
| H A D | thermal.h | 46 int (*threshold_up)(int tz_id, int temp, int prev_temp, void *arg); 47 int (*threshold_down)(int tz_id, int temp, int prev_temp, void *arg);
|
| /linux-6.15/drivers/thermal/ |
| H A D | thermal_netlink.c | 71 int prev_temp; member 266 nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_PREV_TEMP, p->prev_temp) || in thermal_genl_event_threshold_up() 476 struct param p = { .tz_id = tz->id, .temp = tz->temperature, .prev_temp = tz->last_temperature }; in thermal_notify_threshold_down() 483 struct param p = { .tz_id = tz->id, .temp = tz->temperature, .prev_temp = tz->last_temperature }; in thermal_notify_threshold_up()
|