Lines Matching refs:nentries
2574 int ret, nentries; in t4_sge_alloc_eth_txq() local
2580 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
2605 FW_EQ_ETH_CMD_EQSIZE_V(nentries)); in t4_sge_alloc_eth_txq()
2613 nentries * sizeof(struct tx_desc), in t4_sge_alloc_eth_txq()
2630 int ret, nentries; in t4_sge_alloc_ctrl_txq() local
2636 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
2638 txq->q.desc = alloc_ring(adap->pdev_dev, nentries, in t4_sge_alloc_ctrl_txq()
2659 FW_EQ_CTRL_CMD_EQSIZE_V(nentries)); in t4_sge_alloc_ctrl_txq()
2665 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ctrl_txq()
2682 int ret, nentries; in t4_sge_alloc_ofld_txq() local
2688 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ofld_txq()
2711 FW_EQ_OFLD_CMD_EQSIZE_V(nentries)); in t4_sge_alloc_ofld_txq()
2719 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ofld_txq()