Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c1072 ic->use_adaptive_rx_coalesce = priv->ic_mode & ENETC_IC_RX_ADAPTIVE; in enetc_get_coalesce()
1085 int i, ic_mode; in enetc_set_coalesce() local
1097 ic_mode = ENETC_IC_NONE; in enetc_set_coalesce()
1099 ic_mode |= ENETC_IC_RX_ADAPTIVE; in enetc_set_coalesce()
1102 ic_mode |= rx_ictt ? ENETC_IC_RX_MANUAL : 0; in enetc_set_coalesce()
1105 ic_mode |= tx_ictt ? ENETC_IC_TX_MANUAL : 0; in enetc_set_coalesce()
1108 changed = (ic_mode != priv->ic_mode) || (priv->tx_ictt != tx_ictt); in enetc_set_coalesce()
1110 priv->ic_mode = ic_mode; in enetc_set_coalesce()
1117 v->rx_dim_en = !!(ic_mode & ENETC_IC_RX_ADAPTIVE); in enetc_set_coalesce()
H A Denetc.h474 int ic_mode; member
H A Denetc.c2556 priv->ic_mode = ENETC_IC_RX_ADAPTIVE | ENETC_IC_TX_MANUAL; in enetc_init_si_rings_params()
2852 if (priv->ic_mode & in enetc_setup_interrupts()
2868 if (priv->ic_mode & ENETC_IC_TX_MANUAL) in enetc_setup_interrupts()
3493 if (priv->ic_mode & ENETC_IC_RX_ADAPTIVE) { in enetc_int_vector_init()