Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/thermal/
Dthermal_core.c81 static void bind_previous_governor(struct thermal_zone_device *tz, in bind_previous_governor()
103 static int thermal_set_governor(struct thermal_zone_device *tz, in thermal_set_governor()
205 int thermal_zone_device_set_policy(struct thermal_zone_device *tz, in thermal_zone_device_set_policy()
295 static void thermal_zone_device_set_polling(struct thermal_zone_device *tz, in thermal_zone_device_set_polling()
310 static void monitor_thermal_zone(struct thermal_zone_device *tz) in monitor_thermal_zone()
324 static void handle_non_critical_trips(struct thermal_zone_device *tz, int trip) in handle_non_critical_trips()
378 static void handle_critical_trips(struct thermal_zone_device *tz, in handle_critical_trips()
412 static void handle_thermal_trip(struct thermal_zone_device *tz, int trip) in handle_thermal_trip()
433 static void update_temperature(struct thermal_zone_device *tz) in update_temperature()
460 static void thermal_zone_device_init(struct thermal_zone_device *tz) in thermal_zone_device_init()
[all …]
Dof-thermal.c89 static int of_thermal_get_temp(struct thermal_zone_device *tz, in of_thermal_get_temp()
100 static int of_thermal_set_trips(struct thermal_zone_device *tz, in of_thermal_set_trips()
121 int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips()
142 bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) in of_thermal_is_trip_valid()
164 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points()
186 static int of_thermal_set_emul_temp(struct thermal_zone_device *tz, in of_thermal_set_emul_temp()
194 static int of_thermal_get_trend(struct thermal_zone_device *tz, int trip, in of_thermal_get_trend()
272 static int of_thermal_get_mode(struct thermal_zone_device *tz, in of_thermal_get_mode()
282 static int of_thermal_set_mode(struct thermal_zone_device *tz, in of_thermal_set_mode()
305 static int of_thermal_get_trip_type(struct thermal_zone_device *tz, int trip, in of_thermal_get_trip_type()
[all …]
Dthermal_helpers.c25 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()
77 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
116 void thermal_zone_set_trips(struct thermal_zone_device *tz) in thermal_zone_set_trips()
205 int thermal_zone_get_slope(struct thermal_zone_device *tz) in thermal_zone_get_slope()
220 int thermal_zone_get_offset(struct thermal_zone_device *tz) in thermal_zone_get_offset()
Dthermal_hwmon.c37 struct thermal_zone_device *tz; member
56 struct thermal_zone_device *tz = temp->tz; in temp_input_show() local
74 struct thermal_zone_device *tz = temp->tz; in temp_crit_show() local
87 thermal_hwmon_lookup_by_type(const struct thermal_zone_device *tz) in thermal_hwmon_lookup_by_type()
109 const struct thermal_zone_device *tz) in thermal_hwmon_lookup_temp()
124 static bool thermal_zone_crit_temp_valid(struct thermal_zone_device *tz) in thermal_zone_crit_temp_valid()
130 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs()
214 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs()
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
70 struct thermal_zone_device *tz = to_thermal_zone(dev); in mode_store() local
93 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_type_show() local
125 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_store() local
151 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_temp_show() local
173 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_store() local
203 struct thermal_zone_device *tz = to_thermal_zone(dev); in trip_point_hyst_show() local
222 struct thermal_zone_device *tz = to_thermal_zone(dev); in passive_store() local
[all …]
Dpower_allocator.c93 static u32 estimate_sustainable_power(struct thermal_zone_device *tz) in estimate_sustainable_power()
134 static void estimate_pid_constants(struct thermal_zone_device *tz, in estimate_pid_constants()
192 static u32 pid_controller(struct thermal_zone_device *tz, in pid_controller()
332 static int allocate_power(struct thermal_zone_device *tz, in allocate_power()
468 static void get_governor_trips(struct thermal_zone_device *tz, in get_governor_trips()
521 static void allow_maximum_power(struct thermal_zone_device *tz) in allow_maximum_power()
550 static int power_allocator_bind(struct thermal_zone_device *tz) in power_allocator_bind()
597 static void power_allocator_unbind(struct thermal_zone_device *tz) in power_allocator_unbind()
612 static int power_allocator_throttle(struct thermal_zone_device *tz, int trip) in power_allocator_throttle()
Dfair_share.c22 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()
Dstep_wise.c105 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()
Dthermal_hwmon.h23 thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_add_hwmon_sysfs()
29 thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) in thermal_remove_hwmon_sysfs()
Dthermal_core.h41 struct thermal_zone_device *tz; member
103 static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz) in of_thermal_get_ntrips()
107 static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, in of_thermal_is_trip_valid()
113 of_thermal_get_trip_points(struct thermal_zone_device *tz) in of_thermal_get_trip_points()
Dimx_thermal.c205 struct thermal_zone_device *tz; member
257 static int imx_get_temp(struct thermal_zone_device *tz, int *temp) in imx_get_temp()
341 static int imx_get_mode(struct thermal_zone_device *tz, in imx_get_mode()
351 static int imx_set_mode(struct thermal_zone_device *tz, in imx_set_mode()
392 static int imx_get_trip_type(struct thermal_zone_device *tz, int trip, in imx_get_trip_type()
400 static int imx_get_crit_temp(struct thermal_zone_device *tz, int *temp) in imx_get_crit_temp()
408 static int imx_get_trip_temp(struct thermal_zone_device *tz, int trip, in imx_get_trip_temp()
418 static int imx_set_trip_temp(struct thermal_zone_device *tz, int trip, in imx_set_trip_temp()
438 static int imx_bind(struct thermal_zone_device *tz, in imx_bind()
457 static int imx_unbind(struct thermal_zone_device *tz, in imx_unbind()
Dgov_bang_bang.c16 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()
Duser_space.c25 static int notify_user_space(struct thermal_zone_device *tz, int trip) in notify_user_space()
Ddevfreq_cooling.c274 struct thermal_zone_device *tz, in devfreq_cooling_get_requested_power()
334 struct thermal_zone_device *tz, in devfreq_cooling_state2power()
353 struct thermal_zone_device *tz, in devfreq_cooling_power2state()
/Linux-v5.4/drivers/acpi/
Dthermal.c183 static int acpi_thermal_get_temperature(struct acpi_thermal *tz) in acpi_thermal_get_temperature()
204 static int acpi_thermal_get_polling_frequency(struct acpi_thermal *tz) in acpi_thermal_get_polling_frequency()
223 static int acpi_thermal_set_cooling_mode(struct acpi_thermal *tz, int mode) in acpi_thermal_set_cooling_mode()
263 static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag) in acpi_thermal_trips_update()
476 static int acpi_thermal_get_trip_points(struct acpi_thermal *tz) in acpi_thermal_get_trip_points()
499 struct acpi_thermal *tz = data; in acpi_thermal_check() local
512 struct acpi_thermal *tz = thermal->devdata; in thermal_get_temp() local
530 struct acpi_thermal *tz = thermal->devdata; in thermal_get_mode() local
544 struct acpi_thermal *tz = thermal->devdata; in thermal_set_mode() local
574 struct acpi_thermal *tz = thermal->devdata; in thermal_get_trip_type() local
[all …]
/Linux-v5.4/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-v5.4/include/linux/
Dthermal.h398 struct thermal_zone_device *tz) in thermal_zone_of_sensor_unregister()
411 struct thermal_zone_device *tz) in devm_thermal_zone_of_sensor_unregister()
470 struct thermal_zone_device *tz, u32 *max_power) in power_actor_get_max_power()
473 struct thermal_zone_device *tz, in power_actor_get_min_power()
477 struct thermal_instance *tz, u32 power) in power_actor_set_power()
486 struct thermal_zone_device *tz) in thermal_zone_device_unregister()
489 struct thermal_zone_device *tz, int trip, in thermal_zone_bind_cooling_device()
495 struct thermal_zone_device *tz, int trip, in thermal_zone_unbind_cooling_device()
498 static inline void thermal_zone_device_update(struct thermal_zone_device *tz, in thermal_zone_device_update()
501 static inline void thermal_zone_set_trips(struct thermal_zone_device *tz) in thermal_zone_set_trips()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c153 mlxsw_thermal_module_trips_reset(struct mlxsw_thermal_module *tz) in mlxsw_thermal_module_trips_reset()
163 struct mlxsw_thermal_module *tz) in mlxsw_thermal_module_trips_update()
393 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_trend_get() local
423 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_bind() local
452 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_unbind() local
471 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_mode_get() local
481 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_mode_set() local
502 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_temp_get() local
539 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_type_get() local
552 struct mlxsw_thermal_module *tz = tzdev->devdata; in mlxsw_thermal_module_trip_temp_get() local
[all …]
/Linux-v5.4/arch/mips/vdso/
Dvgettimeofday.c21 struct timezone *tz) in __vdso_gettimeofday()
47 struct timezone *tz) in __vdso_gettimeofday()
/Linux-v5.4/drivers/thermal/broadcom/
Dbcm2835_thermal.c67 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
Dbrcmstb_thermal.c111 static void avs_tmon_get_coeffs(struct thermal_zone_device *tz, int *slope, in avs_tmon_get_coeffs()
119 static inline int avs_tmon_code_to_temp(struct thermal_zone_device *tz, in avs_tmon_code_to_temp()
136 static inline u32 avs_tmon_temp_to_code(struct thermal_zone_device *tz, in avs_tmon_temp_to_code()
/Linux-v5.4/arch/sparc/vdso/
Dvclock_gettime.c77 notrace static long vdso_fallback_gettimeofday(struct timeval *tv, struct timezone *tz) in vdso_fallback_gettimeofday()
307 __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday()
343 __vdso_gettimeofday_stick(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday_stick()
/Linux-v5.4/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
226 struct timezone __user *, tz) in COMPAT_SYSCALL_DEFINE2() argument
245 struct timezone __user *, tz) in COMPAT_SYSCALL_DEFINE2() argument
/Linux-v5.4/arch/arm64/kernel/vdso/
Dvgettimeofday.c18 struct timezone *tz) in __kernel_gettimeofday()
/Linux-v5.4/fs/isofs/
Dutil.c21 int year, month, day, hour, minute, second, tz; in iso_date() local

123