Lines Matching defs:tz_id
80 static int tz_create(const char *name, int tz_id, __maybe_unused void *arg)
82 INFO("Thermal zone '%s'/%d created\n", name, tz_id);
87 static int tz_delete(int tz_id, __maybe_unused void *arg)
89 INFO("Thermal zone %d deleted\n", tz_id);
94 static int tz_disable(int tz_id, void *arg)
97 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
99 INFO("Thermal zone %d ('%s') disabled\n", tz_id, tz->name);
104 static int tz_enable(int tz_id, void *arg)
107 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
109 INFO("Thermal zone %d ('%s') enabled\n", tz_id, tz->name);
114 static int trip_high(int tz_id, int trip_id, int temp, void *arg)
117 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
120 tz_id, tz->name, trip_id, temp);
125 static int trip_low(int tz_id, int trip_id, int temp, void *arg)
128 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
131 tz_id, tz->name, trip_id, temp);
136 static int trip_add(int tz_id, int trip_id, int type, int temp, int hyst, __maybe_unused void *arg)
139 tz_id, trip_id, type, temp, hyst);
144 static int trip_delete(int tz_id, int trip_id, __maybe_unused void *arg)
146 INFO("Trip point deleted %d: id=%d\n", tz_id, trip_id);
151 static int trip_change(int tz_id, int trip_id, int type, int temp,
155 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);
158 tz_id, trip_id, type, temp, hyst);
188 static int gov_change(int tz_id, const char *name, __maybe_unused void *arg)
191 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id);