Lines Matching refs:dai_link

118 	if (!rtd->pmdown_time || rtd->dai_link->ignore_pmdown_time)  in snd_soc_runtime_ignore_pmdown_time()
164 be->dai_link->name, event, dir); in dpcm_dapm_stream_event()
185 rtd->dai_link->symmetric_rates)) { in soc_pcm_apply_symmetry()
201 rtd->dai_link->symmetric_channels)) { in soc_pcm_apply_symmetry()
217 rtd->dai_link->symmetric_samplebits)) { in soc_pcm_apply_symmetry()
249 rtd->dai_link->symmetric_rates; in soc_pcm_params_symmetry()
261 rtd->dai_link->symmetric_channels; in soc_pcm_params_symmetry()
273 rtd->dai_link->symmetric_samplebits; in soc_pcm_params_symmetry()
291 struct snd_soc_dai_link *link = rtd->dai_link; in soc_pcm_has_symmetry()
538 if (rtd->dai_link->ops->startup) { in soc_pcm_open()
539 ret = rtd->dai_link->ops->startup(substream); in soc_pcm_open()
542 rtd->dai_link->name, ret); in soc_pcm_open()
548 if (rtd->dai_link->dynamic || rtd->dai_link->no_pcm) in soc_pcm_open()
611 if (rtd->dai_link->ops->shutdown) in soc_pcm_open()
612 rtd->dai_link->ops->shutdown(substream); in soc_pcm_open()
717 if (rtd->dai_link->ops->shutdown) in soc_pcm_close()
718 rtd->dai_link->ops->shutdown(substream); in soc_pcm_close()
776 if (rtd->dai_link->ops->prepare) { in soc_pcm_prepare()
777 ret = rtd->dai_link->ops->prepare(substream); in soc_pcm_prepare()
880 if (rtd->dai_link->ops->hw_params) { in soc_pcm_hw_params()
881 ret = rtd->dai_link->ops->hw_params(substream, params); in soc_pcm_hw_params()
986 if (rtd->dai_link->ops->hw_free) in soc_pcm_hw_params()
987 rtd->dai_link->ops->hw_free(substream); in soc_pcm_hw_params()
1030 if (rtd->dai_link->ops->hw_free) in soc_pcm_hw_free()
1031 rtd->dai_link->ops->hw_free(substream); in soc_pcm_hw_free()
1077 if (rtd->dai_link->ops->trigger) { in soc_pcm_trigger()
1078 ret = rtd->dai_link->ops->trigger(substream, cmd); in soc_pcm_trigger()
1171 stream ? "capture" : "playback", fe->dai_link->name, in dpcm_be_connect()
1172 stream ? "<-" : "->", be->dai_link->name); in dpcm_be_connect()
1175 name = kasprintf(GFP_KERNEL, "%s:%s", be->dai_link->name, in dpcm_be_connect()
1207 dpcm->fe->dai_link->name, in dpcm_be_reparent()
1208 stream ? "<-" : "->", dpcm->be->dai_link->name); in dpcm_be_reparent()
1225 dpcm->be->dai_link->name); in dpcm_be_disconnect()
1231 stream ? "capture" : "playback", fe->dai_link->name, in dpcm_be_disconnect()
1232 stream ? "<-" : "->", dpcm->be->dai_link->name); in dpcm_be_disconnect()
1261 if (!be->dai_link->no_pcm) in dpcm_get_be()
1280 if (!be->dai_link->no_pcm) in dpcm_get_be()
1335 if (!rtd->dai_link->no_pcm) in dpcm_end_walk_at_be()
1348 if (!rtd->dai_link->no_pcm) in dpcm_end_walk_at_be()
1411 dpcm->be->dai_link->name, fe->dai_link->name); in dpcm_prune_paths()
1454 if (!be->dai_link->no_pcm) in dpcm_add_paths()
1569 stream ? "capture" : "playback", be->dai_link->name); in dpcm_be_dai_startup()
1642 if (!fe->dai_link->dpcm_merged_format) in dpcm_runtime_merge_format()
1683 if (!fe->dai_link->dpcm_merged_chan) in dpcm_runtime_merge_chan()
1735 if (!fe->dai_link->dpcm_merged_rate) in dpcm_runtime_merge_rate()
1859 if (rtd->dai_link->be_hw_params_fixup) in dpcm_apply_symmetry()
1900 dev_dbg(fe->dev, "ASoC: open FE %s\n", fe->dai_link->name); in dpcm_fe_dai_startup()
1961 be->dai_link->name); in dpcm_be_dai_shutdown()
1981 dev_dbg(fe->dev, "ASoC: close FE %s\n", fe->dai_link->name); in dpcm_fe_dai_shutdown()
2027 be->dai_link->name); in dpcm_be_dai_hw_free()
2045 dev_dbg(fe->dev, "ASoC: hw_free FE %s\n", fe->dai_link->name); in dpcm_fe_dai_hw_free()
2051 fe->dai_link->name); in dpcm_fe_dai_hw_free()
2084 if (be->dai_link->be_hw_params_fixup) { in dpcm_be_dai_hw_params()
2085 ret = be->dai_link->be_hw_params_fixup(be, in dpcm_be_dai_hw_params()
2109 be->dai_link->name); in dpcm_be_dai_hw_params()
2166 fe->dai_link->name, params_rate(params), in dpcm_fe_dai_hw_params()
2189 dpcm->be->dai_link->name, cmd); in dpcm_do_trigger()
2296 enum snd_soc_dpcm_trigger trigger = fe->dai_link->trigger[stream]; in dpcm_fe_dai_do_trigger()
2305 fe->dai_link->name, cmd); in dpcm_fe_dai_do_trigger()
2325 fe->dai_link->name, cmd); in dpcm_fe_dai_do_trigger()
2333 fe->dai_link->name, cmd); in dpcm_fe_dai_do_trigger()
2343 fe->dai_link->name); in dpcm_fe_dai_do_trigger()
2407 be->dai_link->name); in dpcm_be_dai_prepare()
2428 dev_dbg(fe->dev, "ASoC: prepare FE %s\n", fe->dai_link->name); in dpcm_fe_dai_prepare()
2435 fe->dai_link->name); in dpcm_fe_dai_prepare()
2448 fe->dai_link->name); in dpcm_fe_dai_prepare()
2467 enum snd_soc_dpcm_trigger trigger = fe->dai_link->trigger[stream]; in dpcm_run_update_shutdown()
2471 stream ? "capture" : "playback", fe->dai_link->name); in dpcm_run_update_shutdown()
2476 fe->dai_link->name); in dpcm_run_update_shutdown()
2483 fe->dai_link->name); in dpcm_run_update_shutdown()
2509 enum snd_soc_dpcm_trigger trigger = fe->dai_link->trigger[stream]; in dpcm_run_update_startup()
2514 stream ? "capture" : "playback", fe->dai_link->name); in dpcm_run_update_startup()
2554 fe->dai_link->name); in dpcm_run_update_startup()
2563 fe->dai_link->name); in dpcm_run_update_startup()
2623 if (!fe->dai_link->dynamic) in soc_dpcm_fe_runtime_update()
2632 new ? "new" : "old", fe->dai_link->name); in soc_dpcm_fe_runtime_update()
2646 fe->dai_link->name, "playback"); in soc_dpcm_fe_runtime_update()
2677 fe->dai_link->name, "capture"); in soc_dpcm_fe_runtime_update()
2735 if (be->dai_link->ignore_suspend) in soc_dpcm_be_digital_mute()
2742 be->dai_link->name); in soc_dpcm_be_digital_mute()
2770 fe->dai_link->name, stream ? "capture" : "playback"); in dpcm_fe_dai_open()
2832 if (rtd->dai_link->dynamic || rtd->dai_link->no_pcm) { in soc_new_pcm()
2833 playback = rtd->dai_link->dpcm_playback; in soc_new_pcm()
2834 capture = rtd->dai_link->dpcm_capture; in soc_new_pcm()
2837 struct snd_soc_pcm_stream *cpu_capture = rtd->dai_link->params ? in soc_new_pcm()
2839 struct snd_soc_pcm_stream *cpu_playback = rtd->dai_link->params ? in soc_new_pcm()
2855 if (rtd->dai_link->playback_only) { in soc_new_pcm()
2860 if (rtd->dai_link->capture_only) { in soc_new_pcm()
2866 if (rtd->dai_link->params) { in soc_new_pcm()
2868 rtd->dai_link->stream_name); in soc_new_pcm()
2872 } else if (rtd->dai_link->no_pcm) { in soc_new_pcm()
2874 rtd->dai_link->stream_name); in soc_new_pcm()
2879 if (rtd->dai_link->dynamic) in soc_new_pcm()
2881 rtd->dai_link->stream_name); in soc_new_pcm()
2884 rtd->dai_link->stream_name, in soc_new_pcm()
2893 rtd->dai_link->name); in soc_new_pcm()
2899 if (rtd->dai_link->params) in soc_new_pcm()
2905 pcm->nonatomic = rtd->dai_link->nonatomic; in soc_new_pcm()
2909 if (rtd->dai_link->no_pcm || rtd->dai_link->params) { in soc_new_pcm()
2918 if (rtd->dai_link->dynamic) { in soc_new_pcm()
3124 "[%s - %s]\n", fe->dai_link->name, in dpcm_show_state()
3154 "- %s\n", be->dai_link->name); in dpcm_show_state()
3207 if (!rtd->dai_link) in soc_dpcm_debugfs_add()
3210 if (!rtd->dai_link->dynamic) in soc_dpcm_debugfs_add()
3216 rtd->debugfs_dpcm_root = debugfs_create_dir(rtd->dai_link->name, in soc_dpcm_debugfs_add()