1 /* SPDX-License-Identifier: GPL-2.0+ */ << 2 /* 1 /* 3 * ALSA PCM interface for the Samsung SoC !! 2 * dma.h -- >> 3 * >> 4 * This program is free software; you can redistribute it and/or modify it >> 5 * under the terms of the GNU General Public License as published by the >> 6 * Free Software Foundation; either version 2 of the License, or (at your >> 7 * option) any later version. >> 8 * >> 9 * ALSA PCM interface for the Samsung SoC 4 */ 10 */ 5 11 6 #ifndef _SAMSUNG_DMA_H !! 12 #ifndef _S3C_AUDIO_H 7 #define _SAMSUNG_DMA_H !! 13 #define _S3C_AUDIO_H 8 14 9 #include <sound/dmaengine_pcm.h> 15 #include <sound/dmaengine_pcm.h> 10 16 11 /* !! 17 struct s3c_dma_params { 12 * @tx, @rx arguments can be NULL if the DMA c !! 18 void *slave; /* Channel ID */ 13 * otherwise actual DMA channel names must be !! 19 dma_addr_t dma_addr; 14 */ !! 20 int dma_size; /* Size of the DMA transfer */ 15 int samsung_asoc_dma_platform_register(struct !! 21 char *ch_name; 16 const c !! 22 struct snd_dmaengine_dai_dma_data dma_data; 17 struct !! 23 }; 18 #endif /* _SAMSUNG_DMA_H */ !! 24 >> 25 void samsung_asoc_init_dma_data(struct snd_soc_dai *dai, >> 26 struct s3c_dma_params *playback, >> 27 struct s3c_dma_params *capture); >> 28 int samsung_asoc_dma_platform_register(struct device *dev); >> 29 >> 30 #endif 19 31
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.