4 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
12 enum s3c24xx_dma_bus {
18 * @bus: on which bus does the peripheral reside - AHB or APB.
19 * @handshake: is a handshake with the peripheral necessary
20 * @chansel: channel selection information, depending on variant; reqsel for
21 * s3c2443 and later and channel-selection map for earlier SoCs
22 * see CHANSEL doc in s3c2443-dma.c
24 struct s3c24xx_dma_channel {
25 enum s3c24xx_dma_bus bus;
31 * struct s3c24xx_dma_platdata - platform specific settings
32 * @num_phy_channels: number of physical channels
33 * @channels: array of virtual channel descriptions
34 * @num_channels: number of virtual channels
36 struct s3c24xx_dma_platdata {
38 struct s3c24xx_dma_channel *channels;
43 bool s3c24xx_dma_filter(struct dma_chan *chan, void *param);