| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A D | thermal_core.c | 77 static void bind_previous_governor(struct thermal_zone_device *tz, in bind_previous_governor() 99 static int thermal_set_governor(struct thermal_zone_device *tz, in thermal_set_governor() 201 int thermal_zone_device_set_policy(struct thermal_zone_device *tz, in thermal_zone_device_set_policy() 292 static void thermal_zone_device_set_polling(struct thermal_zone_device *tz, in thermal_zone_device_set_polling() 307 static inline bool should_stop_polling(struct thermal_zone_device *tz) in should_stop_polling() 312 static void monitor_thermal_zone(struct thermal_zone_device *tz) in monitor_thermal_zone() 330 static void handle_non_critical_trips(struct thermal_zone_device *tz, int trip) in handle_non_critical_trips() 384 static void handle_critical_trips(struct thermal_zone_device *tz, in handle_critical_trips() 418 static void handle_thermal_trip(struct thermal_zone_device *tz, int trip) in handle_thermal_trip() 452 static void update_temperature(struct thermal_zone_device *tz) in update_temperature() [all …]
|
| H 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() 216 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs() 259 int devm_thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in devm_thermal_add_hwmon_sysfs()
|
| H 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() 140 bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) in of_thermal_is_trip_valid() 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() 195 static int of_thermal_get_trend(struct thermal_zone_device *tz, int trip, in of_thermal_get_trend() 273 static int of_thermal_get_trip_type(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_type() 286 static int of_thermal_get_trip_temp(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_temp() 299 static int of_thermal_set_trip_temp(struct thermal_zone_device *tz, int trip, in of_thermal_set_trip_temp() [all …]
|
| H 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() 226 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope() 241 int thermal_zone_get_offset(struct thermal_zone_device *tz) in thermal_zone_get_offset()
|
| 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 52 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_show() local 62 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_store() local 82 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_type_show() local 114 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_temp_show() local 175 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_store() local 205 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_show() local 224 struct thermal_zone_device *tz = to_thermal_zone(dev); in passive_store() local [all …]
|
| H A D | gov_power_allocator.c | 86 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power() 127 static void estimate_pid_constants(struct thermal_zone_device *tz, in estimate_pid_constants() 185 static u32 pid_controller(struct thermal_zone_device *tz, in pid_controller() 325 static int allocate_power(struct thermal_zone_device *tz, in allocate_power() 461 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips() 514 static void allow_maximum_power(struct thermal_zone_device *tz) in allow_maximum_power() 543 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind() 590 static void power_allocator_unbind(struct thermal_zone_device *tz) in power_allocator_unbind() 605 static int power_allocator_throttle(struct thermal_zone_device *tz, int trip) in power_allocator_throttle()
|
| 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 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 | 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()
|
| H 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() 186 static int step_wise_throttle(struct thermal_zone_device *tz, int trip) in step_wise_throttle()
|
| H A D | thermal_core.h | 103 struct thermal_zone_device *tz; member 166 static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips() 170 static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, in of_thermal_is_trip_valid() 176 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points()
|
| H 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()
|
| H A 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()
|
| H A D | thermal_netlink.c | 366 static int __thermal_genl_cmd_tz_get_id(struct thermal_zone_device *tz, in __thermal_genl_cmd_tz_get_id() 405 struct thermal_zone_device *tz; in thermal_genl_cmd_tz_get_trip() local 456 struct thermal_zone_device *tz; in thermal_genl_cmd_tz_get_temp() local 482 struct thermal_zone_device *tz; in thermal_genl_cmd_tz_get_gov() local
|
| H A D | gov_user_space.c | 25 static int notify_user_space(struct thermal_zone_device *tz, int trip) in notify_user_space()
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | thermal.c | 185 static int acpi_thermal_get_temperature(struct acpi_thermal *tz) in acpi_thermal_get_temperature() 206 static int acpi_thermal_get_polling_frequency(struct acpi_thermal *tz) in acpi_thermal_get_polling_frequency() 225 static int acpi_thermal_set_cooling_mode(struct acpi_thermal *tz, int mode) in acpi_thermal_set_cooling_mode() 265 static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) in acpi_thermal_trips_update() 479 static int acpi_thermal_get_trip_points(struct acpi_thermal *tz) in acpi_thermal_get_trip_points() 504 struct acpi_thermal *tz = thermal->devdata; in thermal_get_temp() local 522 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_type() local 567 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_temp() local 620 struct acpi_thermal *tz = thermal->devdata; in thermal_get_crit_temp() local 634 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trend() local [all …]
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_thermal.c | 144 mlxsw_thermal_module_trips_reset(struct mlxsw_thermal_module *tz) in mlxsw_thermal_module_trips_reset() 154 struct mlxsw_thermal_module *tz) in mlxsw_thermal_module_trips_update() 384 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_bind() local 413 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_unbind() local 432 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_temp_get() local 469 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_type_get() local 482 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_temp_get() local 495 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_temp_set() local 509 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_hyst_get() local 519 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_hyst_set() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/ |
| H A D | mali_kbase_ipa_simple.c | 56 struct thermal_zone_device *tz, in kbase_simple_power_model_get_dummy_temp() 67 #define thermal_zone_get_temp(tz, temp) \ argument 158 struct thermal_zone_device *tz = READ_ONCE(model_data->gpu_tz); in poll_temperature() local 304 struct thermal_zone_device *tz; in kbase_simple_power_model_recalculate() local
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | thermal.h | 364 struct thermal_zone_device *tz) in thermal_zone_of_sensor_unregister() 377 struct thermal_zone_device *tz) in devm_thermal_zone_of_sensor_unregister() 427 struct thermal_zone_device *tz) in thermal_zone_device_unregister() 453 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp() 456 struct thermal_zone_device *tz) in thermal_zone_get_slope() 459 struct thermal_zone_device *tz) in thermal_zone_get_offset() 464 static inline void thermal_notify_framework(struct thermal_zone_device *tz, in thermal_notify_framework() 468 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable() 471 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable() 475 thermal_zone_device_is_enabled(struct thermal_zone_device *tz) in thermal_zone_device_is_enabled()
|
| /OK3568_Linux_fs/kernel/arch/mips/vdso/ |
| H A D | vgettimeofday.c | 29 struct timezone *tz) in __vdso_gettimeofday() 65 struct timezone *tz) in __vdso_gettimeofday()
|
| /OK3568_Linux_fs/kernel/drivers/thermal/broadcom/ |
| H A D | bcm2835_thermal.c | 67 struct thermal_zone_device *tz; member 167 struct thermal_zone_device *tz; in bcm2835_thermal_probe() local 291 struct thermal_zone_device *tz = data->tz; in bcm2835_thermal_remove() local
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/arch/sparc/vdso/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/fs/exfat/ |
| H A D | misc.c | 78 u8 tz, __le16 time, __le16 date, u8 time_cs) in exfat_get_entry_time() 104 u8 *tz, __le16 *time, __le16 *date, u8 *time_cs) in exfat_set_entry_time()
|
| /OK3568_Linux_fs/kernel/arch/s390/kernel/vdso64/ |
| H A D | vdso64_generic.c | 5 struct timezone *tz) in __s390_vdso_gettimeofday()
|