Searched refs:max_items (Results 1 – 5 of 5) sorted by relevance
206 #define DBG_NEXT_ITEM(x, max_items) (((x + 1) >= max_items) ? 0 : x + 1) argument207 #define DBG_PREV_ITEM(x, max_items) ((x) ? x - 1 : max_items - 1) argument
70 txq->tx_ring.max_items - 1); in hfi1_ipoib_ring_hwat()76 txq->tx_ring.max_items) >> 1; in hfi1_ipoib_ring_lwat()140 for (i = 0; i < tx_ring->max_items; i++) { in hfi1_ipoib_drain_tx_ring()160 u32 max_tx = tx_ring->max_items; in hfi1_ipoib_poll_tx_ring()369 CIRC_CNT(head, tail, tx_ring->max_items)); in hfi1_ipoib_send_dma_common()482 smp_store_release(&tx_ring->tail, CIRC_NEXT(tx_ring->tail, tx_ring->max_items)); in hfi1_ipoib_send_dma_single()545 smp_store_release(&tx_ring->tail, CIRC_NEXT(tx_ring->tail, tx_ring->max_items)); in hfi1_ipoib_send_dma_list()737 txq->tx_ring.max_items = tx_ring_size; in hfi1_ipoib_txreq_init()807 for (j = 0; j < tx_ring->max_items; j++) in hfi1_ipoib_txreq_deinit()860 dev->tx_queue_len, txq->tx_ring.max_items); in hfi1_ipoib_tx_timeout()
81 u32 max_items; member
32 u32 max_items; member99 bc->max_items = max_bytes / sizeof(*bc->start); in batch_init()114 GEM_BUG_ON((bc->end - bc->start) >= bc->max_items); in batch_add()
191 __le16 max_items; member633 create->max_items = cpu_to_le16(BRCMF_H2D_TXFLOWRING_MAX_ITEM); in brcmf_msgbuf_flowring_create_worker()