Lines Matching full:rtd

467 	struct snd_soc_pcm_runtime *rtd = cstream->private_data;  in snd_soc_component_compr_trigger()  local
471 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_trigger()
488 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_params() local
492 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_set_params()
509 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_params() local
513 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_params()
529 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_caps() local
533 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_component_compr_get_caps()
535 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_caps()
544 mutex_unlock(&rtd->card->pcm_mutex); in snd_soc_component_compr_get_caps()
553 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_codec_caps() local
557 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_component_compr_get_codec_caps()
559 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_codec_caps()
568 mutex_unlock(&rtd->card->pcm_mutex); in snd_soc_component_compr_get_codec_caps()
576 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_ack() local
580 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_ack()
597 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_pointer() local
601 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_pointer()
617 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_copy() local
621 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in snd_soc_component_compr_copy()
623 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_copy()
632 mutex_unlock(&rtd->card->pcm_mutex); in snd_soc_component_compr_copy()
641 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_metadata() local
645 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_set_metadata()
662 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_metadata() local
666 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_metadata()
923 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_pointer() local
928 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_pointer()
935 static bool snd_soc_component_is_codec_on_rtd(struct snd_soc_pcm_runtime *rtd, in snd_soc_component_is_codec_on_rtd() argument
941 for_each_rtd_codec_dais(rtd, i, dai) { in snd_soc_component_is_codec_on_rtd()
953 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_delay() local
964 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_delay()
970 if (snd_soc_component_is_codec_on_rtd(rtd, component)) in snd_soc_pcm_component_delay()
980 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_ioctl() local
985 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_ioctl()
997 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_sync_stop() local
1001 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_sync_stop()
1017 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_copy_user() local
1022 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_copy_user()
1036 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_page() local
1042 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_page()
1057 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_mmap() local
1062 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_mmap()
1072 int snd_soc_pcm_component_new(struct snd_soc_pcm_runtime *rtd) in snd_soc_pcm_component_new() argument
1078 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_new()
1080 ret = component->driver->pcm_construct(component, rtd); in snd_soc_pcm_component_new()
1089 void snd_soc_pcm_component_free(struct snd_soc_pcm_runtime *rtd) in snd_soc_pcm_component_free() argument
1094 if (!rtd->pcm) in snd_soc_pcm_component_free()
1097 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_free()
1099 component->driver->pcm_destruct(component, rtd->pcm); in snd_soc_pcm_component_free()
1104 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_prepare() local
1108 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_prepare()
1122 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_hw_params() local
1126 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_hw_params()
1143 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_hw_free() local
1147 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_hw_free()
1177 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_trigger() local
1185 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_trigger()
1195 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_trigger()
1209 int snd_soc_pcm_component_pm_runtime_get(struct snd_soc_pcm_runtime *rtd, in snd_soc_pcm_component_pm_runtime_get() argument
1215 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_pm_runtime_get()
1228 void snd_soc_pcm_component_pm_runtime_put(struct snd_soc_pcm_runtime *rtd, in snd_soc_pcm_component_pm_runtime_put() argument
1234 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_pm_runtime_put()
1248 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_pcm_component_ack() local
1253 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_ack()