Home
last modified time | relevance | path

Searched refs:Q_COUNT (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c384 ring->rx_max_pending = Q_COUNT(Q_SIZE_MAX); in otx2_get_ringparam()
385 ring->rx_pending = qs->rqe_cnt ? qs->rqe_cnt : Q_COUNT(Q_SIZE_256); in otx2_get_ringparam()
386 ring->tx_max_pending = Q_COUNT(Q_SIZE_MAX); in otx2_get_ringparam()
387 ring->tx_pending = qs->sqe_cnt ? qs->sqe_cnt : Q_COUNT(Q_SIZE_4K); in otx2_get_ringparam()
430 rx_count = Q_COUNT(Q_SIZE(rx_count, 3)); in otx2_set_ringparam()
437 Q_COUNT(Q_SIZE_4K), Q_COUNT(Q_SIZE_MAX)); in otx2_set_ringparam()
438 tx_count = Q_COUNT(Q_SIZE(tx_count, 3)); in otx2_set_ringparam()
H A Dotx2_common.h599 pfvf->qset.rqe_cnt = Q_COUNT(Q_SIZE_1K); in otx2_setup_dev_hw_settings()
H A Dotx2_pf.c1784 qset->rqe_cnt = qset->rqe_cnt ? qset->rqe_cnt : Q_COUNT(Q_SIZE_256); in otx2_open()
1786 qset->sqe_cnt = qset->sqe_cnt ? qset->sqe_cnt : Q_COUNT(Q_SIZE_4K); in otx2_open()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcommon.h26 #define Q_COUNT(x) (16ULL << (2 * x)) macro
H A Drvu_npa.c503 Q_COUNT(AQ_SIZE), sizeof(struct npa_aq_inst_s), in npa_aq_init()
H A Drvu_nix.c4453 Q_COUNT(AQ_SIZE), sizeof(struct nix_aq_inst_s), in nix_aq_init()