Lines Matching refs:substream

32 int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,  in pxa2xx_pcm_hw_params()  argument
35 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in pxa2xx_pcm_hw_params()
36 struct snd_soc_pcm_runtime *rtd = substream->private_data; in pxa2xx_pcm_hw_params()
41 dma_params = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in pxa2xx_pcm_hw_params()
45 ret = snd_hwparams_to_dma_slave_config(substream, params, &config); in pxa2xx_pcm_hw_params()
49 snd_dmaengine_pcm_set_config_from_dai_data(substream, in pxa2xx_pcm_hw_params()
50 snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream), in pxa2xx_pcm_hw_params()
61 int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) in pxa2xx_pcm_trigger() argument
63 return snd_dmaengine_pcm_trigger(substream, cmd); in pxa2xx_pcm_trigger()
68 pxa2xx_pcm_pointer(struct snd_pcm_substream *substream) in pxa2xx_pcm_pointer() argument
70 return snd_dmaengine_pcm_pointer(substream); in pxa2xx_pcm_pointer()
74 int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream) in pxa2xx_pcm_prepare() argument
80 int pxa2xx_pcm_open(struct snd_pcm_substream *substream) in pxa2xx_pcm_open() argument
82 struct snd_soc_pcm_runtime *rtd = substream->private_data; in pxa2xx_pcm_open()
83 struct snd_pcm_runtime *runtime = substream->runtime; in pxa2xx_pcm_open()
89 dma_params = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in pxa2xx_pcm_open()
114 substream, dma_request_slave_channel(asoc_rtd_to_cpu(rtd, 0)->dev, in pxa2xx_pcm_open()
119 int pxa2xx_pcm_close(struct snd_pcm_substream *substream) in pxa2xx_pcm_close() argument
121 return snd_dmaengine_pcm_close_release_chan(substream); in pxa2xx_pcm_close()
150 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_open() argument
152 return pxa2xx_pcm_open(substream); in pxa2xx_soc_pcm_open()
157 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_close() argument
159 return pxa2xx_pcm_close(substream); in pxa2xx_soc_pcm_close()
164 struct snd_pcm_substream *substream, in pxa2xx_soc_pcm_hw_params() argument
167 return pxa2xx_pcm_hw_params(substream, params); in pxa2xx_soc_pcm_hw_params()
172 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_prepare() argument
174 return pxa2xx_pcm_prepare(substream); in pxa2xx_soc_pcm_prepare()
179 struct snd_pcm_substream *substream, int cmd) in pxa2xx_soc_pcm_trigger() argument
181 return pxa2xx_pcm_trigger(substream, cmd); in pxa2xx_soc_pcm_trigger()
187 struct snd_pcm_substream *substream) in pxa2xx_soc_pcm_pointer() argument
189 return pxa2xx_pcm_pointer(substream); in pxa2xx_soc_pcm_pointer()