Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dmtk_eth.c144 struct pdma_txdesc *tx_ring_noc; member
826 memset(priv->tx_ring_noc, 0, NUM_TX_DESC * sizeof(struct pdma_txdesc)); in mtk_eth_fifo_init()
836 priv->tx_ring_noc[i].txd_info2.LS0 = 1; in mtk_eth_fifo_init()
837 priv->tx_ring_noc[i].txd_info2.DDONE = 1; in mtk_eth_fifo_init()
838 priv->tx_ring_noc[i].txd_info4.FPORT = priv->gmac_id + 1; in mtk_eth_fifo_init()
840 priv->tx_ring_noc[i].txd_info1.SDP0 = virt_to_phys(pkt_base); in mtk_eth_fifo_init()
851 virt_to_phys(priv->tx_ring_noc)); in mtk_eth_fifo_init()
935 if (!priv->tx_ring_noc[idx].txd_info2.DDONE) { in mtk_eth_send()
940 pkt_base = (void *)phys_to_virt(priv->tx_ring_noc[idx].txd_info1.SDP0); in mtk_eth_send()
945 priv->tx_ring_noc[idx].txd_info2.SDL0 = length; in mtk_eth_send()
[all …]