Lines Matching full:rtd

524 	struct snd_soc_pcm_runtime *rtd = cstream->private_data;  in snd_soc_component_compr_trigger()  local
528 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_trigger()
545 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_params() local
549 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_set_params()
566 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_params() local
570 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_params()
586 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_caps() local
590 snd_soc_dpcm_mutex_lock(rtd); in snd_soc_component_compr_get_caps()
592 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_caps()
601 snd_soc_dpcm_mutex_unlock(rtd); in snd_soc_component_compr_get_caps()
610 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_codec_caps() local
614 snd_soc_dpcm_mutex_lock(rtd); in snd_soc_component_compr_get_codec_caps()
616 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_codec_caps()
625 snd_soc_dpcm_mutex_unlock(rtd); in snd_soc_component_compr_get_codec_caps()
633 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_ack() local
637 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_ack()
654 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_pointer() local
658 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_pointer()
674 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_copy() local
678 snd_soc_dpcm_mutex_lock(rtd); in snd_soc_component_compr_copy()
680 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_copy()
689 snd_soc_dpcm_mutex_unlock(rtd); in snd_soc_component_compr_copy()
698 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_metadata() local
702 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_set_metadata()
719 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_metadata() local
723 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_metadata()
980 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_pointer() local
985 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_pointer()
992 static bool snd_soc_component_is_codec_on_rtd(struct snd_soc_pcm_runtime *rtd, in snd_soc_component_is_codec_on_rtd() argument
998 for_each_rtd_codec_dais(rtd, i, dai) { in snd_soc_component_is_codec_on_rtd()
1010 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_delay() local
1021 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_delay()
1027 if (snd_soc_component_is_codec_on_rtd(rtd, component)) in snd_soc_pcm_component_delay()
1037 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_ioctl() local
1042 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_ioctl()
1054 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_sync_stop() local
1058 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_sync_stop()
1074 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_copy() local
1079 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_copy()
1091 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_page() local
1097 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_page()
1112 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_mmap() local
1117 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_mmap()
1127 int snd_soc_pcm_component_new(struct snd_soc_pcm_runtime *rtd) in snd_soc_pcm_component_new() argument
1133 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_new()
1135 ret = component->driver->pcm_construct(component, rtd); in snd_soc_pcm_component_new()
1144 void snd_soc_pcm_component_free(struct snd_soc_pcm_runtime *rtd) in snd_soc_pcm_component_free() argument
1149 if (!rtd->pcm) in snd_soc_pcm_component_free()
1152 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_free()
1154 component->driver->pcm_destruct(component, rtd->pcm); in snd_soc_pcm_component_free()
1159 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_prepare() local
1163 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_prepare()
1177 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_hw_params() local
1181 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_hw_params()
1198 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_hw_free() local
1202 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_hw_free()
1232 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_trigger() local
1240 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_trigger()
1250 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_trigger()
1264 int snd_soc_pcm_component_pm_runtime_get(struct snd_soc_pcm_runtime *rtd, in snd_soc_pcm_component_pm_runtime_get() argument
1270 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_pm_runtime_get()
1283 void snd_soc_pcm_component_pm_runtime_put(struct snd_soc_pcm_runtime *rtd, in snd_soc_pcm_component_pm_runtime_put() argument
1289 for_each_rtd_components(rtd, i, component) { in snd_soc_pcm_component_pm_runtime_put()
1303 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in snd_soc_pcm_component_ack() local
1308 for_each_rtd_components(rtd, i, component) in snd_soc_pcm_component_ack()