Home
last modified time | relevance | path

Searched refs:tx_next (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/drivers/net/
H A Deepro100.c202 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()
[all …]
H A Dne2000_base.c182 dp->tx_next = dp->tx_buf1; in dp83902a_start()
258 start_page = dp->tx_next; in dp83902a_send()
259 if (dp->tx_next == dp->tx_buf1) { in dp83902a_send()
263 dp->tx_next = dp->tx_buf2; in dp83902a_send()
268 dp->tx_next = dp->tx_buf1; in dp83902a_send()
H A Dne2000_base.h128 int tx_next; /* First free Tx page */ member