Lines Matching refs:arg
41 static int show_trip(struct thermal_trip *tt, __maybe_unused void *arg) in show_trip() argument
49 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp() argument
51 thermal_cmd_get_temp(arg, tz); in show_temp()
58 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor() argument
60 thermal_cmd_get_governor(arg, tz); in show_governor()
67 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz() argument
73 show_temp(tz, arg); in show_tz()
75 show_governor(tz, arg); in show_tz()
80 static int tz_create(const char *name, int tz_id, __maybe_unused void *arg) in tz_create() argument
87 static int tz_delete(int tz_id, __maybe_unused void *arg) in tz_delete() argument
94 static int tz_disable(int tz_id, void *arg) in tz_disable() argument
96 struct thermal_data *td = arg; in tz_disable()
104 static int tz_enable(int tz_id, void *arg) in tz_enable() argument
106 struct thermal_data *td = arg; in tz_enable()
114 static int trip_high(int tz_id, int trip_id, int temp, void *arg) in trip_high() argument
116 struct thermal_data *td = arg; in trip_high()
125 static int trip_low(int tz_id, int trip_id, int temp, void *arg) in trip_low() argument
127 struct thermal_data *td = arg; in trip_low()
136 static int trip_add(int tz_id, int trip_id, int type, int temp, int hyst, __maybe_unused void *arg) in trip_add() argument
144 static int trip_delete(int tz_id, int trip_id, __maybe_unused void *arg) in trip_delete() argument
152 int hyst, __maybe_unused void *arg) in trip_change() argument
154 struct thermal_data *td = arg; in trip_change()
167 static int cdev_add(const char *name, int cdev_id, int max_state, __maybe_unused void *arg) in cdev_add() argument
174 static int cdev_delete(int cdev_id, __maybe_unused void *arg) in cdev_delete() argument
181 static int cdev_update(int cdev_id, int cur_state, __maybe_unused void *arg) in cdev_update() argument
188 static int gov_change(int tz_id, const char *name, __maybe_unused void *arg) in gov_change() argument
190 struct thermal_data *td = arg; in gov_change()
216 static int thermal_event(__maybe_unused int fd, __maybe_unused void *arg) in thermal_event() argument
218 struct thermal_data *td = arg; in thermal_event()