/*1* ALSA PCM interface for the Stretch s6000 family2*3* Author: Daniel Gloeckner, <[email protected]>4* Copyright: (C) 2009 emlix GmbH <[email protected]>5*6* This program is free software; you can redistribute it and/or modify7* it under the terms of the GNU General Public License version 2 as8* published by the Free Software Foundation.9*/1011#ifndef _S6000_PCM_H12#define _S6000_PCM_H1314struct snd_soc_dai;15struct snd_pcm_substream;1617struct s6000_pcm_dma_params {18unsigned int (*check_xrun)(struct snd_soc_dai *cpu_dai);19int (*trigger)(struct snd_pcm_substream *substream, int cmd, int after);20dma_addr_t sif_in;21dma_addr_t sif_out;22u32 dma_in;23u32 dma_out;24int irq;25int same_rate;2627spinlock_t lock;28int in_use;29int rate;30};3132#endif333435