Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/net/
H A Deepro100.c201 static int rx_next; /* RX descriptor ring pointer */ variable
517 OUTL (dev, phys_to_bus ((u32) & rx_ring[rx_next]), SCBPointer); in eepro100_init()
665 status = le16_to_cpu (rx_ring[rx_next].status); in eepro100_recv()
676 length = le32_to_cpu (rx_ring[rx_next].count) & 0x3fff; in eepro100_recv()
681 net_process_received_packet((u8 *)rx_ring[rx_next].data, in eepro100_recv()
689 rx_ring[rx_next].control = cpu_to_le16 (RFD_CONTROL_S); in eepro100_recv()
690 rx_ring[rx_next].status = 0; in eepro100_recv()
691 rx_ring[rx_next].count = cpu_to_le32 (PKTSIZE_ALIGN << 16); in eepro100_recv()
693 rx_prev = (rx_next + NUM_RX_DESC - 1) % NUM_RX_DESC; in eepro100_recv()
698 rx_next = (rx_next + 1) % NUM_RX_DESC; in eepro100_recv()
[all …]
H A Dne2000_base.c188 dp->rx_next = dp->rx_buf_start - 1; in dp83902a_start()
402 if (dp->rx_next == pkt) { in dp83902a_RxEvent()
409 dp->rx_next = pkt; in dp83902a_RxEvent()
459 printf("Rx packet %d length %d\n", dp->rx_next, len); in dp83902a_recv()
467 DP_OUT(base, DP_RSAH, dp->rx_next); in dp83902a_recv()
H A Dne2000_base.h130 int rx_next; /* First free Rx page */ member