/linux-6.8/drivers/thermal/ |
D | thermal_core.c | 71 static void bind_previous_governor(struct thermal_zone_device *tz, in bind_previous_governor() 93 static int thermal_set_governor(struct thermal_zone_device *tz, in thermal_set_governor() 195 int thermal_zone_device_set_policy(struct thermal_zone_device *tz, in thermal_zone_device_set_policy() 285 static void thermal_zone_device_set_polling(struct thermal_zone_device *tz, in thermal_zone_device_set_polling() 295 static void monitor_thermal_zone(struct thermal_zone_device *tz) in monitor_thermal_zone() 305 static void handle_non_critical_trips(struct thermal_zone_device *tz, in handle_non_critical_trips() 312 void thermal_governor_update_tz(struct thermal_zone_device *tz, in thermal_governor_update_tz() 321 static void thermal_zone_device_halt(struct thermal_zone_device *tz, bool shutdown) in thermal_zone_device_halt() 338 void thermal_zone_device_critical(struct thermal_zone_device *tz) in thermal_zone_device_critical() 344 void thermal_zone_device_critical_reboot(struct thermal_zone_device *tz) in thermal_zone_device_critical_reboot() [all …]
|
D | thermal_trip.c | 12 int for_each_thermal_trip(struct thermal_zone_device *tz, in for_each_thermal_trip() 29 int thermal_zone_for_each_trip(struct thermal_zone_device *tz, in thermal_zone_for_each_trip() 43 int thermal_zone_get_num_trips(struct thermal_zone_device *tz) in thermal_zone_get_num_trips() 64 void __thermal_zone_set_trips(struct thermal_zone_device *tz) in __thermal_zone_set_trips() 122 int __thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, in __thermal_zone_get_trip() 133 int thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, in thermal_zone_get_trip() 146 int thermal_zone_trip_id(const struct thermal_zone_device *tz, in thermal_zone_trip_id() 155 void thermal_zone_trip_updated(struct thermal_zone_device *tz, in thermal_zone_trip_updated() 162 void thermal_zone_set_trip_temp(struct thermal_zone_device *tz, in thermal_zone_set_trip_temp()
|
D | thermal_netlink.h | 46 static inline int thermal_notify_tz_create(const struct thermal_zone_device *tz) in thermal_notify_tz_create() 51 static inline int thermal_notify_tz_delete(const struct thermal_zone_device *tz) in thermal_notify_tz_delete() 56 static inline int thermal_notify_tz_enable(const struct thermal_zone_device *tz) in thermal_notify_tz_enable() 61 static inline int thermal_notify_tz_disable(const struct thermal_zone_device *tz) in thermal_notify_tz_disable() 66 static inline int thermal_notify_tz_trip_down(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_down() 72 static inline int thermal_notify_tz_trip_up(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_up() 78 static inline int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_change() 100 static inline int thermal_notify_tz_gov_change(const struct thermal_zone_device *tz, in thermal_notify_tz_gov_change()
|
D | thermal_hwmon.c | 40 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()
|
D | thermal_debugfs.h | 21 static inline void thermal_debug_tz_add(struct thermal_zone_device *tz) {} in thermal_debug_tz_add() 22 static inline void thermal_debug_tz_remove(struct thermal_zone_device *tz) {} in thermal_debug_tz_remove() 23 static inline void thermal_debug_tz_trip_up(struct thermal_zone_device *tz, in thermal_debug_tz_trip_up() 25 static inline void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, in thermal_debug_tz_trip_down() 27 static inline void thermal_debug_update_temp(struct thermal_zone_device *tz) {} in thermal_debug_update_temp()
|
D | thermal_helpers.c | 25 int get_tz_trend(struct thermal_zone_device *tz, const struct thermal_trip *trip) in get_tz_trend() 43 get_thermal_instance(struct thermal_zone_device *tz, in get_thermal_instance() 83 int __thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in __thermal_zone_get_temp() 126 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp() 212 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope() 227 int thermal_zone_get_offset(struct thermal_zone_device *tz) in thermal_zone_get_offset()
|
D | thermal_sysfs.c | 29 struct thermal_zone_device *tz = to_thermal_zone(dev); in type_show() local 37 struct thermal_zone_device *tz = to_thermal_zone(dev); in temp_show() local 51 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_show() local 65 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_store() local 85 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_type_show() local 109 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_store() local 147 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_show() local 160 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_store() local 198 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_show() local 211 struct thermal_zone_device *tz = to_thermal_zone(dev); in policy_store() local [all …]
|
D | gov_power_allocator.c | 116 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power() 148 static void estimate_pid_constants(struct thermal_zone_device *tz, in estimate_pid_constants() 196 static u32 get_sustainable_power(struct thermal_zone_device *tz, in get_sustainable_power() 238 static u32 pid_controller(struct thermal_zone_device *tz, in pid_controller() 398 static int allocate_power(struct thermal_zone_device *tz, int control_temp) in allocate_power() 493 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips() 536 static void allow_maximum_power(struct thermal_zone_device *tz, bool update) in allow_maximum_power() 579 static int check_power_actors(struct thermal_zone_device *tz, in check_power_actors() 632 static void power_allocator_update_tz(struct thermal_zone_device *tz, in power_allocator_update_tz() 672 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind() [all …]
|
D | thermal_of.c | 172 struct device_node *np, *tz; in of_thermal_zone_find() local 269 static struct device_node *thermal_of_zone_get_by_name(struct thermal_zone_device *tz) in thermal_of_zone_get_by_name() 288 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) in __thermal_of_unbind() 319 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) in __thermal_of_bind() 354 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, in thermal_of_for_each_cooling_device() 386 static int thermal_of_for_each_cooling_maps(struct thermal_zone_device *tz, in thermal_of_for_each_cooling_maps() 419 static int thermal_of_bind(struct thermal_zone_device *tz, in thermal_of_bind() 425 static int thermal_of_unbind(struct thermal_zone_device *tz, in thermal_of_unbind() 439 static void thermal_of_zone_unregister(struct thermal_zone_device *tz) in thermal_of_zone_unregister() 473 struct thermal_zone_device *tz; in thermal_of_zone_register() local [all …]
|
D | thermal_netlink.c | 307 int thermal_notify_tz_create(const struct thermal_zone_device *tz) in thermal_notify_tz_create() 314 int thermal_notify_tz_delete(const struct thermal_zone_device *tz) in thermal_notify_tz_delete() 321 int thermal_notify_tz_enable(const struct thermal_zone_device *tz) in thermal_notify_tz_enable() 328 int thermal_notify_tz_disable(const struct thermal_zone_device *tz) in thermal_notify_tz_disable() 335 int thermal_notify_tz_trip_down(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_down() 345 int thermal_notify_tz_trip_up(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_up() 355 int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_change() 390 int thermal_notify_tz_gov_change(const struct thermal_zone_device *tz, in thermal_notify_tz_gov_change() 409 static int __thermal_genl_cmd_tz_get_id(struct thermal_zone_device *tz, in __thermal_genl_cmd_tz_get_id() 449 struct thermal_zone_device *tz; in thermal_genl_cmd_tz_get_trip() local [all …]
|
D | thermal_hwmon.h | 24 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()
|
D | gov_fair_share.c | 18 static int get_trip_level(struct thermal_zone_device *tz) in get_trip_level() 41 static long get_target_state(struct thermal_zone_device *tz, in get_target_state() 66 static int fair_share_throttle(struct thermal_zone_device *tz, in fair_share_throttle()
|
D | thermal_debugfs.c | 521 static struct tz_episode *thermal_debugfs_tz_event_alloc(struct thermal_zone_device *tz, in thermal_debugfs_tz_event_alloc() 542 void thermal_debug_tz_trip_up(struct thermal_zone_device *tz, in thermal_debug_tz_trip_up() 627 void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, in thermal_debug_tz_trip_down() 685 void thermal_debug_update_temp(struct thermal_zone_device *tz) in thermal_debug_update_temp() 718 struct thermal_zone_device *tz = s->private; in tze_seq_start() local 729 struct thermal_zone_device *tz = s->private; in tze_seq_next() local 738 struct thermal_zone_device *tz = s->private; in tze_seq_stop() local 746 struct thermal_zone_device *tz = s->private; in tze_seq_show() local 801 void thermal_debug_tz_add(struct thermal_zone_device *tz) in thermal_debug_tz_add() 825 void thermal_debug_tz_remove(struct thermal_zone_device *tz) in thermal_debug_tz_remove()
|
D | gov_user_space.c | 18 static int user_space_bind(struct thermal_zone_device *tz) in user_space_bind() 32 static int notify_user_space(struct thermal_zone_device *tz, in notify_user_space()
|
D | gov_bang_bang.c | 16 static int thermal_zone_trip_update(struct thermal_zone_device *tz, in thermal_zone_trip_update() 93 static int bang_bang_control(struct thermal_zone_device *tz, in bang_bang_control()
|
D | gov_step_wise.c | 71 static void thermal_zone_trip_update(struct thermal_zone_device *tz, in thermal_zone_trip_update() 132 static int step_wise_throttle(struct thermal_zone_device *tz, in step_wise_throttle()
|
/linux-6.8/drivers/acpi/ |
D | thermal.c | 57 #define ACPI_THERMAL_TRIPS_EXCEPTION(tz, str) \ argument 127 static int acpi_thermal_get_temperature(struct acpi_thermal *tz) in acpi_thermal_get_temperature() 149 static int acpi_thermal_get_polling_frequency(struct acpi_thermal *tz) in acpi_thermal_get_polling_frequency() 168 static int acpi_thermal_temp(struct acpi_thermal *tz, int temp_deci_k) in acpi_thermal_temp() 182 static int active_trip_index(struct acpi_thermal *tz, in active_trip_index() 191 static long get_passive_temp(struct acpi_thermal *tz) in get_passive_temp() 201 static long get_active_temp(struct acpi_thermal *tz, int index) in get_active_temp() 221 static void acpi_thermal_update_trip(struct acpi_thermal *tz, in acpi_thermal_update_trip() 241 static bool update_trip_devices(struct acpi_thermal *tz, in update_trip_devices() 271 static void acpi_thermal_update_trip_devices(struct acpi_thermal *tz, in acpi_thermal_update_trip_devices() [all …]
|
/linux-6.8/tools/lib/thermal/ |
D | commands.c | 38 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()
|
D | thermal.c | 34 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-6.8/tools/thermal/thermal-engine/ |
D | thermal-engine.c | 37 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-6.8/tools/thermal/thermometer/ |
D | thermometer.c | 57 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-6.8/tools/testing/selftests/timers/ |
D | set-tz.c | 30 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-6.8/include/linux/ |
D | thermal.h | 294 struct thermal_zone_device *tz) in devm_thermal_of_zone_unregister() 393 static inline void thermal_zone_device_unregister(struct thermal_zone_device *tz) in thermal_zone_device_unregister() 420 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp() 423 struct thermal_zone_device *tz) in thermal_zone_get_slope() 426 struct thermal_zone_device *tz) in thermal_zone_get_offset() 429 static inline void *thermal_zone_device_priv(struct thermal_zone_device *tz) in thermal_zone_device_priv() 444 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable() 447 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable()
|
/linux-6.8/arch/mips/vdso/ |
D | vgettimeofday.c | 30 struct timezone *tz) in __vdso_gettimeofday() 66 struct timezone *tz) in __vdso_gettimeofday()
|
/linux-6.8/drivers/thermal/broadcom/ |
D | ns-thermal.c | 17 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
|