Searched refs:Q_SIZE (Results 1 – 5 of 5) sorted by relevance
31 #define Q_SIZE(x, n) ((ilog2(x) - (n)) / 2) macro
324 rx_count = Q_COUNT(Q_SIZE(rx_count, 3)); in otx2_set_ringparam()332 tx_count = Q_COUNT(Q_SIZE(tx_count, 3)); in otx2_set_ringparam()
854 aq->cq.qsize = Q_SIZE(cq->cqe_cnt, 4); in otx2_cq_init()
107 #define Q_SIZE(n) (COMMANDS_PER_QUEUE*(n)) macro
830 cmd_q->qsize = Q_SIZE(Q_DESC_SIZE); in ccp5_init()