Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/ti/
H A Dcpsw.c233 struct cpdma_chan rx_chan, tx_chan; member
719 memset(&priv->tx_chan, 0, sizeof(struct cpdma_chan)); in _cpsw_init()
720 priv->tx_chan.hdp = priv->dma_regs + CPDMA_TXHDP_VER2; in _cpsw_init()
721 priv->tx_chan.cp = priv->dma_regs + CPDMA_TXCP_VER2; in _cpsw_init()
728 memset(&priv->tx_chan, 0, sizeof(struct cpdma_chan)); in _cpsw_init()
729 priv->tx_chan.hdp = priv->dma_regs + CPDMA_TXHDP_VER1; in _cpsw_init()
730 priv->tx_chan.cp = priv->dma_regs + CPDMA_TXCP_VER1; in _cpsw_init()
788 (cpdma_process(priv, &priv->tx_chan, NULL, NULL) >= 0)) in cpsw_reap_completed_packets()
822 return cpdma_submit(priv, &priv->tx_chan, packet, length); in _cpsw_send()