• Home
  • Raw
  • Download

Lines Matching refs:dma_dev

116 	list_for_each_entry_safe(chan, _chan, &fsl_edma->dma_dev.channels, device_node) {  in fsl_edma_xlate()
351 INIT_LIST_HEAD(&fsl_edma->dma_dev.channels); in fsl_edma_probe()
361 vchan_init(&fsl_chan->vchan, &fsl_edma->dma_dev); in fsl_edma_probe()
372 dma_cap_set(DMA_PRIVATE, fsl_edma->dma_dev.cap_mask); in fsl_edma_probe()
373 dma_cap_set(DMA_SLAVE, fsl_edma->dma_dev.cap_mask); in fsl_edma_probe()
374 dma_cap_set(DMA_CYCLIC, fsl_edma->dma_dev.cap_mask); in fsl_edma_probe()
376 fsl_edma->dma_dev.dev = &pdev->dev; in fsl_edma_probe()
377 fsl_edma->dma_dev.device_alloc_chan_resources in fsl_edma_probe()
379 fsl_edma->dma_dev.device_free_chan_resources in fsl_edma_probe()
381 fsl_edma->dma_dev.device_tx_status = fsl_edma_tx_status; in fsl_edma_probe()
382 fsl_edma->dma_dev.device_prep_slave_sg = fsl_edma_prep_slave_sg; in fsl_edma_probe()
383 fsl_edma->dma_dev.device_prep_dma_cyclic = fsl_edma_prep_dma_cyclic; in fsl_edma_probe()
384 fsl_edma->dma_dev.device_config = fsl_edma_slave_config; in fsl_edma_probe()
385 fsl_edma->dma_dev.device_pause = fsl_edma_pause; in fsl_edma_probe()
386 fsl_edma->dma_dev.device_resume = fsl_edma_resume; in fsl_edma_probe()
387 fsl_edma->dma_dev.device_terminate_all = fsl_edma_terminate_all; in fsl_edma_probe()
388 fsl_edma->dma_dev.device_synchronize = fsl_edma_synchronize; in fsl_edma_probe()
389 fsl_edma->dma_dev.device_issue_pending = fsl_edma_issue_pending; in fsl_edma_probe()
391 fsl_edma->dma_dev.src_addr_widths = FSL_EDMA_BUSWIDTHS; in fsl_edma_probe()
392 fsl_edma->dma_dev.dst_addr_widths = FSL_EDMA_BUSWIDTHS; in fsl_edma_probe()
393 fsl_edma->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in fsl_edma_probe()
397 ret = dma_async_device_register(&fsl_edma->dma_dev); in fsl_edma_probe()
409 dma_async_device_unregister(&fsl_edma->dma_dev); in fsl_edma_probe()
426 fsl_edma_cleanup_vchan(&fsl_edma->dma_dev); in fsl_edma_remove()
428 dma_async_device_unregister(&fsl_edma->dma_dev); in fsl_edma_remove()