| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | thermal_core.c | 75 static void bind_previous_governor(struct thermal_zone_device *tz, in bind_previous_governor() 97 static int thermal_set_governor(struct thermal_zone_device *tz, in thermal_set_governor() 199 int thermal_zone_device_set_policy(struct thermal_zone_device *tz, in thermal_zone_device_set_policy() 290 static void thermal_zone_device_set_polling(struct thermal_zone_device *tz, in thermal_zone_device_set_polling() 305 static inline bool should_stop_polling(struct thermal_zone_device *tz) in should_stop_polling() 310 static void monitor_thermal_zone(struct thermal_zone_device *tz) in monitor_thermal_zone() 328 static void handle_non_critical_trips(struct thermal_zone_device *tz, int trip) in handle_non_critical_trips() 382 static void handle_critical_trips(struct thermal_zone_device *tz, in handle_critical_trips() 416 static void handle_thermal_trip(struct thermal_zone_device *tz, int trip) in handle_thermal_trip() 450 static void update_temperature(struct thermal_zone_device *tz) in update_temperature() [all …]
|
| D | thermal_hwmon.c | 39 struct thermal_zone_device *tz; member 58 struct thermal_zone_device *tz = temp->tz; in temp_input_show() local 76 struct thermal_zone_device *tz = temp->tz; in temp_crit_show() local 89 thermal_hwmon_lookup_by_type(const struct thermal_zone_device *tz) in thermal_hwmon_lookup_by_type() 111 const struct thermal_zone_device *tz) in thermal_hwmon_lookup_temp() 126 static bool thermal_zone_crit_temp_valid(struct thermal_zone_device *tz) in thermal_zone_crit_temp_valid() 132 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs() 216 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs() 259 int devm_thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in devm_thermal_add_hwmon_sysfs()
|
| D | thermal_helpers.c | 26 int get_tz_trend(struct thermal_zone_device *tz, int trip) in get_tz_trend() 45 get_thermal_instance(struct thermal_zone_device *tz, in get_thermal_instance() 78 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp() 129 void thermal_zone_set_trips(struct thermal_zone_device *tz) in thermal_zone_set_trips() 226 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope() 241 int thermal_zone_get_offset(struct thermal_zone_device *tz) in thermal_zone_get_offset()
|
| D | thermal_of.c | 87 static int of_thermal_get_temp(struct thermal_zone_device *tz, in of_thermal_get_temp() 98 static int of_thermal_set_trips(struct thermal_zone_device *tz, in of_thermal_set_trips() 119 int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips() 140 bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) in of_thermal_is_trip_valid() 162 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points() 184 static int of_thermal_set_emul_temp(struct thermal_zone_device *tz, in of_thermal_set_emul_temp() 195 static int of_thermal_get_trend(struct thermal_zone_device *tz, int trip, in of_thermal_get_trend() 273 static int of_thermal_get_trip_type(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_type() 286 static int of_thermal_get_trip_temp(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_temp() 299 static int of_thermal_set_trip_temp(struct thermal_zone_device *tz, int trip, in of_thermal_set_trip_temp() [all …]
|
| 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 61 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_store() local 81 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_type_show() local 113 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_store() local 152 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_show() local 174 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_store() local 204 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_show() local 223 struct thermal_zone_device *tz = to_thermal_zone(dev); in passive_store() 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 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_power_allocator.c | 86 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power() 127 static void estimate_pid_constants(struct thermal_zone_device *tz, in estimate_pid_constants() 185 static u32 pid_controller(struct thermal_zone_device *tz, in pid_controller() 325 static int allocate_power(struct thermal_zone_device *tz, in allocate_power() 461 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips() 514 static void allow_maximum_power(struct thermal_zone_device *tz) in allow_maximum_power() 543 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind() 590 static void power_allocator_unbind(struct thermal_zone_device *tz) in power_allocator_unbind() 605 static int power_allocator_throttle(struct thermal_zone_device *tz, int trip) in power_allocator_throttle()
|
| D | gov_fair_share.c | 22 static int get_trip_level(struct thermal_zone_device *tz) in get_trip_level() 49 static long get_target_state(struct thermal_zone_device *tz, in get_target_state() 78 static int fair_share_throttle(struct thermal_zone_device *tz, int trip) in fair_share_throttle()
|
| /kernel/linux/linux-6.6/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() 288 static void thermal_zone_device_set_polling(struct thermal_zone_device *tz, in thermal_zone_device_set_polling() 298 static void monitor_thermal_zone(struct thermal_zone_device *tz) in monitor_thermal_zone() 308 static void handle_non_critical_trips(struct thermal_zone_device *tz, int trip) in handle_non_critical_trips() 314 void thermal_zone_device_critical(struct thermal_zone_device *tz) in thermal_zone_device_critical() 329 static void handle_critical_trips(struct thermal_zone_device *tz, in handle_critical_trips() 344 static void handle_thermal_trip(struct thermal_zone_device *tz, int trip_id) in handle_thermal_trip() 374 static void update_temperature(struct thermal_zone_device *tz) in update_temperature() [all …]
|
| D | thermal_trip.c | 12 int for_each_thermal_trip(struct thermal_zone_device *tz, in for_each_thermal_trip() 30 int thermal_zone_get_num_trips(struct thermal_zone_device *tz) in thermal_zone_get_num_trips() 51 void __thermal_zone_set_trips(struct thermal_zone_device *tz) in __thermal_zone_set_trips() 113 int __thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, in __thermal_zone_get_trip() 124 int thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, in thermal_zone_get_trip() 137 int thermal_zone_set_trip(struct thermal_zone_device *tz, int trip_id, in thermal_zone_set_trip() 176 int thermal_zone_trip_id(struct thermal_zone_device *tz, in thermal_zone_trip_id()
|
| 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 98 thermal_hwmon_lookup_by_type(const struct thermal_zone_device *tz) in thermal_hwmon_lookup_by_type() 120 const struct thermal_zone_device *tz) in thermal_hwmon_lookup_temp() 135 static bool thermal_zone_crit_temp_valid(struct thermal_zone_device *tz) in thermal_zone_crit_temp_valid() 141 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs() 224 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs() 267 int devm_thermal_add_hwmon_sysfs(struct device *dev, struct thermal_zone_device *tz) in devm_thermal_add_hwmon_sysfs()
|
| D | thermal_helpers.c | 25 int get_tz_trend(struct thermal_zone_device *tz, int trip_index) in get_tz_trend() 44 get_thermal_instance(struct thermal_zone_device *tz, in get_thermal_instance() 84 int __thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in __thermal_zone_get_temp() 129 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp() 209 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope() 224 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 122 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_store() local 155 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_show() local 181 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_store() local 214 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_show() local 237 struct thermal_zone_device *tz = to_thermal_zone(dev); in policy_store() local [all …]
|
| D | gov_power_allocator.c | 88 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power() 125 static void estimate_pid_constants(struct thermal_zone_device *tz, in estimate_pid_constants() 175 static u32 get_sustainable_power(struct thermal_zone_device *tz, in get_sustainable_power() 217 static u32 pid_controller(struct thermal_zone_device *tz, in pid_controller() 383 static int allocate_power(struct thermal_zone_device *tz, in allocate_power() 513 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips() 566 static void allow_maximum_power(struct thermal_zone_device *tz, bool update) in allow_maximum_power() 609 static int check_power_actors(struct thermal_zone_device *tz) in check_power_actors() 635 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind() 685 static void power_allocator_unbind(struct thermal_zone_device *tz) in power_allocator_unbind() [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_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 | 22 static int get_trip_level(struct thermal_zone_device *tz) in get_trip_level() 43 static long get_target_state(struct thermal_zone_device *tz, in get_target_state() 68 static int fair_share_throttle(struct thermal_zone_device *tz, int trip_index) in fair_share_throttle()
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| D | thermal.c | 65 #define ACPI_THERMAL_TRIPS_EXCEPTION(flags, tz, str) \ argument 141 static int acpi_thermal_get_temperature(struct acpi_thermal *tz) in acpi_thermal_get_temperature() 163 static int acpi_thermal_get_polling_frequency(struct acpi_thermal *tz) in acpi_thermal_get_polling_frequency() 182 static int acpi_thermal_temp(struct acpi_thermal *tz, int temp_deci_k) in acpi_thermal_temp() 191 static void __acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) in __acpi_thermal_trips_update() 405 struct acpi_thermal *tz = data; in acpi_thermal_adjust_trip() local 421 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in acpi_thermal_adjust_thermal_zone() local 430 static void acpi_queue_thermal_check(struct acpi_thermal *tz) in acpi_queue_thermal_check() 436 static void acpi_thermal_trips_update(struct acpi_thermal *tz, u32 event) in acpi_thermal_trips_update() 454 static int acpi_thermal_get_trip_points(struct acpi_thermal *tz) in acpi_thermal_get_trip_points() [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | thermal.c | 185 static int acpi_thermal_get_temperature(struct acpi_thermal *tz) in acpi_thermal_get_temperature() 206 static int acpi_thermal_get_polling_frequency(struct acpi_thermal *tz) in acpi_thermal_get_polling_frequency() 225 static int acpi_thermal_set_cooling_mode(struct acpi_thermal *tz, int mode) in acpi_thermal_set_cooling_mode() 265 static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) in acpi_thermal_trips_update() 479 static int acpi_thermal_get_trip_points(struct acpi_thermal *tz) in acpi_thermal_get_trip_points() 504 struct acpi_thermal *tz = thermal->devdata; in thermal_get_temp() local 522 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_type() local 567 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_temp() local 620 struct acpi_thermal *tz = thermal->devdata; in thermal_get_crit_temp() local 634 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trend() local [all …]
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/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
|