Lines Matching full:arg

41 static int show_threshold(struct thermal_threshold *th, __maybe_unused void *arg)  in show_threshold()  argument
49 static int show_trip(struct thermal_trip *tt, __maybe_unused void *arg) in show_trip() argument
57 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp() argument
59 thermal_cmd_get_temp(arg, tz); in show_temp()
66 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor() argument
68 thermal_cmd_get_governor(arg, tz); in show_governor()
75 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz() argument
83 show_temp(tz, arg); in show_tz()
85 show_governor(tz, arg); in show_tz()
90 static int set_threshold(struct thermal_zone *tz, __maybe_unused void *arg) in set_threshold() argument
92 struct thermal_handler *th = arg; in set_threshold()
114 static int tz_create(const char *name, int tz_id, __maybe_unused void *arg) in tz_create() argument
121 static int tz_delete(int tz_id, __maybe_unused void *arg) in tz_delete() argument
128 static int tz_disable(int tz_id, void *arg) in tz_disable() argument
130 struct thermal_data *td = arg; in tz_disable()
138 static int tz_enable(int tz_id, void *arg) in tz_enable() argument
140 struct thermal_data *td = arg; in tz_enable()
148 static int trip_high(int tz_id, int trip_id, int temp, void *arg) in trip_high() argument
150 struct thermal_data *td = arg; in trip_high()
159 static int trip_low(int tz_id, int trip_id, int temp, void *arg) in trip_low() argument
161 struct thermal_data *td = arg; in trip_low()
170 static int trip_add(int tz_id, int trip_id, int type, int temp, int hyst, __maybe_unused void *arg) in trip_add() argument
178 static int trip_delete(int tz_id, int trip_id, __maybe_unused void *arg) in trip_delete() argument
186 int hyst, __maybe_unused void *arg) in trip_change() argument
188 struct thermal_data *td = arg; in trip_change()
201 static int cdev_add(const char *name, int cdev_id, int max_state, __maybe_unused void *arg) in cdev_add() argument
208 static int cdev_delete(int cdev_id, __maybe_unused void *arg) in cdev_delete() argument
215 static int cdev_update(int cdev_id, int cur_state, __maybe_unused void *arg) in cdev_update() argument
222 static int gov_change(int tz_id, const char *name, __maybe_unused void *arg) in gov_change() argument
224 struct thermal_data *td = arg; in gov_change()
234 static int threshold_add(int tz_id, int temp, int direction, __maybe_unused void *arg) in threshold_add() argument
241 static int threshold_delete(int tz_id, int temp, int direction, __maybe_unused void *arg) in threshold_delete() argument
248 static int threshold_flush(int tz_id, __maybe_unused void *arg) in threshold_flush() argument
255 static int threshold_up(int tz_id, int temp, int prev_temp, __maybe_unused void *arg) in threshold_up() argument
263 static int threshold_down(int tz_id, int temp, int prev_temp, __maybe_unused void *arg) in threshold_down() argument
292 static int thermal_event(__maybe_unused int fd, __maybe_unused void *arg) in thermal_event() argument
294 struct thermal_data *td = arg; in thermal_event()