Home
last modified time | relevance | path

Searched refs:thermal_zone (Results 1 – 4 of 4) sorted by relevance

/tools/lib/thermal/include/
A Dthermal.h67 struct thermal_zone { struct
91 typedef int (*cb_tz_t)(struct thermal_zone *, void *); argument
107 LIBTHERMAL_API struct thermal_zone *thermal_zone_find_by_name(struct thermal_zone *tz,
110 LIBTHERMAL_API struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id);
137 struct thermal_zone **tz);
143 struct thermal_zone *tz);
146 struct thermal_zone *tz);
149 struct thermal_zone *tz);
152 struct thermal_zone *tz);
155 struct thermal_zone *tz,
[all …]
/tools/lib/thermal/
A Dthermal.c48 int for_each_thermal_zone(struct thermal_zone *tz, cb_tz_t cb, void *arg) in for_each_thermal_zone()
61 struct thermal_zone *thermal_zone_find_by_name(struct thermal_zone *tz, in thermal_zone_find_by_name()
77 struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id) in thermal_zone_find_by_id()
92 static int __thermal_zone_discover(struct thermal_zone *tz, void *th) in __thermal_zone_discover()
106 struct thermal_zone *thermal_zone_discover(struct thermal_handler *th) in thermal_zone_discover()
108 struct thermal_zone *tz; in thermal_zone_discover()
A Dcommands.c44 static int parse_tz_get(struct genl_info *info, struct thermal_zone **tz) in parse_tz_get()
47 struct thermal_zone *__tz = NULL; in parse_tz_get()
118 static int parse_tz_get_trip(struct genl_info *info, struct thermal_zone *tz) in parse_tz_get_trip()
156 static int parse_tz_get_temp(struct genl_info *info, struct thermal_zone *tz) in parse_tz_get_temp()
172 static int parse_tz_get_gov(struct genl_info *info, struct thermal_zone *tz) in parse_tz_get_gov()
191 static int parse_threshold_get(struct genl_info *info, struct thermal_zone *tz) in parse_threshold_get()
404 thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th, struct thermal_zone **tz) in thermal_cmd_get_tz()
441 struct thermal_zone *tz) in thermal_cmd_threshold_get()
450 struct thermal_zone *tz, in thermal_cmd_threshold_add()
461 struct thermal_zone *tz, in thermal_cmd_threshold_delete()
[all …]
/tools/thermal/thermal-engine/
A Dthermal-engine.c37 struct thermal_zone *tz;
57 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp()
66 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor()
75 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz()
90 static int set_threshold(struct thermal_zone *tz, __maybe_unused void *arg) in set_threshold()
131 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_disable()
141 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_enable()
151 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_high()
162 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_low()
189 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_change()
[all …]

Completed in 10 milliseconds