Lines Matching +full:device +full:- +full:unique
1 /* SPDX-License-Identifier: GPL-2.0-only */
18 struct device;
21 * struct acpi_dma_spec - slave device DMA resources
22 * @chan_id: channel unique id
23 * @slave_id: request line unique id
24 * @dev: struct device of the DMA controller to be used in the filter
30 struct device *dev;
34 * struct acpi_dma - representation of the registered DMAC
36 * @dev: struct device of this controller
44 struct device *dev;
60 int acpi_dma_controller_register(struct device *dev,
64 int acpi_dma_controller_free(struct device *dev);
65 int devm_acpi_dma_controller_register(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()
99 struct device *dev, size_t index) in acpi_dma_request_slave_chan_by_index()
101 return ERR_PTR(-ENODEV); in acpi_dma_request_slave_chan_by_index()
104 struct device *dev, const char *name) in acpi_dma_request_slave_chan_by_name()
106 return ERR_PTR(-ENODEV); in acpi_dma_request_slave_chan_by_name()