Home
last modified time | relevance | path

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

/linux/tools/lib/thermal/include/
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 …]
/linux/drivers/platform/x86/dell/
A Ddell-pc.c108 static struct platform_profile_handler *thermal_handler; variable
247 thermal_handler = kzalloc(sizeof(*thermal_handler), GFP_KERNEL); in thermal_init()
248 if (!thermal_handler) in thermal_init()
250 thermal_handler->profile_get = thermal_platform_profile_get; in thermal_init()
254 set_bit(PLATFORM_PROFILE_QUIET, thermal_handler->choices); in thermal_init()
256 set_bit(PLATFORM_PROFILE_COOL, thermal_handler->choices); in thermal_init()
263 ret = platform_profile_register(thermal_handler); in thermal_init()
265 kfree(thermal_handler); in thermal_init()
266 thermal_handler = NULL; in thermal_init()
274 if (thermal_handler) { in thermal_cleanup()
[all …]
/linux/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.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()
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()
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()
A Dthermal_nl.h11 struct thermal_handler { struct
25 struct thermal_handler *th; argument
/linux/tools/thermal/thermal-engine/
A Dthermal-engine.c38 struct thermal_handler *th;

Completed in 16 milliseconds