Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/ptp/
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()
Dptp_kvm_common.c59 struct system_device_crosststamp *xtstamp) in ptp_kvm_getcrosststamp() argument
62 NULL, xtstamp); in ptp_kvm_getcrosststamp()
Dptp_chardev.c166 struct system_device_crosststamp xtstamp; in ptp_ioctl() local
331 err = ptp->info->getcrosststamp(ptp->info, &xtstamp); in ptp_ioctl()
336 ts = ktime_to_timespec64(xtstamp.device); in ptp_ioctl()
339 ts = ktime_to_timespec64(xtstamp.sys_realtime); in ptp_ioctl()
342 ts = ktime_to_timespec64(xtstamp.sys_monoraw); in ptp_ioctl()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
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.12.1/drivers/net/ethernet/intel/e1000e/
Dptp.c142 struct system_device_crosststamp *xtstamp) in e1000e_phc_getcrosststamp() argument
148 adapter, NULL, xtstamp); in e1000e_phc_getcrosststamp()
/linux-6.12.1/sound/pci/hda/
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.12.1/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c258 struct system_device_crosststamp *xtstamp) in stmmac_getcrosststamp() argument
264 priv, NULL, xtstamp); in stmmac_getcrosststamp()
/linux-6.12.1/include/linux/
Dtimekeeping.h334 struct system_device_crosststamp *xtstamp);
/linux-6.12.1/kernel/time/
Dtimekeeping.c1317 struct system_device_crosststamp *xtstamp) in get_device_system_crosststamp() argument
1336 ret = get_time_fn(&xtstamp->device, &system_counterval, ctx); in get_device_system_crosststamp()
1373 xtstamp->sys_realtime = ktime_add_ns(base_real, nsec_real); in get_device_system_crosststamp()
1374 xtstamp->sys_monoraw = ktime_add_ns(base_raw, nsec_raw); in get_device_system_crosststamp()
1402 discontinuity, xtstamp); in get_device_system_crosststamp()