Home
last modified time | relevance | path

Searched refs:cached_phc_time (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c531 static u64 ice_ptp_extend_32b_ts(u64 cached_phc_time, u32 in_tstamp) in ice_ptp_extend_32b_ts() argument
537 phc_time_lo = (u32)cached_phc_time; in ice_ptp_extend_32b_ts()
552 ns = cached_phc_time - delta; in ice_ptp_extend_32b_ts()
554 ns = cached_phc_time + delta; in ice_ptp_extend_32b_ts()
598 return ice_ptp_extend_32b_ts(pf->ptp.cached_phc_time, in ice_ptp_extend_40b_ts()
1009 if (pf->ptp.cached_phc_time && in ice_ptp_update_cached_phctime()
1022 WRITE_ONCE(pf->ptp.cached_phc_time, systime); in ice_ptp_update_cached_phctime()
2503 if (ptp->cached_phc_time) { in ice_ptp_reset()
2505 ts = ns_to_timespec64(ptp->cached_phc_time + time_diff); in ice_ptp_reset()
H A Dice_ptp.h202 u64 cached_phc_time; member
H A Dice_lib.c1454 ring->cached_phctime = pf->ptp.cached_phc_time; in ice_vsi_alloc_rings()
H A Dice_ethtool.c2849 rx_rings[i].cached_phctime = pf->ptp.cached_phc_time; in ice_set_ringparam()