Home
last modified time | relevance | path

Searched refs:nic_major (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/net/ethernet/sfc/siena/
H A Dptp.c444 *nic_major = (u32)ts.tv_sec; in efx_ptp_ns_to_s_ns()
486 *nic_major = maj; in efx_ptp_ns_to_s27()
494 return ktime_set(nic_major, ns); in efx_ptp_s27_to_ktime()
504 nic_major--; in efx_ptp_s27_to_ktime_correction()
507 nic_major++; in efx_ptp_s27_to_ktime_correction()
518 *nic_major = (u32)ts.tv_sec; in efx_ptp_ns_to_s_qns()
560 u32 nic_major, u32 nic_minor, in efx_ptp_mac_nic_to_ktime_correction() argument
567 if (!(nic_major & 0x80000000)) { in efx_ptp_mac_nic_to_ktime_correction()
568 WARN_ON_ONCE(nic_major >> 16); in efx_ptp_mac_nic_to_ktime_correction()
596 delta = nic_major - sync_timestamp; in efx_ptp_mac_nic_to_ktime_correction()
[all …]
/linux-6.15/drivers/net/ethernet/sfc/
H A Dptp.c473 *nic_major = maj; in efx_ptp_ns_to_s27()
481 return ktime_set(nic_major, ns); in efx_ptp_s27_to_ktime()
491 nic_major--; in efx_ptp_s27_to_ktime_correction()
494 nic_major++; in efx_ptp_s27_to_ktime_correction()
505 *nic_major = (u32)ts.tv_sec; in efx_ptp_ns_to_s_qns()
553 u32 nic_major, u32 nic_minor, in efx_ptp_mac_nic_to_ktime_correction() argument
560 if (!(nic_major & 0x80000000)) { in efx_ptp_mac_nic_to_ktime_correction()
561 WARN_ON_ONCE(nic_major >> 16); in efx_ptp_mac_nic_to_ktime_correction()
589 delta = nic_major - sync_timestamp; in efx_ptp_mac_nic_to_ktime_correction()
594 nic_major = sync_timestamp + delta; in efx_ptp_mac_nic_to_ktime_correction()
[all …]