Lines Matching refs:nic_time
309 } nic_time; member
634 ptp->nic_time.minor_max = 1 << 27; in efx_ptp_get_attributes()
635 ptp->nic_time.sync_event_minor_shift = 19; in efx_ptp_get_attributes()
640 ptp->nic_time.minor_max = 1000000000; in efx_ptp_get_attributes()
641 ptp->nic_time.sync_event_minor_shift = 22; in efx_ptp_get_attributes()
646 ptp->nic_time.minor_max = 4000000000UL; in efx_ptp_get_attributes()
647 ptp->nic_time.sync_event_minor_shift = 24; in efx_ptp_get_attributes()
659 ptp->nic_time.sync_event_diff_min = ptp->nic_time.minor_max in efx_ptp_get_attributes()
660 - (ptp->nic_time.minor_max / 10); in efx_ptp_get_attributes()
661 ptp->nic_time.sync_event_diff_max = (ptp->nic_time.minor_max / 4) in efx_ptp_get_attributes()
662 + (ptp->nic_time.minor_max / 10); in efx_ptp_get_attributes()
1952 << ptp->nic_time.sync_event_minor_shift; in efx_time_sync_event()
1993 diff += ptp->nic_time.minor_max; in __efx_rx_skb_attach_timestamp()
1996 carry = (channel->sync_timestamp_minor >= ptp->nic_time.minor_max - diff) ? in __efx_rx_skb_attach_timestamp()
1999 if (diff <= ptp->nic_time.sync_event_diff_max) { in __efx_rx_skb_attach_timestamp()
2004 } else if (diff >= ptp->nic_time.sync_event_diff_min) { in __efx_rx_skb_attach_timestamp()