Lines Matching refs:substream
25 static int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream) in pxa2xx_pcm_prepare() argument
27 struct pxa2xx_pcm_client *client = substream->private_data; in pxa2xx_pcm_prepare()
29 __pxa2xx_pcm_prepare(substream); in pxa2xx_pcm_prepare()
31 return client->prepare(substream); in pxa2xx_pcm_prepare()
34 static int pxa2xx_pcm_open(struct snd_pcm_substream *substream) in pxa2xx_pcm_open() argument
36 struct pxa2xx_pcm_client *client = substream->private_data; in pxa2xx_pcm_open()
37 struct snd_pcm_runtime *runtime = substream->runtime; in pxa2xx_pcm_open()
41 ret = __pxa2xx_pcm_open(substream); in pxa2xx_pcm_open()
47 rtd->params = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in pxa2xx_pcm_open()
50 ret = client->startup(substream); in pxa2xx_pcm_open()
57 __pxa2xx_pcm_close(substream); in pxa2xx_pcm_open()
62 static int pxa2xx_pcm_close(struct snd_pcm_substream *substream) in pxa2xx_pcm_close() argument
64 struct pxa2xx_pcm_client *client = substream->private_data; in pxa2xx_pcm_close()
66 client->shutdown(substream); in pxa2xx_pcm_close()
68 return __pxa2xx_pcm_close(substream); in pxa2xx_pcm_close()