2 * rockchip-pcm.h - ALSA PCM interface for the Rockchip rk28 SoC
4 * Driver for rockchip iis audio
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #ifndef _ROCKCHIP_PCM_H
13 #define _ROCKCHIP_PCM_H
15 #include <mach/hardware.h>
17 #define ST_RUNNING (1<<0)
18 #define ST_OPENED (1<<1)
20 struct rockchip_pcm_dma_params {
21 struct rk29_dma_client *client; /* stream identifier */
22 int channel; /* Channel ID */
24 int dma_size; /* Size of the DMA transfer */
25 int flag; /*burst change flag*/
28 extern struct snd_soc_platform rk29_soc_platform;
30 #endif /* _ROCKCHIP_PCM_H */