// SPDX-License-Identifier: GPL-2.0 /* * Platform driver for the Synopsys DesignWare DMA Controller * * Copyright (C) 2007-2008 Atmel Corporation * Copyright (C) 2010-2011 ST Microelectronics * Copyright (C) 2013 Intel Corporation */ #include <linux/of.h> #include <linux/of_dma.h> #include <linux/platform_device.h> #include "internal.h" static struct dma_chan *dw_dma_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) { … } struct dw_dma_platform_data *dw_dma_parse_dt(struct platform_device *pdev) { … } void dw_dma_of_controller_register(struct dw_dma *dw) { … } void dw_dma_of_controller_free(struct dw_dma *dw) { … }