Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dmac.h
Go to the documentation of this file.
1 /*
2  * TXx9 SoC DMA Controller
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 
9 #ifndef __ASM_TXX9_DMAC_H
10 #define __ASM_TXX9_DMAC_H
11 
12 #include <linux/dmaengine.h>
13 
14 #define TXX9_DMA_MAX_NR_CHANNELS 4
15 
24 };
25 
32 };
33 
45  unsigned int reg_width;
46 };
47 
48 void txx9_dmac_init(int id, unsigned long baseaddr, int irq,
49  const struct txx9dmac_platform_data *pdata);
50 
51 #endif /* __ASM_TXX9_DMAC_H */