| /linux/drivers/thermal/ |
| H A 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() 191 int thermal_zone_device_set_policy(struct thermal_zone_device *tz, in thermal_zone_device_set_policy() 262 static int __thermal_zone_device_set_mode(struct thermal_zone_device *tz, in __thermal_zone_device_set_mode() 278 static void thermal_zone_broken_disable(struct thermal_zone_device *tz) in thermal_zone_broken_disable() 310 static void thermal_zone_device_set_polling(struct thermal_zone_device *tz, in thermal_zone_device_set_polling() 319 static void thermal_zone_recheck(struct thermal_zone_device *tz, int error) in thermal_zone_recheck() 347 static void monitor_thermal_zone(struct thermal_zone_device *tz) in monitor_thermal_zone() 355 static struct thermal_governor *thermal_get_tz_governor(struct thermal_zone_device *tz) in thermal_get_tz_governor() 363 void thermal_governor_update_tz(struct thermal_zone_device *tz, in thermal_governor_update_tz() [all …]
|
| H A D | thermal_debugfs.h | 22 static inline void thermal_debug_tz_add(struct thermal_zone_device *tz) {} in thermal_debug_tz_add() 23 static inline void thermal_debug_tz_remove(struct thermal_zone_device *tz) {} in thermal_debug_tz_remove() 24 static inline void thermal_debug_tz_resume(struct thermal_zone_device *tz) {} in thermal_debug_tz_resume() 25 static inline void thermal_debug_tz_trip_up(struct thermal_zone_device *tz, in thermal_debug_tz_trip_up() 27 static inline void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, in thermal_debug_tz_trip_down() 29 static inline void thermal_debug_update_trip_stats(struct thermal_zone_device *tz) {} in thermal_debug_update_trip_stats()
|
| H A 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 92 thermal_hwmon_lookup_by_type(const struct thermal_zone_device *tz) in thermal_hwmon_lookup_by_type() 114 const struct thermal_zone_device *tz) in thermal_hwmon_lookup_temp() 129 static bool thermal_zone_crit_temp_valid(struct thermal_zone_device *tz) in thermal_zone_crit_temp_valid() 135 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs() 218 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs() 261 int devm_thermal_add_hwmon_sysfs(struct device *dev, struct thermal_zone_device *tz) in devm_thermal_add_hwmon_sysfs()
|
| H A D | thermal_helpers.c | 25 int get_tz_trend(struct thermal_zone_device *tz, const struct thermal_trip *trip) in get_tz_trend() 42 static bool thermal_instance_present(struct thermal_zone_device *tz, in thermal_instance_present() 57 bool thermal_trip_is_bound_to_cdev(struct thermal_zone_device *tz, in thermal_trip_is_bound_to_cdev() 82 int __thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in __thermal_zone_get_temp() 127 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp() 219 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope() 234 int thermal_zone_get_offset(struct thermal_zone_device *tz) in thermal_zone_get_offset()
|
| H A D | thermal_thresholds.c | 16 int thermal_thresholds_init(struct thermal_zone_device *tz) in thermal_thresholds_init() 23 static void __thermal_thresholds_flush(struct thermal_zone_device *tz) in __thermal_thresholds_flush() 34 void thermal_thresholds_flush(struct thermal_zone_device *tz) in thermal_thresholds_flush() 45 void thermal_thresholds_exit(struct thermal_zone_device *tz) in thermal_thresholds_exit() 128 void thermal_thresholds_handle(struct thermal_zone_device *tz, int *low, int *high) in thermal_thresholds_handle() 168 int thermal_thresholds_add(struct thermal_zone_device *tz, in thermal_thresholds_add() 202 int thermal_thresholds_delete(struct thermal_zone_device *tz, in thermal_thresholds_delete() 228 int thermal_thresholds_for_each(struct thermal_zone_device *tz, in thermal_thresholds_for_each()
|
| H A D | thermal_sysfs.c | 30 struct thermal_zone_device *tz = to_thermal_zone(dev); in type_show() local 38 struct thermal_zone_device *tz = to_thermal_zone(dev); in temp_show() local 55 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_show() local 69 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_store() local 108 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_store() local 153 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_store() local 198 struct thermal_zone_device *tz = to_thermal_zone(dev); in policy_store() local 214 struct thermal_zone_device *tz = to_thermal_zone(dev); in policy_show() local 231 struct thermal_zone_device *tz = to_thermal_zone(dev); in emul_temp_store() local 260 struct thermal_zone_device *tz = to_thermal_zone(dev); in sustainable_power_show() local [all …]
|
| H A D | gov_power_allocator.c | 116 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power() 149 static void estimate_pid_constants(struct thermal_zone_device *tz, in estimate_pid_constants() 197 static u32 get_sustainable_power(struct thermal_zone_device *tz, in get_sustainable_power() 239 static u32 pid_controller(struct thermal_zone_device *tz, in pid_controller() 406 static void allocate_power(struct thermal_zone_device *tz, int control_temp) in allocate_power() 500 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips() 545 static void allow_maximum_power(struct thermal_zone_device *tz) in allow_maximum_power() 588 static int check_power_actors(struct thermal_zone_device *tz, in check_power_actors() 659 static void power_allocator_update_tz(struct thermal_zone_device *tz, in power_allocator_update_tz() 696 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind() [all …]
|
| H A D | thermal_netlink.c | 351 int thermal_notify_tz_create(const struct thermal_zone_device *tz) in thermal_notify_tz_create() 358 int thermal_notify_tz_delete(const struct thermal_zone_device *tz) in thermal_notify_tz_delete() 365 int thermal_notify_tz_enable(const struct thermal_zone_device *tz) in thermal_notify_tz_enable() 372 int thermal_notify_tz_disable(const struct thermal_zone_device *tz) in thermal_notify_tz_disable() 379 int thermal_notify_tz_trip_down(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_down() 389 int thermal_notify_tz_trip_up(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_up() 399 int thermal_notify_tz_trip_change(const struct thermal_zone_device *tz, in thermal_notify_tz_trip_change() 434 int thermal_notify_tz_gov_change(const struct thermal_zone_device *tz, in thermal_notify_tz_gov_change() 451 int thermal_notify_threshold_add(const struct thermal_zone_device *tz, in thermal_notify_threshold_add() 459 int thermal_notify_threshold_delete(const struct thermal_zone_device *tz, in thermal_notify_threshold_delete() [all …]
|
| H A D | thermal_trip.c | 27 int for_each_thermal_trip(struct thermal_zone_device *tz, in for_each_thermal_trip() 44 int thermal_zone_for_each_trip(struct thermal_zone_device *tz, in thermal_zone_for_each_trip() 54 void thermal_zone_set_trips(struct thermal_zone_device *tz, int low, int high) in thermal_zone_set_trips() 82 int thermal_zone_trip_id(const struct thermal_zone_device *tz, in thermal_zone_trip_id()
|
| H 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 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()
|
| H A D | thermal_debugfs.c | 152 struct thermal_zone_device *tz; member 556 static struct tz_episode *thermal_debugfs_tz_event_alloc(struct thermal_zone_device *tz, in thermal_debugfs_tz_event_alloc() 579 void thermal_debug_tz_trip_up(struct thermal_zone_device *tz, in thermal_debug_tz_trip_up() 672 void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, in thermal_debug_tz_trip_down() 727 void thermal_debug_update_trip_stats(struct thermal_zone_device *tz) in thermal_debug_update_trip_stats() 789 struct thermal_zone_device *tz = thermal_dbg->tz_dbg.tz; in tze_seq_show() local 866 void thermal_debug_tz_add(struct thermal_zone_device *tz) in thermal_debug_tz_add() 893 static struct thermal_debugfs *thermal_debug_tz_clear(struct thermal_zone_device *tz) in thermal_debug_tz_clear() 906 void thermal_debug_tz_remove(struct thermal_zone_device *tz) in thermal_debug_tz_remove() 934 void thermal_debug_tz_resume(struct thermal_zone_device *tz) in thermal_debug_tz_resume()
|
| H A D | thermal_of.c | 225 static struct device_node *thermal_of_zone_get_by_name(struct thermal_zone_device *tz) in thermal_of_zone_get_by_name() 305 static bool thermal_of_should_bind(struct thermal_zone_device *tz, in thermal_of_should_bind() 341 static void thermal_of_zone_unregister(struct thermal_zone_device *tz) in thermal_of_zone_unregister() 371 struct thermal_zone_device *tz; in thermal_of_zone_register() local 507 void devm_thermal_of_zone_unregister(struct device *dev, struct thermal_zone_device *tz) in devm_thermal_of_zone_unregister()
|
| H A D | loongson2_thermal.c | 74 static int loongson2_2k1000_get_temp(struct thermal_zone_device *tz, int *temp) in loongson2_2k1000_get_temp() 85 static int loongson2_2k2000_get_temp(struct thermal_zone_device *tz, int *temp) in loongson2_2k2000_get_temp() 108 static int loongson2_thermal_set_trips(struct thermal_zone_device *tz, int low, int high) in loongson2_thermal_set_trips()
|
| H A D | db8500_thermal.c | 55 struct thermal_zone_device *tz; member 62 static int db8500_thermal_get_temp(struct thermal_zone_device *tz, int *temp) in db8500_thermal_get_temp()
|
| H A D | imx_thermal.c | 205 struct thermal_zone_device *tz; member 254 static int imx_get_temp(struct thermal_zone_device *tz, int *temp) in imx_get_temp() 310 static int imx_change_mode(struct thermal_zone_device *tz, in imx_change_mode() 334 static int imx_set_trip_temp(struct thermal_zone_device *tz, in imx_set_trip_temp() 356 static bool imx_should_bind(struct thermal_zone_device *tz, in imx_should_bind()
|
| /linux/drivers/acpi/ |
| H A D | thermal.c | 60 #define ACPI_THERMAL_TRIPS_EXCEPTION(tz, str) \ argument 129 static int acpi_thermal_get_temperature(struct acpi_thermal *tz) in acpi_thermal_get_temperature() 151 static int acpi_thermal_get_polling_frequency(struct acpi_thermal *tz) in acpi_thermal_get_polling_frequency() 170 static int acpi_thermal_temp(struct acpi_thermal *tz, int temp_deci_k) in acpi_thermal_temp() 190 static int active_trip_index(struct acpi_thermal *tz, in active_trip_index() 199 static long get_passive_temp(struct acpi_thermal *tz) in get_passive_temp() 209 static long get_active_temp(struct acpi_thermal *tz, int index) in get_active_temp() 229 static void acpi_thermal_update_trip(struct acpi_thermal *tz, in acpi_thermal_update_trip() 249 static bool update_trip_devices(struct acpi_thermal *tz, in update_trip_devices() 279 static void acpi_thermal_update_trip_devices(struct acpi_thermal *tz, in acpi_thermal_update_trip_devices() [all …]
|
| /linux/tools/testing/selftests/timers/ |
| H 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/tools/include/nolibc/sys/ |
| H A D | time.h | 23 int sys_gettimeofday(struct timeval *tv, struct timezone *tz) in sys_gettimeofday() argument 44 gettimeofday(struct timeval * tv,struct timezone * tz) gettimeofday() argument
|
| /linux/kernel/time/ |
| H 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/drivers/thermal/broadcom/ |
| H A D | sr-thermal.c | 33 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/drivers/thermal/testing/ |
| H A D | zone.c | 44 struct thermal_zone_device *tz; member 366 static int tt_zone_get_temp(struct thermal_zone_device *tz, int *temp) in tt_zone_get_temp() 384 struct thermal_zone_device *tz; in tt_zone_register_tz() local
|
| /linux/fs/exfat/ |
| H A D | misc.c | 69 u8 tz, __le16 time, __le16 date, u8 time_cs) in exfat_get_entry_time() 94 u8 *tz, __le16 *time, __le16 *date, u8 *time_cs) in exfat_set_entry_time()
|
| /linux/arch/parisc/kernel/vdso64/ |
| H A D | vdso64_generic.c | 16 struct timezone *tz) in __vdso_gettimeofday()
|
| /linux/drivers/thermal/ti-soc-thermal/ |
| H A D | ti-thermal-common.c | 70 static inline int __ti_thermal_get_temp(struct thermal_zone_device *tz, int *temp) in __ti_thermal_get_temp() 112 static int __ti_thermal_get_trend(struct thermal_zone_device *tz, in __ti_thermal_get_trend()
|
| /linux/arch/arm64/kernel/vdso/ |
| H A D | vgettimeofday.c | 20 struct timezone *tz) in __kernel_gettimeofday()
|