Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/sfc/
Dptp.c308 u32 minor_max; member
670 ptp->nic_time.minor_max = 1 << 27; in efx_ptp_get_attributes()
676 ptp->nic_time.minor_max = 1000000000; in efx_ptp_get_attributes()
682 ptp->nic_time.minor_max = 4000000000UL; 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()
2052 diff += ptp->nic_time.minor_max; in __efx_rx_skb_attach_timestamp()
2055 carry = (channel->sync_timestamp_minor >= ptp->nic_time.minor_max - diff) ? in __efx_rx_skb_attach_timestamp()
/linux-5.19.10/drivers/net/ethernet/sfc/siena/
Dptp.c307 u32 minor_max; member
663 ptp->nic_time.minor_max = 1 << 27; in efx_ptp_get_attributes()
669 ptp->nic_time.minor_max = 1000000000; in efx_ptp_get_attributes()
675 ptp->nic_time.minor_max = 4000000000UL; in efx_ptp_get_attributes()
688 ptp->nic_time.sync_event_diff_min = ptp->nic_time.minor_max in efx_ptp_get_attributes()
689 - (ptp->nic_time.minor_max / 10); in efx_ptp_get_attributes()
690 ptp->nic_time.sync_event_diff_max = (ptp->nic_time.minor_max / 4) in efx_ptp_get_attributes()
691 + (ptp->nic_time.minor_max / 10); in efx_ptp_get_attributes()
2009 diff += ptp->nic_time.minor_max; in __efx_siena_rx_skb_attach_timestamp()
2012 carry = (channel->sync_timestamp_minor >= ptp->nic_time.minor_max - diff) ? in __efx_siena_rx_skb_attach_timestamp()