Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dptp.c447 #define S27_MINOR_MAX (1 << S27_TO_NS_SHIFT) macro
462 if (min >= S27_MINOR_MAX) { in efx_ptp_ns_to_s27()
463 min -= S27_MINOR_MAX; in efx_ptp_ns_to_s27()
484 nic_minor += S27_MINOR_MAX; in efx_ptp_s27_to_ktime_correction()
486 } else if (nic_minor >= S27_MINOR_MAX) { in efx_ptp_s27_to_ktime_correction()
487 nic_minor -= S27_MINOR_MAX; in efx_ptp_s27_to_ktime_correction()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c466 #define S27_MINOR_MAX (1 << S27_TO_NS_SHIFT) macro
481 if (min >= S27_MINOR_MAX) { in efx_ptp_ns_to_s27()
482 min -= S27_MINOR_MAX; in efx_ptp_ns_to_s27()
503 nic_minor += S27_MINOR_MAX; in efx_ptp_s27_to_ktime_correction()
505 } else if (nic_minor >= S27_MINOR_MAX) { in efx_ptp_s27_to_ktime_correction()
506 nic_minor -= S27_MINOR_MAX; in efx_ptp_s27_to_ktime_correction()