Lines Matching refs:is_tx
26 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
42 if (!ring->is_tx) in ring_interrupt_index()
65 if (ring->is_tx) in ring_interrupt_active()
130 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
138 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
202 if (ring->is_tx) { in ring_write_descriptors()
208 if (ring->is_tx) in ring_write_descriptors()
249 if (!ring->is_tx) { in ring_work()
316 if (!ring->is_tx) { in tb_ring_poll()
453 if (ring->is_tx) { in nhi_alloc_hop()
472 if (ring->is_tx && nhi->tx_rings[ring->hop]) { in nhi_alloc_hop()
477 } else if (!ring->is_tx && nhi->rx_rings[ring->hop]) { in nhi_alloc_hop()
484 if (ring->is_tx) in nhi_alloc_hop()
517 ring->is_tx = transmit; in tb_ring_alloc()
621 if (ring->is_tx) { in tb_ring_start()
705 if (ring->is_tx) in tb_ring_free()