Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dma-pl330.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010 Samsung Electronics Co. Ltd.
3  * Jaswinder Singh <[email protected]>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  */
10 
11 #ifndef __DMA_PL330_H_
12 #define __DMA_PL330_H_ __FILE__
13 
14 /*
15  * PL330 can assign any channel to communicate with
16  * any of the peripherals attched to the DMAC.
17  * For the sake of consistency across client drivers,
18  * We keep the channel names unchanged and only add
19  * missing peripherals are added.
20  * Order is not important since DMA PL330 API driver
21  * use these just as IDs.
22  */
23 enum dma_ch {
102  /* END Marker, also used to denote a reserved channel */
104 };
105 
107  char *name;
108 };
109 
110 static inline bool samsung_dma_has_circular(void)
111 {
112  return true;
113 }
114 
115 static inline bool samsung_dma_is_dmadev(void)
116 {
117  return true;
118 }
119 
120 #include <plat/dma-ops.h>
121 
122 #endif /* __DMA_PL330_H_ */