Lines Matching refs:component
186 struct snd_soc_component *component) in to_dmadata() argument
188 struct au1xpsc_audio_dmadata *pcd = snd_soc_component_get_drvdata(component); in to_dmadata()
192 static int au1xpsc_pcm_hw_params(struct snd_soc_component *component, in au1xpsc_pcm_hw_params() argument
201 pcd = to_dmadata(substream, component); in au1xpsc_pcm_hw_params()
231 static int au1xpsc_pcm_prepare(struct snd_soc_component *component, in au1xpsc_pcm_prepare() argument
234 struct au1xpsc_audio_dmadata *pcd = to_dmadata(substream, component); in au1xpsc_pcm_prepare()
249 static int au1xpsc_pcm_trigger(struct snd_soc_component *component, in au1xpsc_pcm_trigger() argument
252 u32 c = to_dmadata(substream, component)->ddma_chan; in au1xpsc_pcm_trigger()
270 au1xpsc_pcm_pointer(struct snd_soc_component *component, in au1xpsc_pcm_pointer() argument
274 to_dmadata(substream, component)->pos); in au1xpsc_pcm_pointer()
277 static int au1xpsc_pcm_open(struct snd_soc_component *component, in au1xpsc_pcm_open() argument
280 struct au1xpsc_audio_dmadata *pcd = to_dmadata(substream, component); in au1xpsc_pcm_open()
294 static int au1xpsc_pcm_close(struct snd_soc_component *component, in au1xpsc_pcm_close() argument
297 au1x_pcm_dbdma_free(to_dmadata(substream, component)); in au1xpsc_pcm_close()
301 static int au1xpsc_pcm_new(struct snd_soc_component *component, in au1xpsc_pcm_new() argument