Lines Matching refs:nic_time
315 } nic_time; member
673 ptp->nic_time.minor_max = 1 << 27; in efx_ptp_get_attributes()
674 ptp->nic_time.sync_event_minor_shift = 19; in efx_ptp_get_attributes()
679 ptp->nic_time.minor_max = 1000000000; in efx_ptp_get_attributes()
680 ptp->nic_time.sync_event_minor_shift = 22; in efx_ptp_get_attributes()
685 ptp->nic_time.minor_max = 4000000000UL; in efx_ptp_get_attributes()
686 ptp->nic_time.sync_event_minor_shift = 24; in efx_ptp_get_attributes()
698 ptp->nic_time.sync_event_diff_min = ptp->nic_time.minor_max in efx_ptp_get_attributes()
699 - (ptp->nic_time.minor_max / 10); in efx_ptp_get_attributes()
700 ptp->nic_time.sync_event_diff_max = (ptp->nic_time.minor_max / 4) in efx_ptp_get_attributes()
701 + (ptp->nic_time.minor_max / 10); in efx_ptp_get_attributes()
2061 << ptp->nic_time.sync_event_minor_shift; in efx_time_sync_event()
2102 diff += ptp->nic_time.minor_max; in __efx_rx_skb_attach_timestamp()
2105 carry = (channel->sync_timestamp_minor >= ptp->nic_time.minor_max - diff) ? in __efx_rx_skb_attach_timestamp()
2108 if (diff <= ptp->nic_time.sync_event_diff_max) { in __efx_rx_skb_attach_timestamp()
2113 } else if (diff >= ptp->nic_time.sync_event_diff_min) { in __efx_rx_skb_attach_timestamp()