Lines Matching refs:is_tx
28 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
56 if (!ring->is_tx) in ring_interrupt_index()
100 if (ring->is_tx) in ring_interrupt_active()
179 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
187 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
251 if (ring->is_tx) { in ring_write_descriptors()
257 if (ring->is_tx) in ring_write_descriptors()
298 if (!ring->is_tx) { in ring_work()
365 if (!ring->is_tx) { in tb_ring_poll()
438 if (ring->is_tx) in ring_clear_msix()
511 if (ring->flags & RING_FLAG_E2E && !ring->is_tx) { in nhi_alloc_hop()
528 if (ring->is_tx) { in nhi_alloc_hop()
552 if (ring->is_tx && nhi->tx_rings[ring->hop]) { in nhi_alloc_hop()
558 if (!ring->is_tx && nhi->rx_rings[ring->hop]) { in nhi_alloc_hop()
565 if (ring->is_tx) in nhi_alloc_hop()
598 ring->is_tx = transmit; in tb_ring_alloc()
706 if (ring->is_tx) { in tb_ring_start()
723 if (!ring->is_tx) { in tb_ring_start()
816 if (ring->is_tx) in tb_ring_free()