Lines Matching refs:nentries
2213 int ret, nentries; in t4_sge_alloc_eth_txq() local
2219 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
2242 FW_EQ_ETH_CMD_EQSIZE(nentries)); in t4_sge_alloc_eth_txq()
2250 nentries * sizeof(struct tx_desc), in t4_sge_alloc_eth_txq()
2267 int ret, nentries; in t4_sge_alloc_ctrl_txq() local
2273 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
2275 txq->q.desc = alloc_ring(adap->pdev_dev, nentries, in t4_sge_alloc_ctrl_txq()
2296 FW_EQ_CTRL_CMD_EQSIZE(nentries)); in t4_sge_alloc_ctrl_txq()
2302 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ctrl_txq()
2319 int ret, nentries; in t4_sge_alloc_ofld_txq() local
2325 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ofld_txq()
2348 FW_EQ_OFLD_CMD_EQSIZE(nentries)); in t4_sge_alloc_ofld_txq()
2356 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ofld_txq()