Searched refs:cached_phc_time (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ptp.c | 238 *ts = ns_to_timespec64(adapter->ptp.cached_phc_time); in iavf_read_phc_indirect() 475 u64 iavf_ptp_extend_32b_timestamp(u64 cached_phc_time, u32 in_tstamp) in iavf_ptp_extend_32b_timestamp() argument 477 u32 low = lower_32_bits(cached_phc_time); in iavf_ptp_extend_32b_timestamp() 487 ns = cached_phc_time - (low - in_tstamp); in iavf_ptp_extend_32b_timestamp() 489 ns = cached_phc_time + delta; in iavf_ptp_extend_32b_timestamp()
|
| H A D | iavf_ptp.h | 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
|
| H A D | iavf_types.h | 24 u64 cached_phc_time; member
|
| H A D | iavf_txrx.c | 1111 ns = iavf_ptp_extend_32b_timestamp(rx_ring->ptp->cached_phc_time, in iavf_flex_rx_tstamp()
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_ptp.h | 187 u64 cached_phc_time; member 285 u64 idpf_ptp_tstamp_extend_32b_to_64b(u64 cached_phc_time, u32 in_timestamp); 365 static inline u64 idpf_ptp_tstamp_extend_32b_to_64b(u64 cached_phc_time, in idpf_ptp_tstamp_extend_32b_to_64b() argument
|
| H A D | idpf_txrx.h | 567 u64 cached_phc_time; member 590 offsetofend(struct idpf_rx_queue, cached_phc_time),
|
| H A D | xdp.c | 424 cached_time = READ_ONCE(rxq->cached_phc_time); in idpf_xdpmo_rx_timestamp()
|
| H A D | idpf_txrx.c | 3374 cached_time = READ_ONCE(rxq->cached_phc_time); in idpf_rx_hwtstamp()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.c | 282 static u64 ice_ptp_extend_32b_ts(u64 cached_phc_time, u32 in_tstamp) in ice_ptp_extend_32b_ts() argument 288 phc_time_lo = (u32)cached_phc_time; in ice_ptp_extend_32b_ts() 303 ns = cached_phc_time - delta; in ice_ptp_extend_32b_ts() 305 ns = cached_phc_time + delta; in ice_ptp_extend_32b_ts() 349 return ice_ptp_extend_32b_ts(READ_ONCE(pf->ptp.cached_phc_time), in ice_ptp_extend_40b_ts() 923 if (pf->ptp.cached_phc_time && in ice_ptp_update_cached_phctime() 936 WRITE_ONCE(pf->ptp.cached_phc_time, systime); in ice_ptp_update_cached_phctime() 2994 if (ptp->cached_phc_time) { in ice_ptp_rebuild_owner() 2996 ts = ns_to_timespec64(ptp->cached_phc_time + time_diff); in ice_ptp_rebuild_owner()
|
| H A D | ice_lib.c | 1435 ring->cached_phctime = pf->ptp.cached_phc_time; in ice_vsi_alloc_rings()
|
| H A D | ice_ethtool.c | 3343 rx_rings[i].cached_phctime = pf->ptp.cached_phc_time; in ice_set_ringparam()
|