Home
last modified time | relevance | path

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

/linux-5.19.10/tools/lib/thermal/include/
Dthermal.h69 struct thermal_handler;
88 LIBTHERMAL_API struct thermal_zone *thermal_zone_discover(struct thermal_handler *th);
90 LIBTHERMAL_API struct thermal_handler *thermal_init(struct thermal_ops *ops);
92 LIBTHERMAL_API void thermal_exit(struct thermal_handler *th);
97 LIBTHERMAL_API thermal_error_t thermal_events_exit(struct thermal_handler *th);
99 LIBTHERMAL_API thermal_error_t thermal_events_init(struct thermal_handler *th);
101 LIBTHERMAL_API thermal_error_t thermal_events_handle(struct thermal_handler *th, void *arg);
103 LIBTHERMAL_API int thermal_events_fd(struct thermal_handler *th);
108 LIBTHERMAL_API thermal_error_t thermal_cmd_exit(struct thermal_handler *th);
110 LIBTHERMAL_API thermal_error_t thermal_cmd_init(struct thermal_handler *th);
[all …]
/linux-5.19.10/tools/lib/thermal/
Dsampling.c17 struct thermal_handler *th = thp->th; in handle_thermal_sample()
32 thermal_error_t thermal_sampling_handle(struct thermal_handler *th, void *arg) in thermal_sampling_handle()
46 int thermal_sampling_fd(struct thermal_handler *th) in thermal_sampling_fd()
54 thermal_error_t thermal_sampling_exit(struct thermal_handler *th) in thermal_sampling_exit()
65 thermal_error_t thermal_sampling_init(struct thermal_handler *th) in thermal_sampling_init()
Dcommands.c264 static thermal_error_t thermal_genl_auto(struct thermal_handler *th, int id, int cmd, in thermal_genl_auto()
290 thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th, struct thermal_zone **tz) in thermal_cmd_get_tz()
296 thermal_error_t thermal_cmd_get_cdev(struct thermal_handler *th, struct thermal_cdev **tc) in thermal_cmd_get_cdev()
302 thermal_error_t thermal_cmd_get_trip(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_trip()
308 thermal_error_t thermal_cmd_get_governor(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_governor()
313 thermal_error_t thermal_cmd_get_temp(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_temp()
318 thermal_error_t thermal_cmd_exit(struct thermal_handler *th) in thermal_cmd_exit()
328 thermal_error_t thermal_cmd_init(struct thermal_handler *th) in thermal_cmd_init()
Dthermal.c89 struct thermal_zone *thermal_zone_discover(struct thermal_handler *th) in thermal_zone_discover()
102 void thermal_exit(struct thermal_handler *th) in thermal_exit()
111 struct thermal_handler *thermal_init(struct thermal_ops *ops) in thermal_init()
113 struct thermal_handler *th; in thermal_init()
Devents.c119 thermal_error_t thermal_events_handle(struct thermal_handler *th, void *arg) in thermal_events_handle()
133 int thermal_events_fd(struct thermal_handler *th) in thermal_events_fd()
141 thermal_error_t thermal_events_exit(struct thermal_handler *th) in thermal_events_exit()
152 thermal_error_t thermal_events_init(struct thermal_handler *th) in thermal_events_init()
Dthermal_nl.h11 struct thermal_handler { struct
25 struct thermal_handler *th; argument
/linux-5.19.10/tools/thermal/thermal-engine/
Dthermal-engine.c38 struct thermal_handler *th;