Home
last modified time | relevance | path

Searched refs:xtstamp (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/drivers/ptp/
H A Dptp_vclock.c126 struct system_device_crosststamp *xtstamp) in ptp_vclock_getcrosststamp() argument
133 err = pptp->info->getcrosscycles(pptp->info, xtstamp); in ptp_vclock_getcrosststamp()
139 ns = timecounter_cyc2time(&vclock->tc, ktime_to_ns(xtstamp->device)); in ptp_vclock_getcrosststamp()
142 xtstamp->device = ns_to_ktime(ns); in ptp_vclock_getcrosststamp()
H A Dptp_s390.c76 struct system_device_crosststamp *xtstamp) in ptp_s390_getcrosststamp() argument
80 return get_device_system_crosststamp(s390_arch_ptp_get_crosststamp, NULL, NULL, xtstamp); in ptp_s390_getcrosststamp()
H A Dptp_kvm_common.c59 struct system_device_crosststamp *xtstamp) in ptp_kvm_getcrosststamp() argument
62 NULL, xtstamp); in ptp_kvm_getcrosststamp()
H A Dptp_chardev.c167 struct system_device_crosststamp xtstamp; in ptp_ioctl() local
347 err = ptp->info->getcrosststamp(ptp->info, &xtstamp); in ptp_ioctl()
352 ts = ktime_to_timespec64(xtstamp.device); in ptp_ioctl()
355 ts = ktime_to_timespec64(xtstamp.sys_realtime); in ptp_ioctl()
358 ts = ktime_to_timespec64(xtstamp.sys_monoraw); in ptp_ioctl()
H A Dptp_vmclock.c253 struct system_device_crosststamp *xtstamp) in ptp_vmclock_getcrosststamp() argument
258 NULL, xtstamp); in ptp_vmclock_getcrosststamp()
274 st, NULL, xtstamp); in ptp_vmclock_getcrosststamp()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dptp.c151 struct system_device_crosststamp *xtstamp) in iwl_mvm_phc_get_crosstimestamp() argument
163 memset(xtstamp, 0, sizeof(struct system_device_crosststamp)); in iwl_mvm_phc_get_crosstimestamp()
186 xtstamp->device = (ktime_t)gp2_ns; in iwl_mvm_phc_get_crosstimestamp()
187 xtstamp->sys_realtime = sys_time; in iwl_mvm_phc_get_crosstimestamp()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dptp.c234 struct system_device_crosststamp *xtstamp) in iwl_mld_phc_get_crosstimestamp() argument
247 memset(xtstamp, 0, sizeof(struct system_device_crosststamp)); in iwl_mld_phc_get_crosstimestamp()
266 xtstamp->device = ns_to_ktime(gp2_ns); in iwl_mld_phc_get_crosstimestamp()
267 xtstamp->sys_realtime = sys_time; in iwl_mld_phc_get_crosstimestamp()
/linux-6.15/drivers/net/ethernet/intel/e1000e/
H A Dptp.c142 struct system_device_crosststamp *xtstamp) in e1000e_phc_getcrosststamp() argument
148 adapter, NULL, xtstamp); in e1000e_phc_getcrosststamp()
/linux-6.15/sound/pci/hda/
H A Dhda_controller.c480 struct system_device_crosststamp *xtstamp) in azx_get_crosststamp() argument
483 substream, NULL, xtstamp); in azx_get_crosststamp()
503 struct system_device_crosststamp xtstamp; in azx_get_time_info() local
524 ret = azx_get_crosststamp(substream, &xtstamp); in azx_get_time_info()
533 *system_ts = ktime_to_timespec64(xtstamp.sys_monoraw); in azx_get_time_info()
537 *system_ts = ktime_to_timespec64(xtstamp.sys_realtime); in azx_get_time_info()
542 *audio_ts = ktime_to_timespec64(xtstamp.device); in azx_get_time_info()
/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ptp.c257 struct system_device_crosststamp *xtstamp) in stmmac_getcrosststamp() argument
263 priv, NULL, xtstamp); in stmmac_getcrosststamp()
/linux-6.15/include/linux/
H A Dtimekeeping.h329 struct system_device_crosststamp *xtstamp);
/linux-6.15/kernel/time/
H A Dtimekeeping.c1257 struct system_device_crosststamp *xtstamp) in get_device_system_crosststamp() argument
1276 ret = get_time_fn(&xtstamp->device, &system_counterval, ctx); in get_device_system_crosststamp()
1313 xtstamp->sys_realtime = ktime_add_ns(base_real, nsec_real); in get_device_system_crosststamp()
1314 xtstamp->sys_monoraw = ktime_add_ns(base_raw, nsec_raw); in get_device_system_crosststamp()
1342 discontinuity, xtstamp); in get_device_system_crosststamp()