Lines Matching full:int

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);
36 int (*trip_add)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg);
37 int (*trip_change)(int tz_id, int trip_id, int type, int temp, int hyst, void *arg);
38 int (*trip_delete)(int tz_id, int trip_id, void *arg);
39 int (*cdev_add)(const char *name, int cdev_id, int max_state, void *arg);
40 int (*cdev_delete)(int cdev_id, void *arg);
41 int (*cdev_update)(int cdev_id, int cur_state, void *arg);
42 int (*gov_change)(int tz_id, const char *gov_name, void *arg);
43 int (*threshold_add)(int tz_id, int temperature, int direction, void *arg);
44 int (*threshold_delete)(int tz_id, int temperature, int direction, void *arg);
45 int (*threshold_flush)(int tz_id, void *arg);
46 int (*threshold_up)(int tz_id, int temp, int prev_temp, void *arg);
47 int (*threshold_down)(int tz_id, int temp, int prev_temp, void *arg);
56 int id;
57 int type;
58 int temp;
59 int hyst;
63 int temperature;
64 int direction;
68 int id;
69 int temp;
77 int id;
79 int max_state;
80 int min_state;
81 int cur_state;
91 typedef int (*cb_tz_t)(struct thermal_zone *, void *);
93 typedef int (*cb_tt_t)(struct thermal_trip *, void *);
95 typedef int (*cb_tc_t)(struct thermal_cdev *, void *);
97 typedef int (*cb_th_t)(struct thermal_threshold *, void *);
99 LIBTHERMAL_API int for_each_thermal_zone(struct thermal_zone *tz, cb_tz_t cb, void *arg);
101 LIBTHERMAL_API int for_each_thermal_trip(struct thermal_trip *tt, cb_tt_t cb, void *arg);
103 LIBTHERMAL_API int for_each_thermal_cdev(struct thermal_cdev *cdev, cb_tc_t cb, void *arg);
105 LIBTHERMAL_API int for_each_thermal_threshold(struct thermal_threshold *th, cb_th_t cb, void *arg);
110 LIBTHERMAL_API struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id);
127 LIBTHERMAL_API int thermal_events_fd(struct thermal_handler *th);
156 int temperature,
157 int direction);
161 int temperature,
162 int direction);
176 LIBTHERMAL_API int thermal_sampling_fd(struct thermal_handler *th);