Searched refs:tz_id (Results 1 – 4 of 4) sorted by relevance
| /tools/thermal/thermal-engine/ |
| 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 …]
|
| /tools/lib/thermal/include/ |
| 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 …]
|
| /tools/lib/thermal/ |
| 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()
|
| /tools/thermal/tmon/ |
| 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()
|
Completed in 11 milliseconds