/linux-6.1.9/drivers/thermal/ |
D | thermal_core.c | 73 static void bind_previous_governor(struct thermal_zone_device *tz, in bind_previous_governor() 95 static int thermal_set_governor(struct thermal_zone_device *tz, in thermal_set_governor() 197 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) in handle_thermal_trip() 375 static void update_temperature(struct thermal_zone_device *tz) in update_temperature() [all …]
|
D | thermal_of.c | 32 int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips() 48 bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) in of_thermal_is_trip_valid() 68 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points() 74 static int of_thermal_get_trip_type(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_type() 85 static int of_thermal_get_trip_temp(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_temp() 96 static int of_thermal_get_trip_hyst(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_hyst() 107 static int of_thermal_set_trip_hyst(struct thermal_zone_device *tz, int trip, in of_thermal_set_trip_hyst() 119 static int of_thermal_get_crit_temp(struct thermal_zone_device *tz, in of_thermal_get_crit_temp() 282 struct device_node *np, *tz; in of_thermal_zone_find() local 385 static struct device_node *thermal_of_zone_get_by_name(struct thermal_zone_device *tz) in thermal_of_zone_get_by_name() [all …]
|
D | thermal_helpers.c | 26 int get_tz_trend(struct thermal_zone_device *tz, int trip) in get_tz_trend() 44 get_thermal_instance(struct thermal_zone_device *tz, in get_thermal_instance() 67 int __thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in __thermal_zone_get_temp() 113 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp() 130 void __thermal_zone_set_trips(struct thermal_zone_device *tz) in __thermal_zone_set_trips() 188 void thermal_zone_set_trips(struct thermal_zone_device *tz) in thermal_zone_set_trips() 249 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope() 264 int thermal_zone_get_offset(struct thermal_zone_device *tz) in thermal_zone_get_offset()
|
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() 215 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs() 258 int devm_thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in devm_thermal_add_hwmon_sysfs()
|
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 117 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_store() local 161 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_show() local 183 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_store() local 213 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_show() local 232 struct thermal_zone_device *tz = to_thermal_zone(dev); in policy_store() local [all …]
|
D | gov_power_allocator.c | 89 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power() 124 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() 512 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips() 565 static void allow_maximum_power(struct thermal_zone_device *tz, bool update) in allow_maximum_power() 606 static int check_power_actors(struct thermal_zone_device *tz) in check_power_actors() 632 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind() 683 static void power_allocator_unbind(struct thermal_zone_device *tz) in power_allocator_unbind() [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_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() 74 static int fair_share_throttle(struct thermal_zone_device *tz, int trip) in fair_share_throttle()
|
D | gov_step_wise.c | 87 static void update_passive_instance(struct thermal_zone_device *tz, in update_passive_instance() 98 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update() 159 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle()
|
D | thermal_core.h | 86 struct thermal_zone_device *tz; member 145 static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips() 149 static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, in of_thermal_is_trip_valid() 155 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points()
|
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, int trip) in notify_user_space()
|
D | gov_bang_bang.c | 16 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update() 95 static int bang_bang_control(struct thermal_zone_device *tz, int trip) in bang_bang_control()
|
D | imx_thermal.c | 200 struct thermal_zone_device *tz; member 251 static int imx_get_temp(struct thermal_zone_device *tz, int *temp) in imx_get_temp() 309 static int imx_change_mode(struct thermal_zone_device *tz, in imx_change_mode() 333 static int imx_get_trip_type(struct thermal_zone_device *tz, int trip, in imx_get_trip_type() 341 static int imx_get_crit_temp(struct thermal_zone_device *tz, int *temp) in imx_get_crit_temp() 349 static int imx_get_trip_temp(struct thermal_zone_device *tz, int trip, in imx_get_trip_temp() 359 static int imx_set_trip_temp(struct thermal_zone_device *tz, int trip, in imx_set_trip_temp() 386 static int imx_bind(struct thermal_zone_device *tz, in imx_bind() 405 static int imx_unbind(struct thermal_zone_device *tz, in imx_unbind()
|
/linux-6.1.9/drivers/acpi/ |
D | thermal.c | 182 static int acpi_thermal_get_temperature(struct acpi_thermal *tz) in acpi_thermal_get_temperature() 204 static int acpi_thermal_get_polling_frequency(struct acpi_thermal *tz) in acpi_thermal_get_polling_frequency() 223 static int acpi_thermal_set_cooling_mode(struct acpi_thermal *tz, int mode) in acpi_thermal_set_cooling_mode() 255 #define ACPI_THERMAL_TRIPS_EXCEPTION(flags, tz, str) \ argument 263 static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) in acpi_thermal_trips_update() 476 static int acpi_thermal_get_trip_points(struct acpi_thermal *tz) in acpi_thermal_get_trip_points() 501 struct acpi_thermal *tz = thermal->devdata; in thermal_get_temp() local 519 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_type() local 563 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_temp() local 616 struct acpi_thermal *tz = thermal->devdata; in thermal_get_crit_temp() local [all …]
|
/linux-6.1.9/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.1.9/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.1.9/tools/thermal/thermometer/ |
D | thermometer.c | 57 struct tz { struct 66 struct tz *tz; member 105 config_setting_t *tz; in configuration_init() local 343 struct tz *tz = arg; in timer_temperature_callback() local
|
/linux-6.1.9/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.1.9/drivers/thermal/broadcom/ |
D | bcm2835_thermal.c | 67 struct thermal_zone_device *tz; member 91 static int bcm2835_thermal_get_temp(struct thermal_zone_device *tz, int *temp) in bcm2835_thermal_get_temp() 167 struct thermal_zone_device *tz; in bcm2835_thermal_probe() local 290 struct thermal_zone_device *tz = data->tz; in bcm2835_thermal_remove() local
|
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
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_thermal.c | 137 mlxsw_thermal_module_trips_reset(struct mlxsw_thermal_module *tz) in mlxsw_thermal_module_trips_reset() 146 struct mlxsw_thermal_module *tz, in mlxsw_thermal_module_trips_update() 336 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_bind() local 365 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_unbind() local 411 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_temp_get() local 441 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_type_get() local 454 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_temp_get() local 467 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_temp_set() local 480 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_hyst_get() local 490 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_hyst_set() local [all …]
|
/linux-6.1.9/include/linux/ |
D | thermal.h | 327 static inline void thermal_of_zone_unregister(struct thermal_zone_device *tz) in thermal_of_zone_unregister() 332 struct thermal_zone_device *tz) in devm_thermal_of_zone_unregister() 385 struct thermal_zone_device *tz) in thermal_zone_device_unregister() 411 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp() 414 struct thermal_zone_device *tz) in thermal_zone_get_slope() 417 struct thermal_zone_device *tz) in thermal_zone_get_offset() 420 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable() 423 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable()
|
/linux-6.1.9/arch/mips/vdso/ |
D | vgettimeofday.c | 29 struct timezone *tz) in __vdso_gettimeofday() 65 struct timezone *tz) in __vdso_gettimeofday()
|
/linux-6.1.9/kernel/time/ |
D | time.c | 141 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument 169 int do_sys_settimeofday64(const struct timespec64 *tv, const struct timezone *tz) in do_sys_settimeofday64() 200 struct timezone __user *, tz) in SYSCALL_DEFINE2() argument 225 struct timezone __user *, tz) in COMPAT_SYSCALL_DEFINE2() argument 244 struct timezone __user *, tz) in COMPAT_SYSCALL_DEFINE2() argument
|