Lines Matching refs:dma_dev

668 	struct dma_device *dma_dev = &ccp->dma_dev;  in ccp_dmaengine_register()  local
714 dma_dev->dev = ccp->dev; in ccp_dmaengine_register()
715 dma_dev->src_addr_widths = CCP_DMA_WIDTH(dma_get_mask(ccp->dev)); in ccp_dmaengine_register()
716 dma_dev->dst_addr_widths = CCP_DMA_WIDTH(dma_get_mask(ccp->dev)); in ccp_dmaengine_register()
717 dma_dev->directions = DMA_MEM_TO_MEM; in ccp_dmaengine_register()
718 dma_dev->residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR; in ccp_dmaengine_register()
719 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in ccp_dmaengine_register()
720 dma_cap_set(DMA_INTERRUPT, dma_dev->cap_mask); in ccp_dmaengine_register()
729 dma_cap_set(DMA_PRIVATE, dma_dev->cap_mask); in ccp_dmaengine_register()
731 INIT_LIST_HEAD(&dma_dev->channels); in ccp_dmaengine_register()
747 dma_chan->device = dma_dev; in ccp_dmaengine_register()
750 list_add_tail(&dma_chan->device_node, &dma_dev->channels); in ccp_dmaengine_register()
753 dma_dev->device_free_chan_resources = ccp_free_chan_resources; in ccp_dmaengine_register()
754 dma_dev->device_prep_dma_memcpy = ccp_prep_dma_memcpy; in ccp_dmaengine_register()
755 dma_dev->device_prep_dma_interrupt = ccp_prep_dma_interrupt; in ccp_dmaengine_register()
756 dma_dev->device_issue_pending = ccp_issue_pending; in ccp_dmaengine_register()
757 dma_dev->device_tx_status = ccp_tx_status; in ccp_dmaengine_register()
758 dma_dev->device_pause = ccp_pause; in ccp_dmaengine_register()
759 dma_dev->device_resume = ccp_resume; in ccp_dmaengine_register()
760 dma_dev->device_terminate_all = ccp_terminate_all; in ccp_dmaengine_register()
762 ret = dma_async_device_register(dma_dev); in ccp_dmaengine_register()
780 struct dma_device *dma_dev = &ccp->dma_dev; in ccp_dmaengine_unregister() local
786 dma_async_device_unregister(dma_dev); in ccp_dmaengine_unregister()