| .. | .. |
|---|
| 10 | 10 | struct snd_pcm_hw_params; |
|---|
| 11 | 11 | struct snd_soc_pcm_runtime; |
|---|
| 12 | 12 | struct snd_pcm; |
|---|
| 13 | +struct snd_soc_component; |
|---|
| 13 | 14 | |
|---|
| 14 | 15 | extern int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, |
|---|
| 15 | 16 | struct snd_pcm_hw_params *params); |
|---|
| .. | .. |
|---|
| 23 | 24 | struct vm_area_struct *vma); |
|---|
| 24 | 25 | extern int pxa2xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream); |
|---|
| 25 | 26 | extern void pxa2xx_pcm_free_dma_buffers(struct snd_pcm *pcm); |
|---|
| 26 | | -extern int pxa2xx_soc_pcm_new(struct snd_soc_pcm_runtime *rtd); |
|---|
| 27 | | -extern const struct snd_pcm_ops pxa2xx_pcm_ops; |
|---|
| 27 | +extern void pxa2xx_soc_pcm_free(struct snd_soc_component *component, |
|---|
| 28 | + struct snd_pcm *pcm); |
|---|
| 29 | +extern int pxa2xx_soc_pcm_new(struct snd_soc_component *component, |
|---|
| 30 | + struct snd_soc_pcm_runtime *rtd); |
|---|
| 31 | +extern int pxa2xx_soc_pcm_open(struct snd_soc_component *component, |
|---|
| 32 | + struct snd_pcm_substream *substream); |
|---|
| 33 | +extern int pxa2xx_soc_pcm_close(struct snd_soc_component *component, |
|---|
| 34 | + struct snd_pcm_substream *substream); |
|---|
| 35 | +extern int pxa2xx_soc_pcm_hw_params(struct snd_soc_component *component, |
|---|
| 36 | + struct snd_pcm_substream *substream, |
|---|
| 37 | + struct snd_pcm_hw_params *params); |
|---|
| 38 | +extern int pxa2xx_soc_pcm_hw_free(struct snd_soc_component *component, |
|---|
| 39 | + struct snd_pcm_substream *substream); |
|---|
| 40 | +extern int pxa2xx_soc_pcm_prepare(struct snd_soc_component *component, |
|---|
| 41 | + struct snd_pcm_substream *substream); |
|---|
| 42 | +extern int pxa2xx_soc_pcm_trigger(struct snd_soc_component *component, |
|---|
| 43 | + struct snd_pcm_substream *substream, int cmd); |
|---|
| 44 | +extern snd_pcm_uframes_t |
|---|
| 45 | +pxa2xx_soc_pcm_pointer(struct snd_soc_component *component, |
|---|
| 46 | + struct snd_pcm_substream *substream); |
|---|
| 47 | +extern int pxa2xx_soc_pcm_mmap(struct snd_soc_component *component, |
|---|
| 48 | + struct snd_pcm_substream *substream, |
|---|
| 49 | + struct vm_area_struct *vma); |
|---|
| 28 | 50 | |
|---|
| 29 | 51 | /* AC97 */ |
|---|
| 30 | 52 | |
|---|