Lines Matching refs:nic_time
312 } nic_time; member
670 ptp->nic_time.minor_max = 1 << 27; in efx_ptp_get_attributes()
671 ptp->nic_time.sync_event_minor_shift = 19; in efx_ptp_get_attributes()
676 ptp->nic_time.minor_max = 1000000000; in efx_ptp_get_attributes()
677 ptp->nic_time.sync_event_minor_shift = 22; in efx_ptp_get_attributes()
682 ptp->nic_time.minor_max = 4000000000UL; in efx_ptp_get_attributes()
683 ptp->nic_time.sync_event_minor_shift = 24; in efx_ptp_get_attributes()
695 ptp->nic_time.sync_event_diff_min = ptp->nic_time.minor_max in efx_ptp_get_attributes()
696 - (ptp->nic_time.minor_max / 10); in efx_ptp_get_attributes()
697 ptp->nic_time.sync_event_diff_max = (ptp->nic_time.minor_max / 4) in efx_ptp_get_attributes()
698 + (ptp->nic_time.minor_max / 10); in efx_ptp_get_attributes()
2014 << ptp->nic_time.sync_event_minor_shift; in efx_time_sync_event()
2055 diff += ptp->nic_time.minor_max; in __efx_rx_skb_attach_timestamp()
2058 carry = (channel->sync_timestamp_minor >= ptp->nic_time.minor_max - diff) ? in __efx_rx_skb_attach_timestamp()
2061 if (diff <= ptp->nic_time.sync_event_diff_max) { in __efx_rx_skb_attach_timestamp()
2066 } else if (diff >= ptp->nic_time.sync_event_diff_min) { in __efx_rx_skb_attach_timestamp()