Lines Matching refs:is_tx
25 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
43 if (!ring->is_tx) in ring_interrupt_index()
66 if (ring->is_tx) in ring_interrupt_active()
134 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
142 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
206 if (ring->is_tx) { in ring_write_descriptors()
212 if (ring->is_tx) in ring_write_descriptors()
253 if (!ring->is_tx) { in ring_work()
320 if (!ring->is_tx) { in tb_ring_poll()
390 if (ring->is_tx) in ring_clear_msix()
470 if (ring->is_tx) { in nhi_alloc_hop()
489 if (ring->is_tx && nhi->tx_rings[ring->hop]) { in nhi_alloc_hop()
494 } else if (!ring->is_tx && nhi->rx_rings[ring->hop]) { in nhi_alloc_hop()
501 if (ring->is_tx) in nhi_alloc_hop()
534 ring->is_tx = transmit; in tb_ring_alloc()
642 if (ring->is_tx) { in tb_ring_start()
659 if (!ring->is_tx) { in tb_ring_start()
752 if (ring->is_tx) in tb_ring_free()