Lines Matching defs:dev
13 .dma_dev = dma_spec->dev,
25 struct device *dev = dw->dma.dev;
29 if (!has_acpi_companion(dev))
32 info = devm_kzalloc(dev, sizeof(*info), GFP_KERNEL);
40 ret = acpi_dma_controller_register(dev, acpi_dma_simple_xlate, info);
42 dev_err(dev, "could not register acpi_dma_controller\n");
48 struct device *dev = dw->dma.dev;
50 if (!has_acpi_companion(dev))
53 acpi_dma_controller_free(dev);