| /linux-6.15/tools/thermal/thermal-engine/ |
| H A D | thermal-engine.c | 116 INFO("Thermal zone '%s'/%d created\n", name, tz_id); in tz_create() 123 INFO("Thermal zone %d deleted\n", tz_id); in tz_delete() 128 static int tz_disable(int tz_id, void *arg) in tz_disable() argument 138 static int tz_enable(int tz_id, void *arg) in tz_enable() argument 154 tz_id, tz->name, trip_id, temp); in trip_high() 165 tz_id, tz->name, trip_id, temp); in trip_low() 173 tz_id, trip_id, type, temp, hyst); in trip_add() 192 tz_id, trip_id, type, temp, hyst); in trip_change() 250 INFO("Thresholds flushed tz_id=%d\n", tz_id); in threshold_flush() 258 tz_id, temp, prev_temp); in threshold_up() [all …]
|
| /linux-6.15/tools/lib/thermal/include/ |
| H A D | thermal.h | 26 int (*tz_temp)(int tz_id, int temp, void *arg); 30 int (*tz_create)(const char *name, int tz_id, void *arg); 31 int (*tz_delete)(int tz_id, void *arg); 32 int (*tz_enable)(int tz_id, void *arg); 33 int (*tz_disable)(int tz_id, void *arg); 34 int (*trip_high)(int tz_id, int trip_id, int temp, void *arg); 35 int (*trip_low)(int tz_id, int trip_id, int temp, void *arg); 38 int (*trip_delete)(int tz_id, int trip_id, void *arg); 42 int (*gov_change)(int tz_id, const char *gov_name, void *arg); 45 int (*threshold_flush)(int tz_id, void *arg); [all …]
|
| /linux-6.15/drivers/thermal/ |
| H A D | thermal_trace_ipa.h | 19 __field(int, tz_id ) 29 __entry->tz_id = tz->id; 40 __entry->tz_id, __entry->total_req_power, 51 __field(int, tz_id) 57 __entry->tz_id = tz->id; 64 __entry->tz_id, __entry->actor_id, __entry->req_power, 73 __field(int, tz_id ) 82 __entry->tz_id = tz->id; 92 __entry->tz_id, __entry->err, __entry->err_integral,
|
| H A D | thermal_netlink.c | 64 int tz_id; member 140 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_event_tz() 353 struct param p = { .tz_id = tz->id, .name = tz->type }; in thermal_notify_tz_create() 360 struct param p = { .tz_id = tz->id }; in thermal_notify_tz_delete() 367 struct param p = { .tz_id = tz->id }; in thermal_notify_tz_enable() 374 struct param p = { .tz_id = tz->id }; in thermal_notify_tz_disable() 382 struct param p = { .tz_id = tz->id, in thermal_notify_tz_trip_down() 392 struct param p = { .tz_id = tz->id, in thermal_notify_tz_trip_up() 402 struct param p = { .tz_id = tz->id, in thermal_notify_tz_trip_change() 437 struct param p = { .tz_id = tz->id, .name = name }; in thermal_notify_tz_gov_change() [all …]
|
| /linux-6.15/tools/lib/thermal/ |
| H A D | commands.c | 345 int tz_id; member 354 if (nla_put_u32(msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_tz_id_encode() 418 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_get_trip() 426 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_get_governor() 434 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_get_temp() 443 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_threshold_get() 454 struct cmd_param p = { .tz_id = tz->id, .temp = temperature, .direction = direction }; in thermal_cmd_threshold_add() 465 struct cmd_param p = { .tz_id = tz->id, .temp = temperature, .direction = direction }; in thermal_cmd_threshold_delete() 474 struct cmd_param p = { .tz_id = tz->id }; in thermal_cmd_threshold_flush()
|
| /linux-6.15/tools/thermal/tmon/ |
| H A D | sysfs.c | 167 int tz_id) in find_tzone_tp() argument 189 get_trip_point_data(tz_name, tz_id, tp_id); in find_tzone_tp() 199 struct tz_info *tzi, int tz_id, int cid) in find_tzone_cdev() argument 208 syslog(LOG_DEBUG, "TZ%d: cdev: %s cid %d\n", tz_id, nl->d_name, in find_tzone_cdev()
|