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
82 txq->tx_ring.max_items - 1); in hfi1_ipoib_ring_hwat()88 txq->tx_ring.max_items) >> 1; in hfi1_ipoib_ring_lwat()160 max_tx = tx_ring->max_items; in hfi1_ipoib_drain_tx_ring()205 max_tx = tx_ring->max_items; in hfi1_ipoib_add_tx()765 txq->tx_ring.max_items = tx_ring_size; in hfi1_ipoib_txreq_init()832 (void)hfi1_ipoib_drain_tx_ring(txq, txq->tx_ring.max_items); in hfi1_ipoib_txreq_deinit()867 (void)hfi1_ipoib_drain_tx_ring(txq, txq->tx_ring.max_items); in hfi1_ipoib_napi_tx_disable()
60 unsigned long max_items; member
31 u32 max_items; member98 bc->max_items = max_bytes / sizeof(*bc->start); in batch_init()113 GEM_BUG_ON((bc->end - bc->start) >= bc->max_items); in batch_add()
190 __le16 max_items; member633 create->max_items = cpu_to_le16(BRCMF_H2D_TXFLOWRING_MAX_ITEM); in brcmf_msgbuf_flowring_create_worker()