Searched refs:cached_phc_time (Results 1 – 9 of 9) sorted by relevance
238 *ts = ns_to_timespec64(adapter->ptp.cached_phc_time); in iavf_read_phc_indirect()468 u64 iavf_ptp_extend_32b_timestamp(u64 cached_phc_time, u32 in_tstamp) in iavf_ptp_extend_32b_timestamp() argument470 u32 low = lower_32_bits(cached_phc_time); in iavf_ptp_extend_32b_timestamp()480 ns = cached_phc_time - (low - in_tstamp); in iavf_ptp_extend_32b_timestamp()482 ns = cached_phc_time + delta; in iavf_ptp_extend_32b_timestamp()
21 u64 iavf_ptp_extend_32b_timestamp(u64 cached_phc_time, u32 in_tstamp);40 static inline u64 iavf_ptp_extend_32b_timestamp(u64 cached_phc_time, in iavf_ptp_extend_32b_timestamp() argument
26 u64 cached_phc_time; member
1111 ns = iavf_ptp_extend_32b_timestamp(rx_ring->ptp->cached_phc_time, in iavf_flex_rx_tstamp()
2277 adapter->ptp.cached_phc_time = msg->time; in iavf_virtchnl_ptp_get_time()
381 static u64 ice_ptp_extend_32b_ts(u64 cached_phc_time, u32 in_tstamp) in ice_ptp_extend_32b_ts() argument387 phc_time_lo = (u32)cached_phc_time; in ice_ptp_extend_32b_ts()402 ns = cached_phc_time - delta; in ice_ptp_extend_32b_ts()404 ns = cached_phc_time + delta; in ice_ptp_extend_32b_ts()448 return ice_ptp_extend_32b_ts(pf->ptp.cached_phc_time, in ice_ptp_extend_40b_ts()1058 if (pf->ptp.cached_phc_time && in ice_ptp_update_cached_phctime()1071 WRITE_ONCE(pf->ptp.cached_phc_time, systime); in ice_ptp_update_cached_phctime()3059 if (ptp->cached_phc_time) { in ice_ptp_rebuild_owner()3061 ts = ns_to_timespec64(ptp->cached_phc_time + time_diff); in ice_ptp_rebuild_owner()
255 u64 cached_phc_time; member
1433 ring->cached_phctime = pf->ptp.cached_phc_time; in ice_vsi_alloc_rings()
3333 rx_rings[i].cached_phctime = pf->ptp.cached_phc_time; in ice_set_ringparam()