Home
last modified time | relevance | path

Searched refs:dai_index (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/sound/soc/sdw_utils/
Dsoc_sdw_utils.c610 struct asoc_sdw_codec_info *asoc_sdw_find_codec_info_dai(const char *dai_name, int *dai_index) in asoc_sdw_find_codec_info_dai() argument
617 *dai_index = j; in asoc_sdw_find_codec_info_dai()
632 int dai_index; in asoc_sdw_rtd_init() local
637 codec_info = asoc_sdw_find_codec_info_dai(dai->name, &dai_index); in asoc_sdw_rtd_init()
647 if (codec_info->dais[dai_index].rtd_init_done) in asoc_sdw_rtd_init()
658 if (codec_info->dais[dai_index].controls) { in asoc_sdw_rtd_init()
659 ret = snd_soc_add_card_controls(card, codec_info->dais[dai_index].controls, in asoc_sdw_rtd_init()
660 codec_info->dais[dai_index].num_controls); in asoc_sdw_rtd_init()
667 if (codec_info->dais[dai_index].widgets) { in asoc_sdw_rtd_init()
669 codec_info->dais[dai_index].widgets, in asoc_sdw_rtd_init()
[all …]
/linux-6.12.1/sound/soc/intel/boards/
Dsof_wm8804.c213 int dai_index = 0; in sof_wm8804_probe() local
262 dai_index = i; in sof_wm8804_probe()
272 dailink[dai_index].codecs->name = codec_name; in sof_wm8804_probe()
Dbytcht_cx2072x.c235 int dai_index = 0; in snd_byt_cht_cx2072x_probe() local
247 dai_index = i; in snd_byt_cht_cx2072x_probe()
257 byt_cht_cx2072x_dais[dai_index].codecs->name = codec_name; in snd_byt_cht_cx2072x_probe()
Dbytcht_da7213.c238 int dai_index = 0; in bytcht_da7213_probe() local
250 dai_index = i; in bytcht_da7213_probe()
260 dailink[dai_index].codecs->name = codec_name; in bytcht_da7213_probe()
Dcht_bsw_rt5672.c458 int dai_index = 0; in snd_cht_mc_probe() local
471 dai_index = i; in snd_cht_mc_probe()
481 cht_dailink[dai_index].codecs->name = drv->codec_name; in snd_cht_mc_probe()
491 cht_dailink[dai_index].cpus->dai_name = "ssp0-port"; in snd_cht_mc_probe()
Dcht_bsw_rt5645.c540 int dai_index = 0; in snd_cht_mc_probe() local
575 dai_index = i; in snd_cht_mc_probe()
584 cht_dailink[dai_index].codecs->name = cht_rt5645_codec_name; in snd_cht_mc_probe()
661 cht_dailink[dai_index].codecs->dai_name = "rt5645-aif2"; in snd_cht_mc_probe()
665 cht_dailink[dai_index].cpus->dai_name = "ssp0-port"; in snd_cht_mc_probe()
Dbytcht_es8316.c539 int dai_index = 0; in snd_byt_cht_es8316_mc_probe() local
552 dai_index = i; in snd_byt_cht_es8316_mc_probe()
562 byt_cht_es8316_dais[dai_index].codecs->name = codec_name; in snd_byt_cht_es8316_mc_probe()
611 byt_cht_es8316_dais[dai_index].cpus->dai_name = "ssp0-port"; in snd_byt_cht_es8316_mc_probe()
Dbytcr_rt5651.c900 int dai_index = 0; in snd_byt_rt5651_mc_probe() local
916 dai_index = i; in snd_byt_rt5651_mc_probe()
926 byt_rt5651_dais[dai_index].codecs->name = byt_rt5651_codec_name; in snd_byt_rt5651_mc_probe()
1054 byt_rt5651_dais[dai_index].codecs->dai_name = "rt5651-aif2"; in snd_byt_rt5651_mc_probe()
1058 byt_rt5651_dais[dai_index].cpus->dai_name = "ssp0-port"; in snd_byt_rt5651_mc_probe()
Dbytcr_wm5102.c533 int dai_index = 0; in snd_byt_wm5102_mc_probe() local
611 dai_index = i; in snd_byt_wm5102_mc_probe()
625 byt_wm5102_dais[dai_index].cpus->dai_name = "ssp2-port"; in snd_byt_wm5102_mc_probe()
Dbytcr_rt5640.c1684 int dai_index = 0; in snd_byt_rt5640_mc_probe() local
1701 dai_index = i; in snd_byt_rt5640_mc_probe()
1711 byt_rt5640_dais[dai_index].codecs->name = byt_rt5640_codec_name; in snd_byt_rt5640_mc_probe()
1844 byt_rt5640_dais[dai_index].codecs->dai_name = "rt5640-aif2"; in snd_byt_rt5640_mc_probe()
1852 byt_rt5640_dais[dai_index].cpus->dai_name = "ssp0-port"; in snd_byt_rt5640_mc_probe()
/linux-6.12.1/sound/soc/samsung/
Dtm2_wm5110.c577 unsigned int dai_index = 0; /* WM5110 */ in tm2_probe() local
583 dai_index = 1; /* HDMI */ in tm2_probe()
585 dai_link->codecs->of_node = codec_dai_node[dai_index]; in tm2_probe()
586 dai_link->cpus->of_node = cpu_dai_node[dai_index]; in tm2_probe()
587 dai_link->platforms->of_node = cpu_dai_node[dai_index]; in tm2_probe()
/linux-6.12.1/sound/soc/sof/
Dipc3-topology.c84 offsetof(struct sof_ipc_comp_dai, dai_index)},
94 offsetof(struct sof_ipc_dai_config, dai_index)},
1096 config->dai_index, config->format, in sof_link_sai_load()
1101 dev_err(scomp->dev, "Invalid channel count for SAI%d\n", config->dai_index); in sof_link_sai_load()
1146 config->dai_index, config->format, in sof_link_esai_load()
1151 dev_err(scomp->dev, "Invalid channel count for ESAI%d\n", config->dai_index); in sof_link_esai_load()
1184 config->dai_index, config->micfil.pdm_ch, config->micfil.pdm_rate); in sof_link_micfil_load()
1215 config->dai_index, config->acpdmic.pdm_ch, in sof_link_acp_dmic_load()
1248 config->dai_index, config->acpbt.tdm_slots, in sof_link_acp_bt_load()
1282 config->dai_index, config->acpsp.tdm_slots, in sof_link_acp_sp_load()
[all …]
Dipc4-topology.c120 offsetof(struct sof_ipc4_copier, dai_index)},
629 node_type, ipc4_copier->dai_type, ipc4_copier->dai_index); in sof_ipc4_widget_setup_comp_dai()
692 SOF_IPC4_NODE_INDEX_INTEL_SSP(ipc4_copier->dai_index); in sof_ipc4_widget_setup_comp_dai()
697 SOF_IPC4_NODE_INDEX_INTEL_DMIC(ipc4_copier->dai_index); in sof_ipc4_widget_setup_comp_dai()
1441 struct snd_pcm_hw_params *params, u32 dai_index, in snd_sof_get_nhlt_endpoint_data() argument
1484 dai_index); in snd_sof_get_nhlt_endpoint_data()
1493 dai_index, nhlt_type, dir, dev_type); in snd_sof_get_nhlt_endpoint_data()
1496 cfg = intel_nhlt_get_endpoint_blob(sdev->dev, ipc4_data->nhlt, dai_index, nhlt_type, in snd_sof_get_nhlt_endpoint_data()
1525 dai_index, nhlt_type, in snd_sof_get_nhlt_endpoint_data()
1568 struct snd_pcm_hw_params *params, u32 dai_index, in snd_sof_get_nhlt_endpoint_data() argument
[all …]
Dipc4-topology.h316 int dai_index; member
Dsof-audio.h93 int dai_index; member
/linux-6.12.1/include/sound/sof/
Ddai.h99 uint32_t dai_index; /**< index of this type dai */ member
Dtopology.h131 uint32_t dai_index; /**< index of this type dai */ member
/linux-6.12.1/include/sound/
Dsoc_sdw_utils.h139 int *dai_index);
/linux-6.12.1/sound/soc/sof/intel/
Dhda-dai.c517 data.dai_index = (link_id << 8) | cpu_dai->id; in sdw_hda_dai_hw_params()
562 dma_config->dma_stream_channel_map.mapping[0].device = data.dai_index; in sdw_hda_dai_hw_params()
Dhda.c66 data.dai_index = (params_data->link_id << 8) | d->id; in sdw_params_stream()
86 ipc4_copier->dai_index = 0; in sdw_params_free()