Searched refs:rx_ring_noc (Results 1 – 1 of 1) sorted by relevance
145 struct pdma_rxdesc *rx_ring_noc; member827 memset(priv->rx_ring_noc, 0, NUM_RX_DESC * sizeof(struct pdma_rxdesc)); in mtk_eth_fifo_init()845 priv->rx_ring_noc[i].rxd_info2.PLEN0 = PKTSIZE_ALIGN; in mtk_eth_fifo_init()846 priv->rx_ring_noc[i].rxd_info1.PDP0 = virt_to_phys(pkt_base); in mtk_eth_fifo_init()856 virt_to_phys(priv->rx_ring_noc)); in mtk_eth_fifo_init()961 if (!priv->rx_ring_noc[idx].rxd_info2.DDONE) { in mtk_eth_recv()966 length = priv->rx_ring_noc[idx].rxd_info2.PLEN0; in mtk_eth_recv()967 pkt_base = (void *)phys_to_virt(priv->rx_ring_noc[idx].rxd_info1.PDP0); in mtk_eth_recv()982 priv->rx_ring_noc[idx].rxd_info2.DDONE = 0; in mtk_eth_free_pkt()983 priv->rx_ring_noc[idx].rxd_info2.LS0 = 0; in mtk_eth_free_pkt()[all …]