Searched refs:prev_temp (Results 1 – 2 of 2) sorted by relevance
| /linux/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/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()
|