Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc.c2914 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()
[all …]