Lines Matching defs:dma
131 struct dw_dma_chip *dma;
182 #include <linux/platform_data/dma-dw.h>
183 #include <linux/dma/dw.h>
218 dev_err(dev, "%s: dma channel unavailable\n", __func__);
231 hsdev->dma = devm_kzalloc(dev, sizeof(*hsdev->dma), GFP_KERNEL);
232 if (!hsdev->dma)
235 hsdev->dma->dev = dev;
236 hsdev->dma->id = pdev->id;
239 hsdev->dma->irq = irq_of_parse_and_map(np, 1);
240 if (!hsdev->dma->irq) {
246 hsdev->dma->regs = devm_platform_ioremap_resource(pdev, 1);
247 if (IS_ERR(hsdev->dma->regs))
248 return PTR_ERR(hsdev->dma->regs);
251 return dw_dma_probe(hsdev->dma);
256 if (!hsdev->dma)
259 dw_dma_remove(hsdev->dma);
816 hsdevp->chan = dma_request_chan(dev, "sata-dma");
818 dev_err(dev, "failed to allocate dma channel: %ld\n",