Lines Matching refs:new_offloads
2914 int err, new_offloads = priv->active_offloads; in enetc_hwtstamp_set() local
2922 new_offloads &= ~ENETC_F_TX_TSTAMP_MASK; in enetc_hwtstamp_set()
2925 new_offloads &= ~ENETC_F_TX_TSTAMP_MASK; in enetc_hwtstamp_set()
2926 new_offloads |= ENETC_F_TX_TSTAMP; in enetc_hwtstamp_set()
2929 new_offloads &= ~ENETC_F_TX_TSTAMP_MASK; in enetc_hwtstamp_set()
2930 new_offloads |= ENETC_F_TX_ONESTEP_SYNC_TSTAMP; in enetc_hwtstamp_set()
2938 new_offloads &= ~ENETC_F_RX_TSTAMP; in enetc_hwtstamp_set()
2941 new_offloads |= ENETC_F_RX_TSTAMP; in enetc_hwtstamp_set()
2945 if ((new_offloads ^ priv->active_offloads) & ENETC_F_RX_TSTAMP) { in enetc_hwtstamp_set()
2946 bool extended = !!(new_offloads & ENETC_F_RX_TSTAMP); in enetc_hwtstamp_set()
2953 priv->active_offloads = new_offloads; in enetc_hwtstamp_set()