Home
last modified time | relevance | path

Searched refs:Q_SIZE (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcommon.h27 #define Q_SIZE(x, n) ((ilog2(x) - (n)) / 2) macro
/openbmc/linux/drivers/dma/ptdma/
H A Dptdma.h98 #define Q_SIZE(n) (CMD_Q_LEN * (n)) macro
H A Dptdma-dev.c206 cmd_q->qsize = Q_SIZE(Q_DESC_SIZE); in pt_core_init()
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-dev.h107 #define Q_SIZE(n) (COMMANDS_PER_QUEUE*(n)) macro
H A Dccp-dev-v5.c830 cmd_q->qsize = Q_SIZE(Q_DESC_SIZE); in ccp5_init()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c435 rx_count = Q_COUNT(Q_SIZE(rx_count, 3)); in otx2_set_ringparam()
443 tx_count = Q_COUNT(Q_SIZE(tx_count, 3)); in otx2_set_ringparam()
H A Dotx2_common.c1041 aq->cq.qsize = Q_SIZE(cq->cqe_cnt, 4); in otx2_cq_init()