Lines Matching refs:nentries
2641 int ret, nentries; in t4_sge_alloc_eth_txq() local
2647 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
2673 FW_EQ_ETH_CMD_EQSIZE_V(nentries)); in t4_sge_alloc_eth_txq()
2681 nentries * sizeof(struct tx_desc), in t4_sge_alloc_eth_txq()
2698 int ret, nentries; in t4_sge_alloc_ctrl_txq() local
2704 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
2706 txq->q.desc = alloc_ring(adap->pdev_dev, nentries, in t4_sge_alloc_ctrl_txq()
2728 FW_EQ_CTRL_CMD_EQSIZE_V(nentries)); in t4_sge_alloc_ctrl_txq()
2734 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ctrl_txq()
2751 int ret, nentries; in t4_sge_alloc_ofld_txq() local
2757 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ofld_txq()
2781 FW_EQ_OFLD_CMD_EQSIZE_V(nentries)); in t4_sge_alloc_ofld_txq()
2789 nentries * sizeof(struct tx_desc), in t4_sge_alloc_ofld_txq()