Home
last modified time | relevance | path

Searched refs:dai_runtime (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/soundwire/
Dintel_ace2x.c246 struct sdw_cdns_dai_runtime *dai_runtime; in intel_hw_params() local
253 dai_runtime = cdns->dai_runtime_array[dai->id]; in intel_hw_params()
254 if (!dai_runtime) in intel_hw_params()
275 dai_runtime->paused = false; in intel_hw_params()
276 dai_runtime->suspended = false; in intel_hw_params()
277 dai_runtime->pdi = pdi; in intel_hw_params()
289 sconfig.type = dai_runtime->stream_type; in intel_hw_params()
304 pconfig, 1, dai_runtime->stream); in intel_hw_params()
318 struct sdw_cdns_dai_runtime *dai_runtime; in intel_prepare() local
322 dai_runtime = cdns->dai_runtime_array[dai->id]; in intel_prepare()
[all …]
Dintel.c677 struct sdw_cdns_dai_runtime *dai_runtime; in intel_hw_params() local
684 dai_runtime = cdns->dai_runtime_array[dai->id]; in intel_hw_params()
685 if (!dai_runtime) in intel_hw_params()
707 dai_runtime->paused = false; in intel_hw_params()
708 dai_runtime->suspended = false; in intel_hw_params()
709 dai_runtime->pdi = pdi; in intel_hw_params()
721 sconfig.type = dai_runtime->stream_type; in intel_hw_params()
736 pconfig, 1, dai_runtime->stream); in intel_hw_params()
750 struct sdw_cdns_dai_runtime *dai_runtime; in intel_prepare() local
754 dai_runtime = cdns->dai_runtime_array[dai->id]; in intel_prepare()
[all …]
Damd_manager.c607 struct sdw_amd_dai_runtime *dai_runtime; in amd_sdw_hw_params() local
613 dai_runtime = amd_manager->dai_runtime_array[dai->id]; in amd_sdw_hw_params()
614 if (!dai_runtime) in amd_sdw_hw_params()
627 sconfig.type = dai_runtime->stream_type; in amd_sdw_hw_params()
641 pconfig, 1, dai_runtime->stream); in amd_sdw_hw_params()
653 struct sdw_amd_dai_runtime *dai_runtime; in amd_sdw_hw_free() local
656 dai_runtime = amd_manager->dai_runtime_array[dai->id]; in amd_sdw_hw_free()
657 if (!dai_runtime) in amd_sdw_hw_free()
660 ret = sdw_stream_remove_master(&amd_manager->bus, dai_runtime->stream); in amd_sdw_hw_free()
663 dai_runtime->stream->name, ret); in amd_sdw_hw_free()
[all …]
Dcadence_master.c1757 struct sdw_cdns_dai_runtime *dai_runtime; in cdns_set_sdw_stream() local
1759 dai_runtime = cdns->dai_runtime_array[dai->id]; in cdns_set_sdw_stream()
1763 if (dai_runtime) { in cdns_set_sdw_stream()
1771 dai_runtime = kzalloc(sizeof(*dai_runtime), GFP_KERNEL); in cdns_set_sdw_stream()
1772 if (!dai_runtime) in cdns_set_sdw_stream()
1775 dai_runtime->stream_type = SDW_STREAM_PCM; in cdns_set_sdw_stream()
1777 dai_runtime->bus = &cdns->bus; in cdns_set_sdw_stream()
1778 dai_runtime->link_id = cdns->instance; in cdns_set_sdw_stream()
1780 dai_runtime->stream = stream; in cdns_set_sdw_stream()
1781 dai_runtime->direction = direction; in cdns_set_sdw_stream()
[all …]