accel/qaic: Add AIC200 support
[drm/drm-misc.git] / include / linux / platform_data / dma-mcf-edma.h
blobd718ccfa3421de589e7a39d769a62ef184d6ef35
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Freescale eDMA platform data, ColdFire SoC's family.
5 * Copyright (c) 2017 Angelo Dureghello <angelo@sysam.it>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #ifndef __LINUX_PLATFORM_DATA_MCF_EDMA_H__
18 #define __LINUX_PLATFORM_DATA_MCF_EDMA_H__
20 struct dma_slave_map;
22 bool mcf_edma_filter_fn(struct dma_chan *chan, void *param);
24 #define MCF_EDMA_FILTER_PARAM(ch) ((void *)ch)
26 /**
27 * struct mcf_edma_platform_data - platform specific data for eDMA engine
29 * @ver The eDMA module version.
30 * @dma_channels The number of eDMA channels.
32 struct mcf_edma_platform_data {
33 int dma_channels;
34 const struct dma_slave_map *slave_map;
35 int slavecnt;
38 #endif /* __LINUX_PLATFORM_DATA_MCF_EDMA_H__ */