Home
last modified time | relevance | path

Searched refs:num_dais (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/sound/soc/fsl/
Dfsl_qmc_audio.c41 unsigned int num_dais; member
325 for (i = 0; i < qmc_audio->num_dais; i++) { in qmc_audio_of_xlate_dai_name()
404 if (index > qmc_audio->num_dais) in qmc_dai_get_data()
934 qmc_audio->num_dais = of_get_available_child_count(np); in qmc_audio_probe()
935 if (qmc_audio->num_dais) { in qmc_audio_probe()
936 qmc_audio->dais = devm_kcalloc(&pdev->dev, qmc_audio->num_dais, in qmc_audio_probe()
942 qmc_audio->dai_drivers = devm_kcalloc(&pdev->dev, qmc_audio->num_dais, in qmc_audio_probe()
966 qmc_audio->num_dais); in qmc_audio_probe()
/linux-6.12.1/sound/soc/sdw_utils/
Dsoc_sdw_bridge_cs35l56.c104 int *num_dais, int *num_devs) in asoc_sdw_bridge_cs35l56_count_sidecar() argument
109 (*num_dais)++; in asoc_sdw_bridge_cs35l56_count_sidecar()
Dsoc_sdw_utils.c1058 int num_dais = 0; in asoc_sdw_parse_sdw_endpoints() local
1098 ret = codec_info->count_sidecar(card, &num_dais, num_devs); in asoc_sdw_parse_sdw_endpoints()
1145 num_dais += !soc_dai->num_devs[stream]; in asoc_sdw_parse_sdw_endpoints()
1165 return num_dais; in asoc_sdw_parse_sdw_endpoints()
/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6apm-lpass-dais.c286 int num_dais; in q6apm_lpass_dai_dev_probe() local
298 dais = q6dsp_audio_ports_set_config(dev, &cfg, &num_dais); in q6apm_lpass_dai_dev_probe()
300 return devm_snd_soc_register_component(dev, &q6apm_lpass_dai_component, dais, num_dais); in q6apm_lpass_dai_dev_probe()
Dq6dsp-lpass-ports.h18 int *num_dais);
Dq6asm-dai.c80 int num_dais; member
1236 pdata->num_dais = of_get_child_count(dev->of_node); in of_q6asm_parse_dai_data()
1237 if (!pdata->num_dais) { in of_q6asm_parse_dai_data()
1242 pdata->dais = devm_kcalloc(dev, pdata->num_dais, sizeof(*dai_drv), in of_q6asm_parse_dai_data()
1300 pdata->dais, pdata->num_dais); in q6asm_dai_probe()
Dq6dsp-lpass-ports.c601 int *num_dais) in q6dsp_audio_ports_set_config() argument
632 *num_dais = ARRAY_SIZE(q6dsp_audio_fe_dais); in q6dsp_audio_ports_set_config()
Dq6afe-dai.c1050 int num_dais; in q6afe_dai_dev_probe() local
1064 dais = q6dsp_audio_ports_set_config(dev, &cfg, &num_dais); in q6afe_dai_dev_probe()
1066 return devm_snd_soc_register_component(dev, &q6afe_dai_component, dais, num_dais); in q6afe_dai_dev_probe()
/linux-6.12.1/include/sound/
Dsoc_sdw_utils.h78 int *num_dais, int *num_devs);
211 int *num_dais, int *num_devs);
/linux-6.12.1/sound/soc/uniphier/
Daio-ld11.c315 .num_dais = ARRAY_SIZE(uniphier_aio_dai_ld11),
325 .num_dais = ARRAY_SIZE(uniphier_aio_dai_ld11),
Daio-pxs2.c238 .num_dais = ARRAY_SIZE(uniphier_aio_dai_pxs2),
Daio.h223 int num_dais; member
Daio-cpu.c756 chip->num_aios = chip->chip_spec->num_dais; in uniphier_aio_probe()
801 chip->chip_spec->num_dais); in uniphier_aio_probe()
/linux-6.12.1/sound/soc/samsung/
Di2s.c99 int num_dais; member
1170 int num_dais) in i2s_alloc_dais() argument
1178 priv->dai = devm_kcalloc(&priv->pdev->dev, num_dais, in i2s_alloc_dais()
1183 priv->dai_drv = devm_kcalloc(&priv->pdev->dev, num_dais, in i2s_alloc_dais()
1188 for (i = 0; i < num_dais; i++) { in i2s_alloc_dais()
1405 int num_dais, ret; in samsung_i2s_probe() local
1435 num_dais = (priv->quirks & QUIRK_SEC_DAI) ? 2 : 1; in samsung_i2s_probe()
1439 ret = i2s_alloc_dais(priv, i2s_dai_data, num_dais); in samsung_i2s_probe()
1536 priv->dai_drv, num_dais); in samsung_i2s_probe()
/linux-6.12.1/drivers/soundwire/
Damd_manager.c731 int i, num_dais; in amd_sdw_register_dais() local
734 num_dais = amd_manager->num_dout_ports + amd_manager->num_din_ports; in amd_sdw_register_dais()
735 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in amd_sdw_register_dais()
739 dai_runtime_array = devm_kcalloc(dev, num_dais, in amd_sdw_register_dais()
745 for (i = 0; i < num_dais; i++) { in amd_sdw_register_dais()
765 dais, num_dais); in amd_sdw_register_dais()
Dqcom.c1317 int num_dais = ctrl->num_dout_ports + ctrl->num_din_ports; in qcom_swrm_register_dais() local
1324 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in qcom_swrm_register_dais()
1328 for (i = 0; i < num_dais; i++) { in qcom_swrm_register_dais()
1349 dais, num_dais); in qcom_swrm_register_dais()
/linux-6.12.1/sound/soc/tegra/
Dtegra210_ahub.h120 unsigned int num_dais; member
Dtegra210_ahub.c1281 .num_dais = ARRAY_SIZE(tegra210_ahub_dais),
1293 .num_dais = ARRAY_SIZE(tegra186_ahub_dais),
1305 .num_dais = ARRAY_SIZE(tegra186_ahub_dais),
1387 ahub->soc_data->num_dais); in tegra_ahub_probe()
/linux-6.12.1/sound/soc/codecs/
Dhdac_hdmi.c1564 struct hdac_hdmi_priv *hdmi, int num_dais) in hdac_hdmi_create_dais() argument
1576 (sizeof(*hdmi_dais) * num_dais), in hdac_hdmi_create_dais()
1632 struct snd_soc_dai_driver **dais, int *num_dais) in hdac_hdmi_parse_and_map_nid() argument
1687 *num_dais = hdmi->num_cvt; in hdac_hdmi_parse_and_map_nid()
2148 int num_dais = 0; in hdac_hdmi_dev_probe() local
2195 ret = hdac_hdmi_parse_and_map_nid(hdev, &hdmi_dais, &num_dais); in hdac_hdmi_dev_probe()
2205 hdmi_dais, num_dais); in hdac_hdmi_dev_probe()
/linux-6.12.1/drivers/staging/greybus/
Daudio_codec.h148 int num_dais; member
Daudio_codec.c821 if (module->num_dais) { in gbaudio_register_module()
824 module->num_dais); in gbaudio_register_module()
/linux-6.12.1/include/linux/greybus/
Dgreybus_protocols.h2043 __u8 num_dais; member