Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c2918 int err, new_offloads = priv->active_offloads; in enetc_hwtstamp_set() local
2926 new_offloads &= ~ENETC_F_TX_TSTAMP_MASK; in enetc_hwtstamp_set()
2929 new_offloads &= ~ENETC_F_TX_TSTAMP_MASK; in enetc_hwtstamp_set()
2930 new_offloads |= ENETC_F_TX_TSTAMP; in enetc_hwtstamp_set()
2933 new_offloads &= ~ENETC_F_TX_TSTAMP_MASK; in enetc_hwtstamp_set()
2934 new_offloads |= ENETC_F_TX_ONESTEP_SYNC_TSTAMP; in enetc_hwtstamp_set()
2942 new_offloads &= ~ENETC_F_RX_TSTAMP; in enetc_hwtstamp_set()
2945 new_offloads |= ENETC_F_RX_TSTAMP; in enetc_hwtstamp_set()
2949 if ((new_offloads ^ priv->active_offloads) & ENETC_F_RX_TSTAMP) { in enetc_hwtstamp_set()
2950 bool extended = !!(new_offloads & ENETC_F_RX_TSTAMP); in enetc_hwtstamp_set()
[all …]