Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/fsl/
H A Dfsl_qmc_audio.c31 unsigned int num_dais; member
231 for (i = 0; i < qmc_audio->num_dais; i++) { in qmc_audio_of_xlate_dai_name()
309 if (index > qmc_audio->num_dais) in qmc_dai_get_data()
680 qmc_audio->num_dais = of_get_available_child_count(np); in qmc_audio_probe()
681 if (qmc_audio->num_dais) { in qmc_audio_probe()
682 qmc_audio->dais = devm_kcalloc(&pdev->dev, qmc_audio->num_dais, in qmc_audio_probe()
688 qmc_audio->dai_drivers = devm_kcalloc(&pdev->dev, qmc_audio->num_dais, in qmc_audio_probe()
713 qmc_audio->num_dais); in qmc_audio_probe()
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6apm-lpass-dais.c280 int num_dais; in q6apm_lpass_dai_dev_probe() local
292 dais = q6dsp_audio_ports_set_config(dev, &cfg, &num_dais); in q6apm_lpass_dai_dev_probe()
294 return devm_snd_soc_register_component(dev, &q6apm_lpass_dai_component, dais, num_dais); in q6apm_lpass_dai_dev_probe()
H A Dq6dsp-lpass-ports.h18 int *num_dais);
H A Dq6asm-dai.c79 int num_dais; member
1246 pdata->num_dais = of_get_child_count(dev->of_node); in of_q6asm_parse_dai_data()
1247 if (!pdata->num_dais) { in of_q6asm_parse_dai_data()
1252 pdata->dais = devm_kcalloc(dev, pdata->num_dais, sizeof(*dai_drv), in of_q6asm_parse_dai_data()
1310 pdata->dais, pdata->num_dais); in q6asm_dai_probe()
H A 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()
H A Dq6afe-dai.c1045 int num_dais; in q6afe_dai_dev_probe() local
1059 dais = q6dsp_audio_ports_set_config(dev, &cfg, &num_dais); in q6afe_dai_dev_probe()
1061 return devm_snd_soc_register_component(dev, &q6afe_dai_component, dais, num_dais); in q6afe_dai_dev_probe()
/openbmc/linux/sound/soc/uniphier/
H A Daio-ld11.c315 .num_dais = ARRAY_SIZE(uniphier_aio_dai_ld11),
325 .num_dais = ARRAY_SIZE(uniphier_aio_dai_ld11),
H A Daio-pxs2.c238 .num_dais = ARRAY_SIZE(uniphier_aio_dai_pxs2),
H A Daio.h223 int num_dais; member
H A 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()
/openbmc/linux/sound/soc/samsung/
H A Di2s.c101 int num_dais; member
1172 int num_dais) in i2s_alloc_dais() argument
1180 priv->dai = devm_kcalloc(&priv->pdev->dev, num_dais, in i2s_alloc_dais()
1185 priv->dai_drv = devm_kcalloc(&priv->pdev->dev, num_dais, in i2s_alloc_dais()
1190 for (i = 0; i < num_dais; i++) { in i2s_alloc_dais()
1407 int num_dais, ret; in samsung_i2s_probe() local
1437 num_dais = (priv->quirks & QUIRK_SEC_DAI) ? 2 : 1; in samsung_i2s_probe()
1441 ret = i2s_alloc_dais(priv, i2s_dai_data, num_dais); in samsung_i2s_probe()
1538 priv->dai_drv, num_dais); in samsung_i2s_probe()
/openbmc/linux/sound/soc/tegra/
H A Dtegra210_ahub.h120 unsigned int num_dais; member
H A 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()
/openbmc/linux/drivers/soundwire/
H A Damd_manager.c750 int i, num_dais; in amd_sdw_register_dais() local
753 num_dais = amd_manager->num_dout_ports + amd_manager->num_din_ports; in amd_sdw_register_dais()
754 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in amd_sdw_register_dais()
758 dai_runtime_array = devm_kcalloc(dev, num_dais, in amd_sdw_register_dais()
764 for (i = 0; i < num_dais; i++) { in amd_sdw_register_dais()
784 dais, num_dais); in amd_sdw_register_dais()
H A Dqcom.c1327 int num_dais = ctrl->num_dout_ports + ctrl->num_din_ports; in qcom_swrm_register_dais() local
1334 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in qcom_swrm_register_dais()
1338 for (i = 0; i < num_dais; i++) { in qcom_swrm_register_dais()
1359 dais, num_dais); in qcom_swrm_register_dais()
/openbmc/linux/sound/soc/codecs/
H A Dhdac_hdmi.c1561 struct hdac_hdmi_priv *hdmi, int num_dais) in hdac_hdmi_create_dais() argument
1573 (sizeof(*hdmi_dais) * num_dais), in hdac_hdmi_create_dais()
1629 struct snd_soc_dai_driver **dais, int *num_dais) in hdac_hdmi_parse_and_map_nid() argument
1684 *num_dais = hdmi->num_cvt; in hdac_hdmi_parse_and_map_nid()
2146 int num_dais = 0; in hdac_hdmi_dev_probe() local
2193 ret = hdac_hdmi_parse_and_map_nid(hdev, &hdmi_dais, &num_dais); in hdac_hdmi_dev_probe()
2203 hdmi_dais, num_dais); in hdac_hdmi_dev_probe()
/openbmc/linux/drivers/staging/greybus/
H A Daudio_codec.h148 int num_dais; member
H A Daudio_codec.c821 if (module->num_dais) { in gbaudio_register_module()
824 module->num_dais); in gbaudio_register_module()
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-pcm.c1461 int num_dais = ARRAY_SIZE(skl_platform_dai); in skl_platform_register() local
1484 num_dais += ARRAY_SIZE(skl_fe_dai); in skl_platform_register()
1488 skl->dais, num_dais); in skl_platform_register()
/openbmc/linux/include/linux/greybus/
H A Dgreybus_protocols.h2047 __u8 num_dais; member