Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Deepro100.c200 static int rx_next; /* RX descriptor ring pointer */ variable
516 OUTL (dev, phys_to_bus ((u32) & rx_ring[rx_next]), SCBPointer); in eepro100_init()
664 status = le16_to_cpu (rx_ring[rx_next].status); in eepro100_recv()
675 length = le32_to_cpu (rx_ring[rx_next].count) & 0x3fff; in eepro100_recv()
680 net_process_received_packet((u8 *)rx_ring[rx_next].data, in eepro100_recv()
688 rx_ring[rx_next].control = cpu_to_le16 (RFD_CONTROL_S); in eepro100_recv()
689 rx_ring[rx_next].status = 0; in eepro100_recv()
690 rx_ring[rx_next].count = cpu_to_le32 (PKTSIZE_ALIGN << 16); in eepro100_recv()
692 rx_prev = (rx_next + NUM_RX_DESC - 1) % NUM_RX_DESC; in eepro100_recv()
697 rx_next = (rx_next + 1) % NUM_RX_DESC; in eepro100_recv()
[all …]
Dne2000_base.c189 dp->rx_next = dp->rx_buf_start - 1; in dp83902a_start()
403 if (dp->rx_next == pkt) { in dp83902a_RxEvent()
410 dp->rx_next = pkt; in dp83902a_RxEvent()
460 printf("Rx packet %d length %d\n", dp->rx_next, len); in dp83902a_recv()
468 DP_OUT(base, DP_RSAH, dp->rx_next); in dp83902a_recv()
Dne2000_base.h130 int rx_next; /* First free Rx page */ member