Lines Matching defs:dma_dev
165 dev_warn(shdev->shdma_dev.dma_dev.dev, "Can't initialize DMAOR.\n");
169 dev_warn(shdev->shdma_dev.dma_dev.dev,
522 struct platform_device *pdev = to_platform_device(sdev->dma_dev.dev);
527 sh_chan = devm_kzalloc(sdev->dma_dev.dev, sizeof(struct sh_dmae_chan),
549 dev_err(sdev->dma_dev.dev,
680 struct dma_device *dma_dev;
720 dma_dev = &shdev->shdma_dev.dma_dev;
731 dma_dev->src_addr_widths = widths;
732 dma_dev->dst_addr_widths = widths;
733 dma_dev->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM);
734 dma_dev->residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR;
737 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask);
739 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask);
742 dma_dev->copy_align = LOG2_DEFAULT_XFER_SIZE;
859 err = dma_async_device_register(&shdev->shdma_dev.dma_dev);
890 struct dma_device *dma_dev = &shdev->shdma_dev.dma_dev;
892 dma_async_device_unregister(dma_dev);