• Home
  • Raw
  • Download

Lines Matching refs:dma_dev

223 	INIT_LIST_HEAD(&mcf_edma->dma_dev.channels);  in mcf_edma_probe()
232 vchan_init(&mcf_chan->vchan, &mcf_edma->dma_dev); in mcf_edma_probe()
243 dma_cap_set(DMA_PRIVATE, mcf_edma->dma_dev.cap_mask); in mcf_edma_probe()
244 dma_cap_set(DMA_SLAVE, mcf_edma->dma_dev.cap_mask); in mcf_edma_probe()
245 dma_cap_set(DMA_CYCLIC, mcf_edma->dma_dev.cap_mask); in mcf_edma_probe()
247 mcf_edma->dma_dev.dev = &pdev->dev; in mcf_edma_probe()
248 mcf_edma->dma_dev.device_alloc_chan_resources = in mcf_edma_probe()
250 mcf_edma->dma_dev.device_free_chan_resources = in mcf_edma_probe()
252 mcf_edma->dma_dev.device_config = fsl_edma_slave_config; in mcf_edma_probe()
253 mcf_edma->dma_dev.device_prep_dma_cyclic = in mcf_edma_probe()
255 mcf_edma->dma_dev.device_prep_slave_sg = fsl_edma_prep_slave_sg; in mcf_edma_probe()
256 mcf_edma->dma_dev.device_tx_status = fsl_edma_tx_status; in mcf_edma_probe()
257 mcf_edma->dma_dev.device_pause = fsl_edma_pause; in mcf_edma_probe()
258 mcf_edma->dma_dev.device_resume = fsl_edma_resume; in mcf_edma_probe()
259 mcf_edma->dma_dev.device_terminate_all = fsl_edma_terminate_all; in mcf_edma_probe()
260 mcf_edma->dma_dev.device_issue_pending = fsl_edma_issue_pending; in mcf_edma_probe()
262 mcf_edma->dma_dev.src_addr_widths = FSL_EDMA_BUSWIDTHS; in mcf_edma_probe()
263 mcf_edma->dma_dev.dst_addr_widths = FSL_EDMA_BUSWIDTHS; in mcf_edma_probe()
264 mcf_edma->dma_dev.directions = in mcf_edma_probe()
267 mcf_edma->dma_dev.filter.fn = mcf_edma_filter_fn; in mcf_edma_probe()
268 mcf_edma->dma_dev.filter.map = pdata->slave_map; in mcf_edma_probe()
269 mcf_edma->dma_dev.filter.mapcnt = pdata->slavecnt; in mcf_edma_probe()
273 ret = dma_async_device_register(&mcf_edma->dma_dev); in mcf_edma_probe()
291 fsl_edma_cleanup_vchan(&mcf_edma->dma_dev); in mcf_edma_remove()
292 dma_async_device_unregister(&mcf_edma->dma_dev); in mcf_edma_remove()