Lines Matching refs:tx_next
202 static int tx_next; /* TX descriptor ring pointer */ variable
521 tx_cur = tx_next; in eepro100_init()
522 tx_next = ((tx_next + 1) % NUM_TX_DESC); in eepro100_init()
527 cfg_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init()
557 tx_cur = tx_next; in eepro100_init()
558 tx_next = ((tx_next + 1) % NUM_TX_DESC); in eepro100_init()
563 ias_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init()
608 tx_cur = tx_next; in eepro100_send()
609 tx_next = (tx_next + 1) % NUM_TX_DESC; in eepro100_send()
618 cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_send()
895 tx_next = 0; in purge_tx_ring()