Searched refs:tx_q_entries (Results 1 – 5 of 5) sorted by relevance
21 size = MLXBF_GIGE_TX_WQE_SZ * priv->tx_q_entries; in mlxbf_gige_tx_init()45 writeq(ilog2(priv->tx_q_entries), in mlxbf_gige_tx_init()66 for (i = 0; i < priv->tx_q_entries; i++) { in mlxbf_gige_tx_deinit()76 size = MLXBF_GIGE_TX_WQE_SZ * priv->tx_q_entries; in mlxbf_gige_tx_deinit()116 avail = priv->tx_q_entries - 1; in mlxbf_gige_tx_buffs_avail()118 avail = ((priv->tx_q_entries + priv->prev_tx_ci - priv->tx_pi) in mlxbf_gige_tx_buffs_avail()119 % priv->tx_q_entries) - 1; in mlxbf_gige_tx_buffs_avail()147 tx_wqe_index = priv->prev_tx_ci % priv->tx_q_entries; in mlxbf_gige_handle_tx_complete()187 (priv->tx_q_entries * MLXBF_GIGE_TX_WQE_SZ_QWORDS))) in mlxbf_gige_update_tx_wqe_next()260 priv->tx_skb[priv->tx_pi % priv->tx_q_entries] = tx_skb; in mlxbf_gige_start_xmit()
45 ering->tx_pending = priv->tx_q_entries; in mlxbf_gige_get_ringparam()
107 u16 tx_q_entries; member
429 priv->tx_q_entries = MLXBF_GIGE_DEFAULT_TXQ_SZ; in mlxbf_gige_probe()
67 unsigned int tx_q_entries; member586 if (index == (priv->tx_q_entries - 1)) in ftgmac100_base_tx_ctlstat()595 return (pointer + 1) & (priv->tx_q_entries - 1); in ftgmac100_next_tx_pointer()607 (priv->tx_q_entries - 1); in ftgmac100_tx_buf_avail()891 for (i = 0; i < priv->tx_q_entries; i++) { in ftgmac100_free_buffers()970 priv->tx_q_entries = priv->new_tx_q_entries; in ftgmac100_init_rings()984 if (WARN_ON(priv->tx_q_entries < MIN_RX_QUEUE_ENTRIES)) in ftgmac100_init_rings()988 for (i = 0; i < priv->tx_q_entries; i++) { in ftgmac100_init_rings()1098 ering->tx_pending = priv->tx_q_entries; in ftgmac100_get_ringparam()1973 priv->tx_q_entries = priv->new_tx_q_entries = DEF_TX_QUEUE_ENTRIES; in ftgmac100_probe()