Nicolas Ferre | dc78baa | 2009-07-03 19:24:33 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * Header file for the Atmel AHB DMA Controller driver |
| 3 | * |
| 4 | * Copyright (C) 2008 Atmel Corporation |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | */ |
| 11 | #ifndef AT_HDMAC_H |
| 12 | #define AT_HDMAC_H |
| 13 | |
| 14 | #include <linux/dmaengine.h> |
| 15 | |
| 16 | /** |
| 17 | * struct at_dma_platform_data - Controller configuration parameters |
| 18 | * @nr_channels: Number of channels supported by hardware (max 8) |
| 19 | * @cap_mask: dma_capability flags supported by the platform |
| 20 | */ |
| 21 | struct at_dma_platform_data { |
| 22 | unsigned int nr_channels; |
| 23 | dma_cap_mask_t cap_mask; |
| 24 | }; |
| 25 | |
| 26 | #endif /* AT_HDMAC_H */ |