| 
									
										
										
										
											2011-02-27 00:47:42 +08:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU General Public License version 2 as | 
					
						
							|  |  |  |  * published by the Free Software Foundation. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __MACH_MXS_DMA_H__
 | 
					
						
							|  |  |  | #define __MACH_MXS_DMA_H__
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-07-13 11:40:54 +08:00
										 |  |  | #include <linux/dmaengine.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-02-27 00:47:42 +08:00
										 |  |  | struct mxs_dma_data { | 
					
						
							|  |  |  | 	int chan_irq; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-10 06:23:26 +08:00
										 |  |  | extern int mxs_dma_is_apbh(struct dma_chan *chan); | 
					
						
							|  |  |  | extern int mxs_dma_is_apbx(struct dma_chan *chan); | 
					
						
							| 
									
										
										
										
											2011-02-27 00:47:42 +08:00
										 |  |  | #endif /* __MACH_MXS_DMA_H__ */
 |