Home
last modified time | relevance | path

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

/tools/lib/thermal/include/
A Dthermal.h89 struct thermal_handler;
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);
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,
[all …]
/tools/lib/thermal/
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()
A Dcommands.c374 static thermal_error_t thermal_genl_auto(struct thermal_handler *th, cmd_cb_t cmd_cb, in thermal_genl_auto()
404 thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th, struct thermal_zone **tz) in thermal_cmd_get_tz()
410 thermal_error_t thermal_cmd_get_cdev(struct thermal_handler *th, struct thermal_cdev **tc) in thermal_cmd_get_cdev()
416 thermal_error_t thermal_cmd_get_trip(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_trip()
432 thermal_error_t thermal_cmd_get_temp(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_temp()
440 thermal_error_t thermal_cmd_threshold_get(struct thermal_handler *th, in thermal_cmd_threshold_get()
449 thermal_error_t thermal_cmd_threshold_add(struct thermal_handler *th, in thermal_cmd_threshold_add()
460 thermal_error_t thermal_cmd_threshold_delete(struct thermal_handler *th, in thermal_cmd_threshold_delete()
471 thermal_error_t thermal_cmd_threshold_flush(struct thermal_handler *th, in thermal_cmd_threshold_flush()
480 thermal_error_t thermal_cmd_exit(struct thermal_handler *th) in thermal_cmd_exit()
[all …]
A Dthermal.c106 struct thermal_zone *thermal_zone_discover(struct thermal_handler *th) in thermal_zone_discover()
119 void thermal_exit(struct thermal_handler *th) in thermal_exit()
128 struct thermal_handler *thermal_init(struct thermal_ops *ops) in thermal_init()
130 struct thermal_handler *th; in thermal_init()
A Dthermal_nl.h11 struct thermal_handler { struct
25 struct thermal_handler *th; argument
A Devents.c148 thermal_error_t thermal_events_handle(struct thermal_handler *th, void *arg) in thermal_events_handle()
162 int thermal_events_fd(struct thermal_handler *th) in thermal_events_fd()
170 thermal_error_t thermal_events_exit(struct thermal_handler *th) in thermal_events_exit()
181 thermal_error_t thermal_events_init(struct thermal_handler *th) in thermal_events_init()
/tools/thermal/thermal-engine/
A Dthermal-engine.c38 struct thermal_handler *th;
92 struct thermal_handler *th = arg; in set_threshold()

Completed in 10 milliseconds