Lines Matching refs:substream
27 static int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream, in pxa2xx_pcm_hw_params() argument
30 struct snd_pcm_runtime *runtime = substream->runtime; in pxa2xx_pcm_hw_params()
32 struct snd_soc_pcm_runtime *rtd = substream->private_data; in pxa2xx_pcm_hw_params()
36 dma = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in pxa2xx_pcm_hw_params()
48 pxa2xx_pcm_dma_irq, substream); in pxa2xx_pcm_hw_params()
56 pxa2xx_pcm_dma_irq, substream); in pxa2xx_pcm_hw_params()
62 return __pxa2xx_pcm_hw_params(substream, params); in pxa2xx_pcm_hw_params()
65 static int pxa2xx_pcm_hw_free(struct snd_pcm_substream *substream) in pxa2xx_pcm_hw_free() argument
67 struct pxa2xx_runtime_data *prtd = substream->runtime->private_data; in pxa2xx_pcm_hw_free()
69 __pxa2xx_pcm_hw_free(substream); in pxa2xx_pcm_hw_free()
102 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in pxa2xx_soc_pcm_new()
109 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in pxa2xx_soc_pcm_new()