Lines Matching +full:device +full:- +full:unique

1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #include <linux/device.h>
20 * struct acpi_dma_spec - slave device DMA resources
21 * @chan_id: channel unique id
22 * @slave_id: request line unique id
23 * @dev: struct device of the DMA controller to be used in the filter
29 struct device *dev;
33 * struct acpi_dma - representation of the registered DMAC
35 * @dev: struct device of this controller
43 struct device *dev;
59 int acpi_dma_controller_register(struct device *dev,
63 int acpi_dma_controller_free(struct device *dev);
64 int devm_acpi_dma_controller_register(struct device *dev,
68 void devm_acpi_dma_controller_free(struct device *dev);
70 struct dma_chan *acpi_dma_request_slave_chan_by_index(struct device *dev,
72 struct dma_chan *acpi_dma_request_slave_chan_by_name(struct device *dev,
79 static inline int acpi_dma_controller_register(struct device *dev, in acpi_dma_controller_register()
84 return -ENODEV; in acpi_dma_controller_register()
86 static inline int acpi_dma_controller_free(struct device *dev) in acpi_dma_controller_free()
88 return -ENODEV; in acpi_dma_controller_free()
90 static inline int devm_acpi_dma_controller_register(struct device *dev, in devm_acpi_dma_controller_register()
95 return -ENODEV; in devm_acpi_dma_controller_register()
97 static inline void devm_acpi_dma_controller_free(struct device *dev) in devm_acpi_dma_controller_free()
102 struct device *dev, size_t index) in acpi_dma_request_slave_chan_by_index()
104 return ERR_PTR(-ENODEV); in acpi_dma_request_slave_chan_by_index()
107 struct device *dev, const char *name) in acpi_dma_request_slave_chan_by_name()
109 return ERR_PTR(-ENODEV); in acpi_dma_request_slave_chan_by_name()