Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Deepro100.c198 static int rx_next; /* RX descriptor ring pointer */ variable
514 OUTL (dev, phys_to_bus ((u32) & rx_ring[rx_next]), SCBPointer); in eepro100_init()
662 status = le16_to_cpu (rx_ring[rx_next].status); in eepro100_recv()
673 length = le32_to_cpu (rx_ring[rx_next].count) & 0x3fff; in eepro100_recv()
678 net_process_received_packet((u8 *)rx_ring[rx_next].data, in eepro100_recv()
686 rx_ring[rx_next].control = cpu_to_le16 (RFD_CONTROL_S); in eepro100_recv()
687 rx_ring[rx_next].status = 0; in eepro100_recv()
688 rx_ring[rx_next].count = cpu_to_le32 (PKTSIZE_ALIGN << 16); in eepro100_recv()
690 rx_prev = (rx_next + NUM_RX_DESC - 1) % NUM_RX_DESC; in eepro100_recv()
695 rx_next = (rx_next + 1) % NUM_RX_DESC; in eepro100_recv()
[all …]
H A 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()
H A Dne2000_base.h130 int rx_next; /* First free Rx page */ member
/openbmc/qemu/hw/char/
H A Drenesas_sci.c75 if (sci->rx_next > qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)) { in can_receive()
85 sci->rx_next = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + sci->trtime; in receive()
258 sci->rx_next = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in rsci_reset()
307 VMSTATE_INT64(rx_next, RSCIState),