Searched refs:tz (Results 51 - 75 of 125) sorted by relevance

12345

/linux-master/arch/riscv/include/asm/vdso/
H A Dgettimeofday.h25 register struct timezone *tz asm("a1") = _tz;
31 : "r"(tv), "r"(tz), "r"(nr)
/linux-master/arch/loongarch/include/asm/vdso/
H A Dgettimeofday.h22 register struct timezone *tz asm("a1") = _tz;
29 : "r" (nr), "r" (tv), "r" (tz)
/linux-master/arch/x86/entry/vdso/
H A Dvclock_gettime.c18 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) argument
20 return __cvdso_gettimeofday(tv, tz);
/linux-master/tools/testing/selftests/vDSO/
H A Dvdso_test_gettimeofday.c49 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
H A Dvdso_standalone_test_x86.c88 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz);
/linux-master/drivers/thermal/
H A Dloongson2_thermal.c62 static int loongson2_thermal_get_temp(struct thermal_zone_device *tz, int *temp) argument
65 struct loongson2_thermal_data *data = thermal_zone_device_priv(tz);
86 static int loongson2_thermal_set_trips(struct thermal_zone_device *tz, int low, int high) argument
88 struct loongson2_thermal_data *data = thermal_zone_device_priv(tz);
H A Dthermal_mmio.c23 static int thermal_mmio_get_temperature(struct thermal_zone_device *tz, int *temp) argument
26 struct thermal_mmio *sensor = thermal_zone_device_priv(tz);
H A Dimx_thermal.c205 struct thermal_zone_device *tz; member in struct:imx_thermal_data
254 static int imx_get_temp(struct thermal_zone_device *tz, int *temp) argument
256 struct imx_thermal_data *data = thermal_zone_device_priv(tz);
310 static int imx_change_mode(struct thermal_zone_device *tz, argument
313 struct imx_thermal_data *data = thermal_zone_device_priv(tz);
334 static int imx_set_trip_temp(struct thermal_zone_device *tz, int trip_id, argument
337 struct imx_thermal_data *data = thermal_zone_device_priv(tz);
345 ret = __thermal_zone_get_trip(tz, trip_id, &trip);
365 static int imx_bind(struct thermal_zone_device *tz, argument
368 return thermal_zone_bind_cooling_device(tz, IMX_TRIP_PASSIV
374 imx_unbind(struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) argument
[all...]
H A Dimx_sc_thermal.c44 static int imx_sc_thermal_get_temp(struct thermal_zone_device *tz, int *temp) argument
48 struct imx_sc_sensor *sensor = thermal_zone_device_priv(tz);
H A Dmax77620_thermal.c47 static int max77620_thermal_read_temp(struct thermal_zone_device *tz, int *temp) argument
49 struct max77620_therm_info *mtherm = thermal_zone_device_priv(tz);
H A Darmada_thermal.c121 struct thermal_zone_device *tz; member in union:armada_drvdata::__anon1571
415 static int armada_get_temp(struct thermal_zone_device *tz, int *temp) argument
417 struct armada_thermal_sensor *sensor = thermal_zone_device_priv(tz);
801 struct thermal_zone_device *tz,
808 ret = thermal_zone_get_crit_temp(tz, &temperature);
820 priv->overheat_sensor = tz;
829 struct thermal_zone_device *tz; local
879 tz = thermal_tripless_zone_device_register(priv->zone_name,
882 if (IS_ERR(tz)) {
885 return PTR_ERR(tz);
800 armada_configure_overheat_int(struct armada_thermal_priv *priv, struct thermal_zone_device *tz, int sensor_id) argument
[all...]
H A Dthermal-generic-adc.c57 static int gadc_thermal_get_temp(struct thermal_zone_device *tz, int *temp) argument
59 struct gadc_thermal_info *gti = thermal_zone_device_priv(tz);
/linux-master/arch/arm/include/asm/vdso/
H A Dgettimeofday.h24 register struct timezone *tz asm("r1") = _tz;
32 : "r" (tv), "r" (tz), "r" (nr)
/linux-master/arch/csky/include/asm/vdso/
H A Dgettimeofday.h20 register struct timezone *tz asm("a1") = _tz;
26 : "r"(tv), "r"(tz), "r"(nr)
/linux-master/arch/arm64/include/asm/vdso/
H A Dcompat_gettimeofday.h24 register struct timezone *tz asm("r1") = _tz;
32 : "r" (tv), "r" (tz), "r" (nr)
/linux-master/drivers/thermal/ti-soc-thermal/
H A Dti-thermal-common.c70 static inline int __ti_thermal_get_temp(struct thermal_zone_device *tz, int *temp) argument
73 struct ti_thermal_data *data = thermal_zone_device_priv(tz);
90 slope = thermal_zone_get_slope(tz);
91 constant = thermal_zone_get_offset(tz);
112 static int __ti_thermal_get_trend(struct thermal_zone_device *tz, argument
116 struct ti_thermal_data *data = thermal_zone_device_priv(tz);
/linux-master/fs/exfat/
H A Dmisc.c69 u8 tz, __le16 time, __le16 date, u8 time_cs)
85 if (tz & EXFAT_TZ_VALID)
87 exfat_adjust_tz(ts, tz & ~EXFAT_TZ_VALID);
94 u8 *tz, __le16 *time, __le16 *date, u8 *time_cs)
115 *tz = EXFAT_TZ_VALID;
68 exfat_get_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts, u8 tz, __le16 time, __le16 date, u8 time_cs) argument
93 exfat_set_entry_time(struct exfat_sb_info *sbi, struct timespec64 *ts, u8 *tz, __le16 *time, __le16 *date, u8 *time_cs) argument
/linux-master/arch/mips/include/asm/vdso/
H A Dgettimeofday.h33 register struct timezone *tz asm("a1") = _tz;
42 : "r" (tv), "r" (tz), "r" (nr)
/linux-master/drivers/thermal/tegra/
H A Dsoctherm.c304 struct thermal_zone_device *tz; member in struct:tegra_thermctl_zone
424 static int tegra_thermctl_get_temp(struct thermal_zone_device *tz, int *out_temp) argument
426 struct tegra_thermctl_zone *zone = thermal_zone_device_priv(tz);
585 static int tegra_thermctl_set_trip_temp(struct thermal_zone_device *tz, int trip_id, int temp) argument
587 struct tegra_thermctl_zone *zone = thermal_zone_device_priv(tz);
594 if (!tz)
597 ret = __thermal_zone_get_trip(tz, trip_id, &trip);
623 if (get_thermal_instance(tz, cdev, trip_id))
659 static int tegra_thermctl_set_trips(struct thermal_zone_device *tz, int lo, int hi) argument
661 struct tegra_thermctl_zone *zone = thermal_zone_device_priv(tz);
690 get_hot_temp(struct thermal_zone_device *tz, int *trip_id, int *temp) argument
734 tegra_soctherm_set_hwtrips(struct device *dev, const struct tegra_tsensor_group *sg, struct thermal_zone_device *tz) argument
836 struct thermal_zone_device *tz; local
2257 struct thermal_zone_device *tz; local
[all...]
H A Dtegra-bpmp-thermal.c65 static int tegra_bpmp_thermal_get_temp(struct thermal_zone_device *tz, int *out_temp) argument
67 struct tegra_bpmp_thermal_zone *zone = thermal_zone_device_priv(tz);
72 static int tegra_bpmp_thermal_set_trips(struct thermal_zone_device *tz, int low, int high) argument
74 struct tegra_bpmp_thermal_zone *zone = thermal_zone_device_priv(tz);
/linux-master/drivers/thermal/mediatek/
H A Dlvts_thermal.c124 struct thermal_zone_device *tz; member in struct:lvts_sensor
276 static int lvts_get_temp(struct thermal_zone_device *tz, int *temp) argument
278 struct lvts_sensor *lvts_sensor = thermal_zone_device_priv(tz);
358 static int lvts_set_trips(struct thermal_zone_device *tz, int low, int high) argument
360 struct lvts_sensor *lvts_sensor = thermal_zone_device_priv(tz);
393 thermal_zone_device_type(tz), low);
406 thermal_zone_device_type(tz), high);
500 thermal_zone_device_update(lvts_ctrl->sensors[i].tz,
1079 struct thermal_zone_device *tz; local
1096 tz
[all...]
/linux-master/lib/vdso/
H A Dgettimeofday.c300 struct __kernel_old_timeval *tv, struct timezone *tz)
307 return gettimeofday_fallback(tv, tz);
313 if (unlikely(tz != NULL)) {
318 tz->tz_minuteswest = vd[CS_HRES_COARSE].tz_minuteswest;
319 tz->tz_dsttime = vd[CS_HRES_COARSE].tz_dsttime;
326 __cvdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) argument
328 return __cvdso_gettimeofday_data(__arch_get_vdso_data(), tv, tz);
299 __cvdso_gettimeofday_data(const struct vdso_data *vd, struct __kernel_old_timeval *tv, struct timezone *tz) argument
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c245 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); local
246 struct mlxsw_thermal *thermal = tz->parent;
254 const struct mlxsw_cooling_states *state = &tz->cooling_states[i];
274 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); local
275 struct mlxsw_thermal *thermal = tz->parent;
293 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); local
294 struct mlxsw_thermal *thermal = tz->parent;
299 sensor_index = MLXSW_REG_MTMP_MODULE_INDEX_MIN + tz->module;
300 mlxsw_reg_mtmp_pack(mtmp_pl, tz->slot_index, sensor_index,
318 struct mlxsw_thermal_module *tz local
[all...]
/linux-master/drivers/thermal/broadcom/
H A Dbrcmstb_thermal.c153 static int brcmstb_get_temp(struct thermal_zone_device *tz, int *temp) argument
155 struct brcmstb_thermal_priv *priv = thermal_zone_device_priv(tz);
261 static int brcmstb_set_trips(struct thermal_zone_device *tz, int low, int high) argument
263 struct brcmstb_thermal_priv *priv = thermal_zone_device_priv(tz);
/linux-master/samples/timers/
H A Dhpet_example.c138 struct timezone tz; local
183 gettimeofday(&stv, &tz);
189 gettimeofday(&etv, &tz);

Completed in 199 milliseconds

12345