Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/ptp/
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()
A Dptp_kvm_common.c59 struct system_device_crosststamp *xtstamp) in ptp_kvm_getcrosststamp() argument
62 NULL, xtstamp); in ptp_kvm_getcrosststamp()
A Dptp_chardev.c114 struct system_device_crosststamp xtstamp; in ptp_ioctl() local
273 err = ptp->info->getcrosststamp(ptp->info, &xtstamp); in ptp_ioctl()
278 ts = ktime_to_timespec64(xtstamp.device); in ptp_ioctl()
281 ts = ktime_to_timespec64(xtstamp.sys_realtime); in ptp_ioctl()
284 ts = ktime_to_timespec64(xtstamp.sys_monoraw); in ptp_ioctl()
/linux-6.3-rc2/drivers/net/ethernet/intel/e1000e/
A Dptp.c141 struct system_device_crosststamp *xtstamp) in e1000e_phc_getcrosststamp() argument
147 adapter, NULL, xtstamp); in e1000e_phc_getcrosststamp()
/linux-6.3-rc2/sound/pci/hda/
A Dhda_controller.c474 struct system_device_crosststamp *xtstamp) in azx_get_crosststamp() argument
477 substream, NULL, xtstamp); in azx_get_crosststamp()
497 struct system_device_crosststamp xtstamp; in azx_get_time_info() local
518 ret = azx_get_crosststamp(substream, &xtstamp); in azx_get_time_info()
527 *system_ts = ktime_to_timespec64(xtstamp.sys_monoraw); in azx_get_time_info()
531 *system_ts = ktime_to_timespec64(xtstamp.sys_realtime); in azx_get_time_info()
536 *audio_ts = ktime_to_timespec64(xtstamp.device); in azx_get_time_info()
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_ptp.c247 struct system_device_crosststamp *xtstamp) in stmmac_getcrosststamp() argument
253 priv, NULL, xtstamp); in stmmac_getcrosststamp()
/linux-6.3-rc2/include/linux/
A Dtimekeeping.h290 struct system_device_crosststamp *xtstamp);
/linux-6.3-rc2/kernel/time/
A Dtimekeeping.c1211 struct system_device_crosststamp *xtstamp) in get_device_system_crosststamp() argument
1230 ret = get_time_fn(&xtstamp->device, &system_counterval, ctx); in get_device_system_crosststamp()
1268 xtstamp->sys_realtime = ktime_add_ns(base_real, nsec_real); in get_device_system_crosststamp()
1269 xtstamp->sys_monoraw = ktime_add_ns(base_raw, nsec_raw); in get_device_system_crosststamp()
1297 discontinuity, xtstamp); in get_device_system_crosststamp()

Completed in 19 milliseconds