Lines Matching defs:dma_dev
164 dev_warn(shdev->shdma_dev.dma_dev.dev, "Can't initialize DMAOR.\n");
168 dev_warn(shdev->shdma_dev.dma_dev.dev,
521 struct platform_device *pdev = to_platform_device(sdev->dma_dev.dev);
526 sh_chan = devm_kzalloc(sdev->dma_dev.dev, sizeof(struct sh_dmae_chan),
548 dev_err(sdev->dma_dev.dev,
679 struct dma_device *dma_dev;
718 dma_dev = &shdev->shdma_dev.dma_dev;
729 dma_dev->src_addr_widths = widths;
730 dma_dev->dst_addr_widths = widths;
731 dma_dev->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM);
732 dma_dev->residue_granularity = DMA_RESIDUE_GRANULARITY_DESCRIPTOR;
735 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask);
737 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask);
740 dma_dev->copy_align = LOG2_DEFAULT_XFER_SIZE;
857 err = dma_async_device_register(&shdev->shdma_dev.dma_dev);
888 struct dma_device *dma_dev = &shdev->shdma_dev.dma_dev;
890 dma_async_device_unregister(dma_dev);