Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dmtk_eth.c820 char *pkt_base = priv->pkt_pool; in mtk_eth_fifo_init() local
830 flush_dcache_range((u32)pkt_base, (u32)(pkt_base + TOTAL_PKT_BUF_SIZE)); in mtk_eth_fifo_init()
840 priv->tx_ring_noc[i].txd_info1.SDP0 = virt_to_phys(pkt_base); in mtk_eth_fifo_init()
841 pkt_base += 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()
847 pkt_base += PKTSIZE_ALIGN; in mtk_eth_fifo_init()
933 void *pkt_base; in mtk_eth_send() local
940 pkt_base = (void *)phys_to_virt(priv->tx_ring_noc[idx].txd_info1.SDP0); in mtk_eth_send()
941 memcpy(pkt_base, packet, length); in mtk_eth_send()
942 flush_dcache_range((u32)pkt_base, (u32)pkt_base + in mtk_eth_send()
[all …]