Lines Matching refs:TX_RING_SIZE
210 else if (tx_coalesce > TX_RING_SIZE-1) in rio_probe1()
211 tx_coalesce = TX_RING_SIZE - 1; in rio_probe1()
450 for (i = 0; i < TX_RING_SIZE; i++) { in free_list()
471 for (i = 0; i < TX_RING_SIZE; i++) in rio_reset_ring()
488 for (i = 0; i < TX_RING_SIZE; i++) { in alloc_list()
491 ((i + 1) % TX_RING_SIZE) * in alloc_list()
718 entry = np->cur_tx % TX_RING_SIZE; in start_xmit()
754 np->cur_tx = (np->cur_tx + 1) % TX_RING_SIZE; in start_xmit()
755 if ((np->cur_tx - np->old_tx + TX_RING_SIZE) % TX_RING_SIZE in start_xmit()
816 int entry = np->old_tx % TX_RING_SIZE; in rio_free_tx()
840 entry = (entry + 1) % TX_RING_SIZE; in rio_free_tx()
852 ((np->cur_tx - np->old_tx + TX_RING_SIZE) % TX_RING_SIZE in rio_free_tx()