Lines Matching refs:component

76 static int dmaengine_pcm_hw_params(struct snd_soc_component *component,  in dmaengine_pcm_hw_params()  argument
80 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_hw_params()
98 dmaengine_pcm_set_runtime_hwparams(struct snd_soc_component *component, in dmaengine_pcm_set_runtime_hwparams() argument
102 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_set_runtime_hwparams()
148 static int dmaengine_pcm_open(struct snd_soc_component *component, in dmaengine_pcm_open() argument
151 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_open()
155 ret = dmaengine_pcm_set_runtime_hwparams(component, substream); in dmaengine_pcm_open()
162 static int dmaengine_pcm_close(struct snd_soc_component *component, in dmaengine_pcm_close() argument
168 static int dmaengine_pcm_trigger(struct snd_soc_component *component, in dmaengine_pcm_trigger() argument
175 struct snd_soc_component *component, in dmaengine_pcm_compat_request_channel() argument
179 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_compat_request_channel()
219 static int dmaengine_pcm_new(struct snd_soc_component *component, in dmaengine_pcm_new() argument
222 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_new()
224 struct device *dev = component->dev; in dmaengine_pcm_new()
250 component, rtd, substream); in dmaengine_pcm_new()
254 dev_err(component->dev, in dmaengine_pcm_new()
279 struct snd_soc_component *component, in dmaengine_pcm_pointer() argument
282 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_pointer()
290 static int dmaengine_copy(struct snd_soc_component *component, in dmaengine_copy() argument
296 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_copy()
321 static int dmaengine_pcm_sync_stop(struct snd_soc_component *component, in dmaengine_pcm_sync_stop() argument
445 pcm->component.debugfs_prefix = "dma"; in snd_dmaengine_pcm_register()
461 ret = snd_soc_component_initialize(&pcm->component, driver, dev); in snd_dmaengine_pcm_register()
465 ret = snd_soc_add_component(&pcm->component, NULL, 0); in snd_dmaengine_pcm_register()
487 struct snd_soc_component *component; in snd_dmaengine_pcm_unregister() local
490 component = snd_soc_lookup_component(dev, SND_DMAENGINE_PCM_DRV_NAME); in snd_dmaengine_pcm_unregister()
491 if (!component) in snd_dmaengine_pcm_unregister()
494 pcm = soc_component_to_pcm(component); in snd_dmaengine_pcm_unregister()
496 snd_soc_unregister_component_by_driver(dev, component->driver); in snd_dmaengine_pcm_unregister()