Home
last modified time | relevance | path

Searched defs:tz (Results 1 – 25 of 105) sorted by relevance

12345

/linux/drivers/thermal/
A Dthermal_core.c94 static int thermal_set_governor(struct thermal_zone_device *tz, in thermal_set_governor()
483 struct thermal_zone_device *tz = container_of(work, struct in thermal_zone_device_check() local
504 struct thermal_zone_device *tz, in thermal_governor_trip_crossed()
710 struct thermal_zone_device *tz; in for_each_thermal_zone() local
726 struct thermal_zone_device *tz, *match = NULL; in thermal_zone_get_by_id() local
904 struct thermal_zone_device *tz; in thermal_release() local
926 void print_bind_err_msg(struct thermal_zone_device *tz, in print_bind_err_msg()
1283 struct thermal_zone_device *tz; in thermal_cooling_device_unregister() local
1370 struct thermal_zone_device *tz; in thermal_zone_device_register_with_trips() local
1659 struct thermal_zone_device *tz; in thermal_zone_device_resume() local
[all …]
A Dthermal_debugfs.h22 static inline void thermal_debug_tz_add(struct thermal_zone_device *tz) {} in thermal_debug_tz_add()
23 static inline void thermal_debug_tz_remove(struct thermal_zone_device *tz) {} in thermal_debug_tz_remove()
24 static inline void thermal_debug_tz_resume(struct thermal_zone_device *tz) {} in thermal_debug_tz_resume()
25 static inline void thermal_debug_tz_trip_up(struct thermal_zone_device *tz, in thermal_debug_tz_trip_up()
27 static inline void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, in thermal_debug_tz_trip_down()
29 static inline void thermal_debug_update_trip_stats(struct thermal_zone_device *tz) {} in thermal_debug_update_trip_stats()
A Dthermal_helpers.c25 int get_tz_trend(struct thermal_zone_device *tz, const struct thermal_trip *trip) in get_tz_trend()
42 static bool thermal_instance_present(struct thermal_zone_device *tz, in thermal_instance_present()
56 bool thermal_trip_is_bound_to_cdev(struct thermal_zone_device *tz, in thermal_trip_is_bound_to_cdev()
88 int __thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in __thermal_zone_get_temp()
133 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
219 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope()
234 int thermal_zone_get_offset(struct thermal_zone_device *tz) in thermal_zone_get_offset()
A Dthermal_netlink.h62 static inline int thermal_notify_tz_create(const struct thermal_zone_device *tz) in thermal_notify_tz_create()
77 static inline int thermal_notify_tz_delete(const struct thermal_zone_device *tz) in thermal_notify_tz_delete()
82 static inline int thermal_notify_tz_enable(const struct thermal_zone_device *tz) in thermal_notify_tz_enable()
87 static inline int thermal_notify_tz_disable(const struct thermal_zone_device *tz) in thermal_notify_tz_disable()
92 static inline int thermal_notify_tz_trip_down(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_down()
98 static inline int thermal_notify_tz_trip_up(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_up()
104 static inline int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_change()
126 static inline int thermal_notify_tz_gov_change(const struct thermal_zone_device *tz, in thermal_notify_tz_gov_change()
A Dthermal_hwmon.c40 struct thermal_zone_device *tz; member
59 struct thermal_zone_device *tz = temp->tz; in temp_input_show() local
77 struct thermal_zone_device *tz = temp->tz; in temp_crit_show() local
95 thermal_hwmon_lookup_by_type(const struct thermal_zone_device *tz) in thermal_hwmon_lookup_by_type()
117 const struct thermal_zone_device *tz) in thermal_hwmon_lookup_temp()
132 static bool thermal_zone_crit_temp_valid(struct thermal_zone_device *tz) in thermal_zone_crit_temp_valid()
138 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs()
221 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs()
264 int devm_thermal_add_hwmon_sysfs(struct device *dev, struct thermal_zone_device *tz) in devm_thermal_add_hwmon_sysfs()
A Dthermal_trip.c27 int for_each_thermal_trip(struct thermal_zone_device *tz, in for_each_thermal_trip()
44 int thermal_zone_for_each_trip(struct thermal_zone_device *tz, in thermal_zone_for_each_trip()
58 void thermal_zone_set_trips(struct thermal_zone_device *tz, int low, int high) in thermal_zone_set_trips()
86 int thermal_zone_trip_id(const struct thermal_zone_device *tz, in thermal_zone_trip_id()
96 void thermal_zone_set_trip_hyst(struct thermal_zone_device *tz, in thermal_zone_set_trip_hyst()
103 void thermal_zone_set_trip_temp(struct thermal_zone_device *tz, in thermal_zone_set_trip_temp()
A Dthermal_sysfs.c30 struct thermal_zone_device *tz = to_thermal_zone(dev); in type_show() local
38 struct thermal_zone_device *tz = to_thermal_zone(dev); in temp_show() local
52 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_show() local
66 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_store() local
105 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_store() local
154 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_store() local
205 struct thermal_zone_device *tz = to_thermal_zone(dev); in policy_store() local
221 struct thermal_zone_device *tz = to_thermal_zone(dev); in policy_show() local
238 struct thermal_zone_device *tz = to_thermal_zone(dev); in emul_temp_store() local
266 struct thermal_zone_device *tz = to_thermal_zone(dev); in sustainable_power_show() local
[all …]
A Dgov_power_allocator.c118 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power()
150 static void estimate_pid_constants(struct thermal_zone_device *tz, in estimate_pid_constants()
198 static u32 get_sustainable_power(struct thermal_zone_device *tz, in get_sustainable_power()
240 static u32 pid_controller(struct thermal_zone_device *tz, in pid_controller()
493 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips()
538 static void allow_maximum_power(struct thermal_zone_device *tz) in allow_maximum_power()
581 static int check_power_actors(struct thermal_zone_device *tz, in check_power_actors()
634 static void power_allocator_update_tz(struct thermal_zone_device *tz, in power_allocator_update_tz()
674 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind()
732 static void power_allocator_unbind(struct thermal_zone_device *tz) in power_allocator_unbind()
[all …]
A Dthermal_hwmon.h24 thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs()
30 devm_thermal_add_hwmon_sysfs(struct device *dev, struct thermal_zone_device *tz) in devm_thermal_add_hwmon_sysfs()
36 thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs()
A Dthermal_netlink.c304 int thermal_notify_tz_create(const struct thermal_zone_device *tz) in thermal_notify_tz_create()
311 int thermal_notify_tz_delete(const struct thermal_zone_device *tz) in thermal_notify_tz_delete()
318 int thermal_notify_tz_enable(const struct thermal_zone_device *tz) in thermal_notify_tz_enable()
325 int thermal_notify_tz_disable(const struct thermal_zone_device *tz) in thermal_notify_tz_disable()
332 int thermal_notify_tz_trip_down(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_down()
342 int thermal_notify_tz_trip_up(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_up()
352 int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_change()
387 int thermal_notify_tz_gov_change(const struct thermal_zone_device *tz, in thermal_notify_tz_gov_change()
406 static int __thermal_genl_cmd_tz_get_id(struct thermal_zone_device *tz, in __thermal_genl_cmd_tz_get_id()
A Dgov_bang_bang.c66 static void bang_bang_control(struct thermal_zone_device *tz, in bang_bang_control()
84 static void bang_bang_manage(struct thermal_zone_device *tz) in bang_bang_manage()
116 static void bang_bang_update_tz(struct thermal_zone_device *tz, in bang_bang_update_tz()
A Dthermal_of.c141 struct device_node *np, *tz; in of_thermal_zone_find() local
243 static struct device_node *thermal_of_zone_get_by_name(struct thermal_zone_device *tz) in thermal_of_zone_get_by_name()
295 static bool thermal_of_should_bind(struct thermal_zone_device *tz, in thermal_of_should_bind()
352 static void thermal_of_zone_unregister(struct thermal_zone_device *tz) in thermal_of_zone_unregister()
382 struct thermal_zone_device *tz; in thermal_of_zone_register() local
515 void devm_thermal_of_zone_unregister(struct device *dev, struct thermal_zone_device *tz) in devm_thermal_of_zone_unregister()
A Dgov_fair_share.c18 static int get_trip_level(struct thermal_zone_device *tz) in get_trip_level()
63 static void fair_share_throttle(struct thermal_zone_device *tz, in fair_share_throttle()
104 static void fair_share_manage(struct thermal_zone_device *tz) in fair_share_manage()
A Dthermal_debugfs.c152 struct thermal_zone_device *tz; member
551 static struct tz_episode *thermal_debugfs_tz_event_alloc(struct thermal_zone_device *tz, in thermal_debugfs_tz_event_alloc()
574 void thermal_debug_tz_trip_up(struct thermal_zone_device *tz, in thermal_debug_tz_trip_up()
667 void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, in thermal_debug_tz_trip_down()
722 void thermal_debug_update_trip_stats(struct thermal_zone_device *tz) in thermal_debug_update_trip_stats()
784 struct thermal_zone_device *tz = thermal_dbg->tz_dbg.tz; in tze_seq_show() local
861 void thermal_debug_tz_add(struct thermal_zone_device *tz) in thermal_debug_tz_add()
888 void thermal_debug_tz_remove(struct thermal_zone_device *tz) in thermal_debug_tz_remove()
924 void thermal_debug_tz_resume(struct thermal_zone_device *tz) in thermal_debug_tz_resume()
A Dgov_user_space.c18 static int user_space_bind(struct thermal_zone_device *tz) in user_space_bind()
33 static void notify_user_space(struct thermal_zone_device *tz, in notify_user_space()
A Dgov_step_wise.c68 static void thermal_zone_trip_update(struct thermal_zone_device *tz, in thermal_zone_trip_update()
108 static void step_wise_manage(struct thermal_zone_device *tz) in step_wise_manage()
/linux/drivers/acpi/
A Dthermal.c59 #define ACPI_THERMAL_TRIPS_EXCEPTION(tz, str) \ argument
189 static int active_trip_index(struct acpi_thermal *tz, in active_trip_index()
198 static long get_passive_temp(struct acpi_thermal *tz) in get_passive_temp()
228 static void acpi_thermal_update_trip(struct acpi_thermal *tz, in acpi_thermal_update_trip()
248 static bool update_trip_devices(struct acpi_thermal *tz, in update_trip_devices()
293 struct acpi_thermal *tz; member
301 struct acpi_thermal *tz = atd->tz; in acpi_thermal_adjust_trip() local
674 struct acpi_thermal *tz = acpi_driver_data(device); in acpi_thermal_notify() local
785 struct acpi_thermal *tz; in acpi_thermal_add() local
899 struct acpi_thermal *tz; in acpi_thermal_remove() local
[all …]
/linux/tools/lib/thermal/
A Dcommands.c38 static int parse_tz_get(struct genl_info *info, struct thermal_zone **tz) in parse_tz_get()
112 static int parse_tz_get_trip(struct genl_info *info, struct thermal_zone *tz) in parse_tz_get_trip()
150 static int parse_tz_get_temp(struct genl_info *info, struct thermal_zone *tz) in parse_tz_get_temp()
166 static int parse_tz_get_gov(struct genl_info *info, struct thermal_zone *tz) in parse_tz_get_gov()
290 thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th, struct thermal_zone **tz) in thermal_cmd_get_tz()
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()
A Dthermal.c34 int for_each_thermal_zone(struct thermal_zone *tz, cb_tz_t cb, void *arg) in for_each_thermal_zone()
47 struct thermal_zone *thermal_zone_find_by_name(struct thermal_zone *tz, in thermal_zone_find_by_name()
63 struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id) in thermal_zone_find_by_id()
78 static int __thermal_zone_discover(struct thermal_zone *tz, void *th) in __thermal_zone_discover()
91 struct thermal_zone *tz; in thermal_zone_discover() local
/linux/tools/thermal/thermal-engine/
A Dthermal-engine.c37 struct thermal_zone *tz; member
49 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp()
58 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor()
67 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz()
97 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_disable() local
107 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in tz_enable() local
117 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_high() local
128 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_low() local
155 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in trip_change() local
191 struct thermal_zone *tz = thermal_zone_find_by_id(td->tz, tz_id); in gov_change() local
/linux/tools/thermal/thermometer/
A Dthermometer.c57 struct tz { struct
66 struct tz *tz; argument
105 config_setting_t *tz; in configuration_init() local
343 struct tz *tz = arg; in timer_temperature_callback() local
/linux/tools/testing/selftests/timers/
A Dset-tz.c30 struct timezone tz; in set_tz() local
40 struct timezone tz; in get_tz_min() local
50 struct timezone tz; in get_tz_dst() local
/linux/include/linux/
A Dthermal.h207 struct thermal_zone_device *tz) in devm_thermal_of_zone_unregister()
289 static inline void thermal_zone_device_unregister(struct thermal_zone_device *tz) in thermal_zone_device_unregister()
316 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
319 struct thermal_zone_device *tz) in thermal_zone_get_slope()
322 struct thermal_zone_device *tz) in thermal_zone_get_offset()
325 static inline void *thermal_zone_device_priv(struct thermal_zone_device *tz) in thermal_zone_device_priv()
340 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable()
343 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable()
/linux/arch/mips/vdso/
A Dvgettimeofday.c30 struct timezone *tz) in __vdso_gettimeofday()
66 struct timezone *tz) in __vdso_gettimeofday()
/linux/drivers/thermal/broadcom/
A Dns-thermal.c17 static int ns_thermal_get_temp(struct thermal_zone_device *tz, int *temp) in ns_thermal_get_temp()
48 struct thermal_zone_device *tz; in ns_thermal_probe() local

Completed in 45 milliseconds

12345