Lines Matching refs:component
222 static int q6apm_dai_prepare(struct snd_soc_component *component, in q6apm_dai_prepare() argument
228 struct device *dev = component->dev; in q6apm_dai_prepare()
232 pdata = snd_soc_component_get_drvdata(component); in q6apm_dai_prepare()
300 static int q6apm_dai_trigger(struct snd_soc_component *component, in q6apm_dai_trigger() argument
330 static int q6apm_dai_open(struct snd_soc_component *component, in q6apm_dai_open() argument
336 struct device *dev = component->dev; in q6apm_dai_open()
343 pdata = snd_soc_component_get_drvdata(component); in q6apm_dai_open()
409 static int q6apm_dai_close(struct snd_soc_component *component, in q6apm_dai_close() argument
428 static snd_pcm_uframes_t q6apm_dai_pointer(struct snd_soc_component *component, in q6apm_dai_pointer() argument
446 static int q6apm_dai_hw_params(struct snd_soc_component *component, in q6apm_dai_hw_params() argument
470 static int q6apm_dai_pcm_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) in q6apm_dai_pcm_new() argument
474 return snd_pcm_set_fixed_buffer_all(rtd->pcm, SNDRV_DMA_TYPE_DEV, component->dev, size); in q6apm_dai_pcm_new()
477 static int q6apm_dai_compr_open(struct snd_soc_component *component, in q6apm_dai_compr_open() argument
485 struct device *dev = component->dev; in q6apm_dai_compr_open()
490 pdata = snd_soc_component_get_drvdata(component); in q6apm_dai_compr_open()
525 static int q6apm_dai_compr_free(struct snd_soc_component *component, in q6apm_dai_compr_free() argument
542 static int q6apm_dai_compr_get_caps(struct snd_soc_component *component, in q6apm_dai_compr_get_caps() argument
559 static int q6apm_dai_compr_get_codec_caps(struct snd_soc_component *component, in q6apm_dai_compr_get_codec_caps() argument
574 static int q6apm_dai_compr_pointer(struct snd_soc_component *component, in q6apm_dai_compr_pointer() argument
590 static int q6apm_dai_compr_trigger(struct snd_soc_component *component, in q6apm_dai_compr_trigger() argument
623 static int q6apm_dai_compr_ack(struct snd_soc_component *component, struct snd_compr_stream *stream, in q6apm_dai_compr_ack() argument
637 static int q6apm_dai_compr_set_params(struct snd_soc_component *component, in q6apm_dai_compr_set_params() argument
649 pdata = snd_soc_component_get_drvdata(component); in q6apm_dai_compr_set_params()
663 ret = q6apm_set_real_module_id(component->dev, prtd->graph, codec->id); in q6apm_dai_compr_set_params()
713 static int q6apm_dai_compr_set_metadata(struct snd_soc_component *component, in q6apm_dai_compr_set_metadata() argument
724 q6apm_remove_trailing_silence(component->dev, prtd->graph, in q6apm_dai_compr_set_metadata()
729 q6apm_remove_initial_silence(component->dev, prtd->graph, in q6apm_dai_compr_set_metadata()
740 static int q6apm_dai_compr_mmap(struct snd_soc_component *component, in q6apm_dai_compr_mmap() argument
746 struct device *dev = component->dev; in q6apm_dai_compr_mmap()
752 static int q6apm_compr_copy(struct snd_soc_component *component, in q6apm_compr_copy() argument