Home
last modified time | relevance | path

Searched refs:thermal_handler (Results 1 – 3 of 3) sorted by relevance

/linux/tools/lib/thermal/include/
H A Dthermal.h89 struct thermal_handler;
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);
[all …]
/linux/tools/lib/thermal/
H A Dsampling.c17 struct thermal_handler *th = thp->th; in handle_thermal_sample()
34 thermal_error_t thermal_sampling_handle(struct thermal_handler *th, void *arg) in thermal_sampling_handle()
48 int thermal_sampling_fd(struct thermal_handler *th) in thermal_sampling_fd()
56 thermal_error_t thermal_sampling_exit(struct thermal_handler *th) in thermal_sampling_exit()
67 thermal_error_t thermal_sampling_init(struct thermal_handler *th) in thermal_sampling_init()
H A Dthermal_nl.h11 struct thermal_handler { struct
25 struct thermal_handler *th; argument