Lines Matching refs:active_offloads
16 int active_offloads);
37 count = enetc_map_tx_buffs(tx_ring, skb, priv->active_offloads); in enetc_xmit()
112 int active_offloads) in enetc_map_tx_buffs() argument
144 do_tstamp = (active_offloads & ENETC_F_TX_TSTAMP) && in enetc_map_tx_buffs()
588 if (priv->active_offloads & ENETC_F_RX_TSTAMP) in enetc_get_offloads()
948 bool extended = !!(priv->active_offloads & ENETC_F_RX_TSTAMP); in enetc_alloc_rx_resources()
1680 priv->active_offloads |= ENETC_F_QCI; in enetc_set_psfp()
1688 priv->active_offloads &= ~ENETC_F_QCI; in enetc_set_psfp()
1746 priv->active_offloads &= ~ENETC_F_TX_TSTAMP; in enetc_hwtstamp_set()
1749 priv->active_offloads |= ENETC_F_TX_TSTAMP; in enetc_hwtstamp_set()
1755 ao = priv->active_offloads; in enetc_hwtstamp_set()
1758 priv->active_offloads &= ~ENETC_F_RX_TSTAMP; in enetc_hwtstamp_set()
1761 priv->active_offloads |= ENETC_F_RX_TSTAMP; in enetc_hwtstamp_set()
1765 if (netif_running(ndev) && ao != priv->active_offloads) { in enetc_hwtstamp_set()
1781 if (priv->active_offloads & ENETC_F_TX_TSTAMP) in enetc_hwtstamp_get()
1786 config.rx_filter = (priv->active_offloads & ENETC_F_RX_TSTAMP) ? in enetc_hwtstamp_get()