| 
									
										
										
										
											2007-02-14 13:20:03 +01:00
										 |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2010-11-22 15:35:57 +09:00
										 |  |  |  *  dma.h -- | 
					
						
							| 
									
										
										
										
											2007-02-14 13:20:03 +01:00
										 |  |  |  * | 
					
						
							|  |  |  |  *  This program is free software; you can redistribute  it and/or modify it | 
					
						
							|  |  |  |  *  under  the terms of  the GNU General  Public License as published by the | 
					
						
							|  |  |  |  *  Free Software Foundation;  either version 2 of the  License, or (at your | 
					
						
							|  |  |  |  *  option) any later version. | 
					
						
							|  |  |  |  * | 
					
						
							| 
									
										
										
										
											2011-09-02 09:44:43 +09:00
										 |  |  |  *  ALSA PCM interface for the Samsung SoC | 
					
						
							| 
									
										
										
										
											2007-02-14 13:20:03 +01:00
										 |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-11-17 16:53:23 +09:00
										 |  |  | #ifndef _S3C_AUDIO_H
 | 
					
						
							|  |  |  | #define _S3C_AUDIO_H
 | 
					
						
							| 
									
										
										
										
											2007-02-14 13:20:03 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-11-17 16:53:23 +09:00
										 |  |  | struct s3c_dma_params { | 
					
						
							| 
									
										
										
										
											2007-04-17 12:35:18 +02:00
										 |  |  | 	struct s3c2410_dma_client *client;	/* stream identifier */ | 
					
						
							|  |  |  | 	int channel;				/* Channel ID */ | 
					
						
							| 
									
										
										
										
											2007-02-14 13:20:03 +01:00
										 |  |  | 	dma_addr_t dma_addr; | 
					
						
							| 
									
										
										
										
											2007-04-17 12:35:18 +02:00
										 |  |  | 	int dma_size;			/* Size of the DMA transfer */ | 
					
						
							| 
									
										
										
										
											2011-09-02 09:44:43 +09:00
										 |  |  | 	unsigned ch; | 
					
						
							|  |  |  | 	struct samsung_dma_ops *ops; | 
					
						
							| 
									
										
										
										
											2013-01-18 17:17:01 +05:30
										 |  |  | 	char *ch_name; | 
					
						
							| 
									
										
										
										
											2007-02-14 13:20:03 +01:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-12-07 13:59:21 +05:30
										 |  |  | int asoc_dma_platform_register(struct device *dev); | 
					
						
							|  |  |  | void asoc_dma_platform_unregister(struct device *dev); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-02-14 13:20:03 +01:00
										 |  |  | #endif
 |