Lines Matching full:rx_chan
90 struct dma_chan *rx_chan; member
290 desc = dmaengine_prep_slave_single(db->rx_chan, rxbuf, count, in emac_dma_inblk_32bit()
316 dma_async_issue_pending(db->rx_chan); in emac_dma_inblk_32bit()
734 if (rxlen >= dev->mtu && db->rx_chan) { in emac_rx()
930 db->rx_chan = dma_request_chan(&pdev->dev, "rx"); in emac_configure_dma()
931 if (IS_ERR(db->rx_chan)) { in emac_configure_dma()
934 err = PTR_ERR(db->rx_chan); in emac_configure_dma()
946 err = dmaengine_slave_config(db->rx_chan, &conf); in emac_configure_dma()
956 dma_release_channel(db->rx_chan); in emac_configure_dma()
959 db->rx_chan = NULL; in emac_configure_dma()
1075 dma_release_channel(db->rx_chan); in emac_probe()
1091 if (db->rx_chan) { in emac_remove()
1092 dmaengine_terminate_all(db->rx_chan); in emac_remove()
1093 dma_release_channel(db->rx_chan); in emac_remove()