Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/thermal/include/
H A Dthermal.h69 struct thermal_handler;
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);
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);
112 LIBTHERMAL_API thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th,
115 LIBTHERMAL_API thermal_error_t thermal_cmd_get_cdev(struct thermal_handler *th,
[all …]
/openbmc/linux/tools/lib/thermal/
H A 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()
H A 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()
H A 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()
H A Dthermal_nl.h11 struct thermal_handler { struct
25 struct thermal_handler *th; argument
H A 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()
/openbmc/linux/tools/thermal/thermal-engine/
H A Dthermal-engine.c38 struct thermal_handler *th;