/linux/drivers/thermal/ |
A D | thermal_core.c | 95 static int thermal_set_governor(struct thermal_zone_device *tz, in thermal_set_governor() 515 struct thermal_zone_device *tz = container_of(work, struct in thermal_zone_device_check() local 558 struct thermal_zone_device *tz; in for_each_thermal_zone() local 574 struct thermal_zone_device *tz, *match = NULL; in thermal_zone_get_by_id() local 779 struct thermal_zone_device *tz; in thermal_release() local 800 void print_bind_err_msg(struct thermal_zone_device *tz, in print_bind_err_msg() 807 static void __bind(struct thermal_zone_device *tz, int mask, in __bind() 1075 struct thermal_zone_device *tz; in thermal_cooling_device_unregister() local 1121 static void bind_tz(struct thermal_zone_device *tz) in bind_tz() 1191 struct thermal_zone_device *tz; in thermal_zone_device_register() local [all …]
|
A 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()
|
A 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() 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() 348 static int of_thermal_get_crit_temp(struct thermal_zone_device *tz, in of_thermal_get_crit_temp() 383 struct __thermal_zone *tz; in thermal_zone_of_add_sensor() local 554 struct __thermal_zone *tz; in thermal_zone_of_sensor_unregister() local 859 struct __thermal_zone *tz; in thermal_of_build_thermal_zone() local 980 static __init void of_thermal_free_zone(struct __thermal_zone *tz) in of_thermal_free_zone() [all …]
|
A 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() 240 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope() 255 int thermal_zone_get_offset(struct thermal_zone_device *tz) in thermal_zone_get_offset()
|
A 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 policy_store() local [all …]
|
A 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() 520 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips() 573 static void allow_maximum_power(struct thermal_zone_device *tz, bool update) in allow_maximum_power() 616 static int check_power_actors(struct thermal_zone_device *tz) in check_power_actors() 642 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind() 693 static void power_allocator_unbind(struct thermal_zone_device *tz) in power_allocator_unbind() [all …]
|
A 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()
|
A 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()
|
A D | gov_step_wise.c | 105 static void update_passive_instance(struct thermal_zone_device *tz, in update_passive_instance() 116 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update() 181 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle()
|
A D | gov_user_space.c | 18 static int user_space_bind(struct thermal_zone_device *tz) in user_space_bind() 33 static int notify_user_space(struct thermal_zone_device *tz, int trip) in notify_user_space()
|
A D | gov_bang_bang.c | 16 static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) in thermal_zone_trip_update() 99 static int bang_bang_control(struct thermal_zone_device *tz, int trip) in bang_bang_control()
|
A D | imx_thermal.c | 198 struct thermal_zone_device *tz; member 249 static int imx_get_temp(struct thermal_zone_device *tz, int *temp) in imx_get_temp() 334 static int imx_change_mode(struct thermal_zone_device *tz, in imx_change_mode() 366 static int imx_get_trip_type(struct thermal_zone_device *tz, int trip, in imx_get_trip_type() 374 static int imx_get_crit_temp(struct thermal_zone_device *tz, int *temp) in imx_get_crit_temp() 382 static int imx_get_trip_temp(struct thermal_zone_device *tz, int trip, in imx_get_trip_temp() 392 static int imx_set_trip_temp(struct thermal_zone_device *tz, int trip, in imx_set_trip_temp() 412 static int imx_bind(struct thermal_zone_device *tz, in imx_bind() 431 static int imx_unbind(struct thermal_zone_device *tz, in imx_unbind()
|
A D | thermal_core.h | 100 struct thermal_zone_device *tz; member 160 static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips() 164 static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, in of_thermal_is_trip_valid() 170 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points()
|
A D | thermal_netlink.c | 361 static int __thermal_genl_cmd_tz_get_id(struct thermal_zone_device *tz, in __thermal_genl_cmd_tz_get_id() 400 struct thermal_zone_device *tz; in thermal_genl_cmd_tz_get_trip() local 450 struct thermal_zone_device *tz; in thermal_genl_cmd_tz_get_temp() local 476 struct thermal_zone_device *tz; in thermal_genl_cmd_tz_get_gov() local
|
/linux/drivers/acpi/ |
A D | thermal.c | 503 struct acpi_thermal *tz = thermal->devdata; in thermal_get_temp() local 521 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_type() local 566 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_temp() local 619 struct acpi_thermal *tz = thermal->devdata; in thermal_get_crit_temp() local 633 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trend() local 675 struct acpi_thermal *tz = thermal->devdata; in acpi_thermal_zone_device_hot() local 684 struct acpi_thermal *tz = thermal->devdata; in acpi_thermal_zone_device_critical() local 698 struct acpi_thermal *tz = thermal->devdata; in acpi_thermal_cooling_device_cb() local 1025 struct acpi_thermal *tz = NULL; in acpi_thermal_add() local 1067 struct acpi_thermal *tz = NULL; in acpi_thermal_remove() local [all …]
|
/linux/tools/testing/selftests/timers/ |
A 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/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_thermal.c | 144 struct mlxsw_thermal_module *tz, in mlxsw_thermal_module_trips_update() 375 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_bind() local 404 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_unbind() local 449 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_temp_get() local 481 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_type_get() local 494 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_temp_get() local 507 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_temp_set() local 520 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_hyst_get() local 530 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_hyst_set() local 539 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trend_get() local [all …]
|
/linux/arch/mips/vdso/ |
A D | vgettimeofday.c | 29 struct timezone *tz) in __vdso_gettimeofday() 65 struct timezone *tz) in __vdso_gettimeofday()
|
/linux/drivers/thermal/broadcom/ |
A D | bcm2835_thermal.c | 67 struct thermal_zone_device *tz; member 167 struct thermal_zone_device *tz; in bcm2835_thermal_probe() local 290 struct thermal_zone_device *tz = data->tz; in bcm2835_thermal_remove() local
|
/linux/include/linux/ |
A D | thermal.h | 343 struct thermal_zone_device *tz) in thermal_zone_of_sensor_unregister() 356 struct thermal_zone_device *tz) in devm_thermal_zone_of_sensor_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/arch/sparc/vdso/ |
A D | vclock_gettime.c | 77 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()
|
/linux/kernel/time/ |
A 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
|
/linux/arch/riscv/kernel/vdso/ |
A D | vgettimeofday.c | 21 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) in __vdso_gettimeofday()
|
/linux/arch/s390/kernel/vdso64/ |
A D | vdso64_generic.c | 6 struct timezone *tz) in __s390_vdso_gettimeofday()
|
/linux/arch/arm64/kernel/vdso/ |
A D | vgettimeofday.c | 16 struct timezone *tz) in __kernel_gettimeofday()
|