Lines Matching refs:dma_dev

193 	INIT_LIST_HEAD(&mcf_edma->dma_dev.channels);  in mcf_edma_probe()
202 vchan_init(&mcf_chan->vchan, &mcf_edma->dma_dev); in mcf_edma_probe()
215 dma_cap_set(DMA_PRIVATE, mcf_edma->dma_dev.cap_mask); in mcf_edma_probe()
216 dma_cap_set(DMA_SLAVE, mcf_edma->dma_dev.cap_mask); in mcf_edma_probe()
217 dma_cap_set(DMA_CYCLIC, mcf_edma->dma_dev.cap_mask); in mcf_edma_probe()
219 mcf_edma->dma_dev.dev = &pdev->dev; in mcf_edma_probe()
220 mcf_edma->dma_dev.device_alloc_chan_resources = in mcf_edma_probe()
222 mcf_edma->dma_dev.device_free_chan_resources = in mcf_edma_probe()
224 mcf_edma->dma_dev.device_config = fsl_edma_slave_config; in mcf_edma_probe()
225 mcf_edma->dma_dev.device_prep_dma_cyclic = in mcf_edma_probe()
227 mcf_edma->dma_dev.device_prep_slave_sg = fsl_edma_prep_slave_sg; in mcf_edma_probe()
228 mcf_edma->dma_dev.device_tx_status = fsl_edma_tx_status; in mcf_edma_probe()
229 mcf_edma->dma_dev.device_pause = fsl_edma_pause; in mcf_edma_probe()
230 mcf_edma->dma_dev.device_resume = fsl_edma_resume; in mcf_edma_probe()
231 mcf_edma->dma_dev.device_terminate_all = fsl_edma_terminate_all; in mcf_edma_probe()
232 mcf_edma->dma_dev.device_issue_pending = fsl_edma_issue_pending; in mcf_edma_probe()
234 mcf_edma->dma_dev.src_addr_widths = FSL_EDMA_BUSWIDTHS; in mcf_edma_probe()
235 mcf_edma->dma_dev.dst_addr_widths = FSL_EDMA_BUSWIDTHS; in mcf_edma_probe()
236 mcf_edma->dma_dev.directions = in mcf_edma_probe()
239 mcf_edma->dma_dev.filter.fn = mcf_edma_filter_fn; in mcf_edma_probe()
240 mcf_edma->dma_dev.filter.map = pdata->slave_map; in mcf_edma_probe()
241 mcf_edma->dma_dev.filter.mapcnt = pdata->slavecnt; in mcf_edma_probe()
245 ret = dma_async_device_register(&mcf_edma->dma_dev); in mcf_edma_probe()
263 fsl_edma_cleanup_vchan(&mcf_edma->dma_dev); in mcf_edma_remove()
264 dma_async_device_unregister(&mcf_edma->dma_dev); in mcf_edma_remove()