Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/thermal/
Dthermal_core.c71 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 …]
Dthermal_trip.c12 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()
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
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()
Dthermal_helpers.c25 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()
Dthermal_sysfs.c29 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 …]
Dthermal_of.c172 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 …]
Dgov_power_allocator.c88 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 …]
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()
Dgov_fair_share.c22 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()
Dgov_step_wise.c71 static void update_passive_instance(struct thermal_zone_device *tz, in update_passive_instance()
82 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip_id) in thermal_zone_trip_update()
139 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle()
Dgov_user_space.c18 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()
Dgov_bang_bang.c16 static int thermal_zone_trip_update(struct thermal_zone_device *tz, int trip_index) in thermal_zone_trip_update()
92 static int bang_bang_control(struct thermal_zone_device *tz, int trip) in bang_bang_control()
/linux-6.6.21/drivers/acpi/
Dthermal.c65 #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 …]
/linux-6.6.21/tools/lib/thermal/
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()
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-6.6.21/tools/thermal/thermal-engine/
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-6.6.21/tools/thermal/thermometer/
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-6.6.21/tools/testing/selftests/timers/
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-6.6.21/include/linux/
Dthermal.h277 struct thermal_zone_device *tz) in devm_thermal_of_zone_unregister()
378 static inline void thermal_zone_device_unregister(struct thermal_zone_device *tz) in thermal_zone_device_unregister()
405 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
408 struct thermal_zone_device *tz) in thermal_zone_get_slope()
411 struct thermal_zone_device *tz) in thermal_zone_get_offset()
414 static inline void *thermal_zone_device_priv(struct thermal_zone_device *tz) in thermal_zone_device_priv()
429 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable()
432 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable()
/linux-6.6.21/arch/mips/vdso/
Dvgettimeofday.c29 struct timezone *tz) in __vdso_gettimeofday()
65 struct timezone *tz) in __vdso_gettimeofday()
/linux-6.6.21/drivers/thermal/broadcom/
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
Dbcm2835_thermal.c67 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
Dsr-thermal.c33 static int sr_get_temp(struct thermal_zone_device *tz, int *temp) in sr_get_temp()
50 struct thermal_zone_device *tz; in sr_thermal_probe() local
/linux-6.6.21/kernel/time/
Dtime.c141 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
/linux-6.6.21/arch/sparc/vdso/
Dvclock_gettime.c77 notrace static long vdso_fallback_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) in vdso_fallback_gettimeofday()
307 __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) in __vdso_gettimeofday()
343 __vdso_gettimeofday_stick(struct __kernel_old_timeval *tv, struct timezone *tz) in __vdso_gettimeofday_stick()

1234