Home
last modified time | relevance | path

Searched refs:RxDescArray (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Drtl8169.c329 struct RxDesc *RxDescArray; /* Index of 256-alignment Rx Descriptor buffer */ member
529 rtl_inval_rx_desc(&tpc->RxDescArray[cur_rx]); in rtl_recv_common()
531 if ((le32_to_cpu(tpc->RxDescArray[cur_rx].status) & OWNbit) == 0) { in rtl_recv_common()
532 if (!(le32_to_cpu(tpc->RxDescArray[cur_rx].status) & RxRES)) { in rtl_recv_common()
533 length = (int) (le32_to_cpu(tpc->RxDescArray[cur_rx]. in rtl_recv_common()
540 tpc->RxDescArray[cur_rx].status = in rtl_recv_common()
543 tpc->RxDescArray[cur_rx].status = in rtl_recv_common()
546 tpc->RxDescArray[cur_rx].buf_addr = cpu_to_le32( in rtl_recv_common()
551 tpc->RxDescArray[cur_rx].buf_addr = cpu_to_le32( in rtl_recv_common()
555 rtl_flush_rx_desc(&tpc->RxDescArray[cur_rx]); in rtl_recv_common()
[all …]
/openbmc/linux/drivers/net/ethernet/realtek/
H A Dr8169_main.c633 struct RxDesc *RxDescArray; /* 256-aligned Rx descriptor ring */ member
3911 le64_to_cpu(tp->RxDescArray[i].addr), in rtl8169_rx_clear()
3915 tp->RxDescArray[i].addr = 0; in rtl8169_rx_clear()
3916 tp->RxDescArray[i].opts1 = 0; in rtl8169_rx_clear()
3927 data = rtl8169_alloc_rx_data(tp, tp->RxDescArray + i); in rtl8169_rx_fill()
3936 tp->RxDescArray[NUM_RX_DESC - 1].opts1 |= cpu_to_le32(RingEnd); in rtl8169_rx_fill()
4034 rtl8169_mark_to_asic(tp->RxDescArray + i); in rtl_reset_work()
4498 struct RxDesc *desc = tp->RxDescArray + entry; in rtl_rx()
4761 dma_free_coherent(&pdev->dev, R8169_RX_RING_BYTES, tp->RxDescArray, in rtl8169_close()
4766 tp->RxDescArray = NULL; in rtl8169_close()
[all …]