Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c582 ic->use_adaptive_rx_coalesce = priv->ic_mode & ENETC_IC_RX_ADAPTIVE; in enetc_get_coalesce()
592 int i, ic_mode; in enetc_set_coalesce() local
604 ic_mode = ENETC_IC_NONE; in enetc_set_coalesce()
606 ic_mode |= ENETC_IC_RX_ADAPTIVE; in enetc_set_coalesce()
609 ic_mode |= rx_ictt ? ENETC_IC_RX_MANUAL : 0; in enetc_set_coalesce()
612 ic_mode |= tx_ictt ? ENETC_IC_TX_MANUAL : 0; in enetc_set_coalesce()
615 changed = (ic_mode != priv->ic_mode) || (priv->tx_ictt != tx_ictt); in enetc_set_coalesce()
617 priv->ic_mode = ic_mode; in enetc_set_coalesce()
624 v->rx_dim_en = !!(ic_mode & ENETC_IC_RX_ADAPTIVE); in enetc_set_coalesce()
Denetc.h269 int ic_mode; member
Denetc.c1145 priv->ic_mode = ENETC_IC_RX_ADAPTIVE | ENETC_IC_TX_MANUAL; in enetc_init_si_rings_params()
1390 if (priv->ic_mode & in enetc_setup_interrupts()
1406 if (priv->ic_mode & ENETC_IC_TX_MANUAL) in enetc_setup_interrupts()
1826 if (priv->ic_mode & ENETC_IC_RX_ADAPTIVE) { in enetc_alloc_msix()