Lines Matching refs:is_tx
22 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
44 if (!ring->is_tx) in ring_interrupt_index()
67 if (ring->is_tx) in ring_interrupt_active()
132 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
140 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
193 if (ring->is_tx) { in ring_write_descriptors()
199 ring_iowrite16desc(ring, ring->head, ring->is_tx ? 10 : 8); in ring_write_descriptors()
237 if (!ring->is_tx) { in ring_work()
304 if (!ring->is_tx) { in tb_ring_poll()
430 if (ring->is_tx) { in nhi_alloc_hop()
449 if (ring->is_tx && nhi->tx_rings[ring->hop]) { in nhi_alloc_hop()
454 } else if (!ring->is_tx && nhi->rx_rings[ring->hop]) { in nhi_alloc_hop()
461 if (ring->is_tx) in nhi_alloc_hop()
497 ring->is_tx = transmit; in tb_ring_alloc()
600 if (ring->flags & RING_FLAG_E2E && !ring->is_tx) { in tb_ring_start()
614 if (ring->is_tx) { in tb_ring_start()
663 ring_iowrite16desc(ring, 0, ring->is_tx ? 10 : 8); in tb_ring_stop()
698 if (ring->is_tx) in tb_ring_free()