Home
last modified time | relevance | path

Searched refs:device_time (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/drivers/ptp/
H A Dptp_s390.c62 static int s390_arch_ptp_get_crosststamp(ktime_t *device_time, in s390_arch_ptp_get_crosststamp() argument
69 *device_time = ns_to_ktime(tod_to_ns(clk.tod - TOD_UNIX_EPOCH)); in s390_arch_ptp_get_crosststamp()
H A Dptp_kvm_common.c27 static int ptp_kvm_get_time_fn(ktime_t *device_time, in ptp_kvm_get_time_fn() argument
51 *device_time = timespec64_to_ktime(tspec); in ptp_kvm_get_time_fn()
H A Dptp_vmclock.c230 static int ptp_vmclock_get_time_fn(ktime_t *device_time, in ptp_vmclock_get_time_fn() argument
247 *device_time = timespec64_to_ktime(tspec); in ptp_vmclock_get_time_fn()
/linux-6.15/include/linux/
H A Dtimekeeping.h324 int (*get_time_fn)(ktime_t *device_time,
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c250 static int mlx5_mtctr_syncdevicetime(ktime_t *device_time, in mlx5_mtctr_syncdevicetime() argument
287 *device_time = ns_to_ktime(REAL_TIME_TO_NS(device >> 32, device & U32_MAX)); in mlx5_mtctr_syncdevicetime()
289 *device_time = mlx5_timecounter_cyc2time(mdev->clock, device); in mlx5_mtctr_syncdevicetime()
/linux-6.15/include/uapi/drm/
H A Dhabanalabs_accel.h993 __u64 device_time; member
/linux-6.15/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c326 time_sync.device_time = hdev->asic_funcs->get_device_time(hdev); in time_sync_info()
/linux-6.15/kernel/time/
H A Dtimekeeping.c1252 (ktime_t *device_time, in get_device_system_crosststamp()
/linux-6.15/drivers/accel/habanalabs/goya/
H A Dgoya.c5288 u64 device_time = ((u64) RREG32(mmPSOC_TIMESTAMP_CNTCVU)) << 32; in goya_get_device_time() local
5290 return device_time | RREG32(mmPSOC_TIMESTAMP_CNTCVL); in goya_get_device_time()
/linux-6.15/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c8760 u64 device_time = ((u64) RREG32(mmPSOC_TIMESTAMP_CNTCVU)) << 32; in gaudi_get_device_time() local
8762 return device_time | RREG32(mmPSOC_TIMESTAMP_CNTCVL); in gaudi_get_device_time()
/linux-6.15/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c11122 u64 device_time = ((u64) RREG32(mmPSOC_TIMESTAMP_CNTCVU)) << 32; in gaudi2_get_device_time() local
11124 return device_time | RREG32(mmPSOC_TIMESTAMP_CNTCVL); in gaudi2_get_device_time()