Lines Matching refs:is_tx
22 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring")
28 if (!ring->is_tx) in ring_interrupt_index()
84 io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE; in ring_desc_base()
92 io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE; in ring_options_base()
145 if (ring->is_tx) { in ring_write_descriptors()
151 ring_iowrite16desc(ring, ring->head, ring->is_tx ? 10 : 8); in ring_write_descriptors()
187 if (!ring->is_tx) { in ring_work()
271 ring->is_tx = transmit; in ring_alloc()
324 if (ring->is_tx) { in ring_start()
371 ring_iowrite16desc(ring, 0, ring->is_tx ? 10 : 8); in ring_stop()
405 if (ring->is_tx) in ring_free()