Lines Matching refs:LIBTHERMAL_API

9 #ifndef LIBTHERMAL_API
10 #define LIBTHERMAL_API __attribute__((visibility("default"))) macro
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);
107 LIBTHERMAL_API struct thermal_zone *thermal_zone_find_by_name(struct thermal_zone *tz,
110 LIBTHERMAL_API struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id);
112 LIBTHERMAL_API struct thermal_zone *thermal_zone_discover(struct thermal_handler *th);
114 LIBTHERMAL_API struct thermal_handler *thermal_init(struct thermal_ops *ops);
116 LIBTHERMAL_API void thermal_exit(struct thermal_handler *th);
121 LIBTHERMAL_API thermal_error_t thermal_events_exit(struct thermal_handler *th);
123 LIBTHERMAL_API thermal_error_t thermal_events_init(struct thermal_handler *th);
125 LIBTHERMAL_API thermal_error_t thermal_events_handle(struct thermal_handler *th, void *arg);
127 LIBTHERMAL_API int thermal_events_fd(struct thermal_handler *th);
132 LIBTHERMAL_API thermal_error_t thermal_cmd_exit(struct thermal_handler *th);
134 LIBTHERMAL_API thermal_error_t thermal_cmd_init(struct thermal_handler *th);
136 LIBTHERMAL_API thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th,
139 LIBTHERMAL_API thermal_error_t thermal_cmd_get_cdev(struct thermal_handler *th,
142 LIBTHERMAL_API thermal_error_t thermal_cmd_get_trip(struct thermal_handler *th,
145 LIBTHERMAL_API thermal_error_t thermal_cmd_get_governor(struct thermal_handler *th,
148 LIBTHERMAL_API thermal_error_t thermal_cmd_get_temp(struct thermal_handler *th,
151 LIBTHERMAL_API thermal_error_t thermal_cmd_threshold_get(struct thermal_handler *th,
154 LIBTHERMAL_API thermal_error_t thermal_cmd_threshold_add(struct thermal_handler *th,
159 LIBTHERMAL_API thermal_error_t thermal_cmd_threshold_delete(struct thermal_handler *th,
164 LIBTHERMAL_API thermal_error_t thermal_cmd_threshold_flush(struct thermal_handler *th,
170 LIBTHERMAL_API thermal_error_t thermal_sampling_exit(struct thermal_handler *th);
172 LIBTHERMAL_API thermal_error_t thermal_sampling_init(struct thermal_handler *th);
174 LIBTHERMAL_API thermal_error_t thermal_sampling_handle(struct thermal_handler *th, void *arg);
176 LIBTHERMAL_API int thermal_sampling_fd(struct thermal_handler *th);