Lines Matching refs:is_tx
28 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
52 if (!ring->is_tx) in ring_interrupt_index()
75 if (ring->is_tx) in ring_interrupt_active()
143 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
151 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
215 if (ring->is_tx) { in ring_write_descriptors()
221 if (ring->is_tx) in ring_write_descriptors()
262 if (!ring->is_tx) { in ring_work()
329 if (!ring->is_tx) { in tb_ring_poll()
399 if (ring->is_tx) in ring_clear_msix()
472 if (ring->flags & RING_FLAG_E2E && !ring->is_tx) { in nhi_alloc_hop()
489 if (ring->is_tx) { in nhi_alloc_hop()
513 if (ring->is_tx && nhi->tx_rings[ring->hop]) { in nhi_alloc_hop()
518 } else if (!ring->is_tx && nhi->rx_rings[ring->hop]) { in nhi_alloc_hop()
525 if (ring->is_tx) in nhi_alloc_hop()
558 ring->is_tx = transmit; in tb_ring_alloc()
666 if (ring->is_tx) { in tb_ring_start()
683 if (!ring->is_tx) { in tb_ring_start()
776 if (ring->is_tx) in tb_ring_free()