Home
last modified time | relevance | path

Searched refs:tz_id (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/thermal/
Dthermal_netlink.h16 int thermal_notify_tz_create(int tz_id, const char *name);
17 int thermal_notify_tz_delete(int tz_id);
18 int thermal_notify_tz_enable(int tz_id);
19 int thermal_notify_tz_disable(int tz_id);
20 int thermal_notify_tz_trip_down(int tz_id, int id, int temp);
21 int thermal_notify_tz_trip_up(int tz_id, int id, int temp);
22 int thermal_notify_tz_trip_delete(int tz_id, int id);
23 int thermal_notify_tz_trip_add(int tz_id, int id, int type,
25 int thermal_notify_tz_trip_change(int tz_id, int id, int type,
30 int thermal_notify_tz_gov_change(int tz_id, const char *name);
[all …]
Dthermal_netlink.c57 int tz_id; member
113 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_create()
122 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id)) in thermal_genl_event_tz()
130 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_up()
140 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_add()
152 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_tz_trip_delete()
193 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_TZ_ID, p->tz_id) || in thermal_genl_event_gov_change()
305 int thermal_notify_tz_create(int tz_id, const char *name) in thermal_notify_tz_create() argument
307 struct param p = { .tz_id = tz_id, .name = name }; in thermal_notify_tz_create()
312 int thermal_notify_tz_delete(int tz_id) in thermal_notify_tz_delete() argument
[all …]
Dthermal_core.c1353 int i, tz_id; in thermal_zone_device_unregister() local
1362 tz_id = tz->id; in thermal_zone_device_unregister()
1405 thermal_notify_tz_delete(tz_id); in thermal_zone_device_unregister()
/linux-6.1.9/tools/thermal/thermal-engine/
Dthermal-engine.c80 static int tz_create(const char *name, int tz_id, __maybe_unused void *arg) in tz_create() argument
82 INFO("Thermal zone '%s'/%d created\n", name, tz_id); in tz_create()
87 static int tz_delete(int tz_id, __maybe_unused void *arg) in tz_delete() argument
89 INFO("Thermal zone %d deleted\n", tz_id); in tz_delete()
94 static int tz_disable(int tz_id, void *arg) in tz_disable() argument
97 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_disable()
99 INFO("Thermal zone %d ('%s') disabled\n", tz_id, tz->name); in tz_disable()
104 static int tz_enable(int tz_id, void *arg) in tz_enable() argument
107 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_enable()
109 INFO("Thermal zone %d ('%s') enabled\n", tz_id, tz->name); in tz_enable()
[all …]
/linux-6.1.9/tools/lib/thermal/include/
Dthermal.h17 int (*tz_temp)(int tz_id, int temp, void *arg);
21 int (*tz_create)(const char *name, int tz_id, void *arg);
22 int (*tz_delete)(int tz_id, void *arg);
23 int (*tz_enable)(int tz_id, void *arg);
24 int (*tz_disable)(int tz_id, void *arg);
25 int (*trip_high)(int tz_id, int trip_id, int temp, void *arg);
26 int (*trip_low)(int tz_id, int trip_id, int temp, void *arg);
27 int (*trip_add)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg);
28 int (*trip_change)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg);
29 int (*trip_delete)(int tz_id, int trip_id, void *arg);
[all …]
/linux-6.1.9/include/trace/events/
Dthermal_power_allocator.h20 __field(int, tz_id )
32 __entry->tz_id = tz->id;
47 __entry->tz_id,
63 __field(int, tz_id )
72 __entry->tz_id = tz->id;
82 __entry->tz_id, __entry->err, __entry->err_integral,
/linux-6.1.9/tools/thermal/tmon/
Dsysfs.c167 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()