Home
last modified time | relevance | path

Searched refs:max_items (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/media/atomisp/pci/
Dcss_trace.h206 #define DBG_NEXT_ITEM(x, max_items) (((x + 1) >= max_items) ? 0 : x + 1) argument
207 #define DBG_PREV_ITEM(x, max_items) ((x) ? x - 1 : max_items - 1) argument
/drivers/infiniband/hw/hfi1/
Dipoib_tx.c70 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()
Dipoib.h81 u32 max_items; member
/drivers/gpu/drm/i915/gt/
Dgen7_renderclear.c32 u32 max_items; member
99 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()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c191 __le16 max_items; member
633 create->max_items = cpu_to_le16(BRCMF_H2D_TXFLOWRING_MAX_ITEM); in brcmf_msgbuf_flowring_create_worker()