Lines Matching refs:rx_chan
214 struct cpdma_chan rx_chan, tx_chan; member
697 memset(&priv->rx_chan, 0, sizeof(struct cpdma_chan)); in _cpsw_init()
698 priv->rx_chan.hdp = priv->dma_regs + CPDMA_RXHDP_VER2; in _cpsw_init()
699 priv->rx_chan.cp = priv->dma_regs + CPDMA_RXCP_VER2; in _cpsw_init()
700 priv->rx_chan.rxfree = priv->dma_regs + CPDMA_RXFREE; in _cpsw_init()
706 memset(&priv->rx_chan, 0, sizeof(struct cpdma_chan)); in _cpsw_init()
707 priv->rx_chan.hdp = priv->dma_regs + CPDMA_RXHDP_VER1; in _cpsw_init()
708 priv->rx_chan.cp = priv->dma_regs + CPDMA_RXCP_VER1; in _cpsw_init()
709 priv->rx_chan.rxfree = priv->dma_regs + CPDMA_RXFREE; in _cpsw_init()
753 ret = cpdma_submit(priv, &priv->rx_chan, net_rx_packets[i], in _cpsw_init()
814 ret = cpdma_process(priv, &priv->rx_chan, &buffer, &len); in _cpsw_recv()
959 cpdma_submit(priv, &priv->rx_chan, pkt, PKTSIZE); in cpsw_recv()
1032 return cpdma_submit(priv, &priv->rx_chan, packet, PKTSIZE); in cpsw_eth_free_pkt()