Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/thermal/
A Dthermal_core.c95 static int thermal_set_governor(struct thermal_zone_device *tz, in thermal_set_governor()
501 struct thermal_zone_device *tz = container_of(work, struct in thermal_zone_device_check() local
544 struct thermal_zone_device *tz; in for_each_thermal_zone() local
560 struct thermal_zone_device *tz, *match = NULL; in thermal_zone_get_by_id() local
760 struct thermal_zone_device *tz; in thermal_release() local
782 void print_bind_err_msg(struct thermal_zone_device *tz, in print_bind_err_msg()
789 static void __bind(struct thermal_zone_device *tz, int mask, in __bind()
1069 struct thermal_zone_device *tz; in thermal_cooling_device_unregister() local
1111 static void bind_tz(struct thermal_zone_device *tz) in bind_tz()
1215 struct thermal_zone_device *tz; in thermal_zone_device_register_with_trips() local
[all …]
A Dthermal_hwmon.c39 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
97 thermal_hwmon_lookup_by_type(const struct thermal_zone_device *tz) in thermal_hwmon_lookup_by_type()
119 const struct thermal_zone_device *tz) in thermal_hwmon_lookup_temp()
134 static bool thermal_zone_crit_temp_valid(struct thermal_zone_device *tz) in thermal_zone_crit_temp_valid()
140 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs()
223 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs()
266 int devm_thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in devm_thermal_add_hwmon_sysfs()
A Dthermal_trip.c12 int __for_each_thermal_trip(struct thermal_zone_device *tz, in __for_each_thermal_trip()
35 int thermal_zone_get_num_trips(struct thermal_zone_device *tz) in thermal_zone_get_num_trips()
56 void __thermal_zone_set_trips(struct thermal_zone_device *tz) in __thermal_zone_set_trips()
103 int __thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, in __thermal_zone_get_trip()
132 int thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, in thermal_zone_get_trip()
145 int thermal_zone_set_trip(struct thermal_zone_device *tz, int trip_id, in thermal_zone_set_trip()
A Dthermal_helpers.c26 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()
81 int __thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in __thermal_zone_get_temp()
123 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
203 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope()
218 int thermal_zone_get_offset(struct thermal_zone_device *tz) in thermal_zone_get_offset()
A 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
213 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_show() local
236 struct thermal_zone_device *tz = to_thermal_zone(dev); in policy_store() local
[all …]
A Dthermal_of.c171 struct device_node *np, *tz; in of_thermal_zone_find() local
274 static struct device_node *thermal_of_zone_get_by_name(struct thermal_zone_device *tz) in thermal_of_zone_get_by_name()
293 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) in __thermal_of_unbind()
324 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) in __thermal_of_bind()
359 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, in thermal_of_for_each_cooling_device()
391 static int thermal_of_for_each_cooling_maps(struct thermal_zone_device *tz, in thermal_of_for_each_cooling_maps()
422 static int thermal_of_bind(struct thermal_zone_device *tz, in thermal_of_bind()
428 static int thermal_of_unbind(struct thermal_zone_device *tz, in thermal_of_unbind()
442 void thermal_of_zone_unregister(struct thermal_zone_device *tz) in thermal_of_zone_unregister()
479 struct thermal_zone_device *tz; in thermal_of_zone_register() local
[all …]
A Dgov_power_allocator.c88 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power()
123 static void estimate_pid_constants(struct thermal_zone_device *tz, in estimate_pid_constants()
173 static u32 get_sustainable_power(struct thermal_zone_device *tz, in get_sustainable_power()
215 static u32 pid_controller(struct thermal_zone_device *tz, in pid_controller()
381 static int allocate_power(struct thermal_zone_device *tz, in allocate_power()
510 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips()
563 static void allow_maximum_power(struct thermal_zone_device *tz, bool update) in allow_maximum_power()
604 static int check_power_actors(struct thermal_zone_device *tz) in check_power_actors()
630 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind()
680 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 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 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) in fair_share_throttle()
A Dgov_step_wise.c87 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_id) in thermal_zone_trip_update()
157 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle()
A 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()
A Dgov_bang_bang.c16 static int thermal_zone_trip_update(struct thermal_zone_device *tz, int trip_id) in thermal_zone_trip_update()
99 static int bang_bang_control(struct thermal_zone_device *tz, int trip) in bang_bang_control()
A Dimx_thermal.c204 struct thermal_zone_device *tz; member
253 static int imx_get_temp(struct thermal_zone_device *tz, int *temp) in imx_get_temp()
311 static int imx_change_mode(struct thermal_zone_device *tz, in imx_change_mode()
335 static int imx_get_crit_temp(struct thermal_zone_device *tz, int *temp) in imx_get_crit_temp()
342 static int imx_set_trip_temp(struct thermal_zone_device *tz, int trip, in imx_set_trip_temp()
369 static int imx_bind(struct thermal_zone_device *tz, in imx_bind()
388 static int imx_unbind(struct thermal_zone_device *tz, in imx_unbind()
/linux-6.3-rc2/drivers/acpi/
A Dthermal.c501 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
631 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trend() local
673 struct acpi_thermal *tz = thermal->devdata; in acpi_thermal_zone_device_hot() local
682 struct acpi_thermal *tz = thermal->devdata; in acpi_thermal_zone_device_critical() local
696 struct acpi_thermal *tz = thermal->devdata; in acpi_thermal_cooling_device_cb() local
1022 struct acpi_thermal *tz; in acpi_thermal_add() local
1064 struct acpi_thermal *tz; in acpi_thermal_remove() local
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/thermal/broadcom/
A 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
289 struct thermal_zone_device *tz = data->tz; in bcm2835_thermal_remove() local
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
/linux-6.3-rc2/include/linux/
A Dthermal.h327 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()
404 struct thermal_zone_device *tz) in thermal_zone_device_unregister()
430 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
433 struct thermal_zone_device *tz) in thermal_zone_get_slope()
436 struct thermal_zone_device *tz) in thermal_zone_get_offset()
439 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable()
442 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable()
/linux-6.3-rc2/arch/mips/vdso/
A Dvgettimeofday.c29 struct timezone *tz) in __vdso_gettimeofday()
65 struct timezone *tz) in __vdso_gettimeofday()
/linux-6.3-rc2/kernel/time/
A 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.3-rc2/arch/sparc/vdso/
A 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()

Completed in 31 milliseconds

1234