1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates.
4 * Synopsys DesignWare eDMA core driver
6 * Author: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
12 #include <linux/device.h>
13 #include <linux/dmaengine.h>
18 * struct dw_edma_chip - representation of DesignWare eDMA controller hardware
19 * @dev: struct device of the eDMA controller
22 * @dw: struct dw_edma that is filed by dw_edma_probe()
31 /* Export to the platform drivers */
32 #if IS_ENABLED(CONFIG_DW_EDMA)
33 int dw_edma_probe(struct dw_edma_chip *chip);
34 int dw_edma_remove(struct dw_edma_chip *chip);
36 static inline int dw_edma_probe(struct dw_edma_chip *chip)
41 static inline int dw_edma_remove(struct dw_edma_chip *chip)
45 #endif /* CONFIG_DW_EDMA */
47 #endif /* _DW_EDMA_H */