Home
last modified time | relevance | path

Searched full:dais (Results 1 – 25 of 112) sorted by relevance

12345

/linux/sound/soc/sdw_utils/
H A Dsoc_sdw_utils.c79 .dais = {
99 .dais = {
119 .dais = {
141 .dais = {
163 .dais = {
208 .dais = {
224 .dais = {
253 .dais = {
269 .dais = {
292 .dais
[all...]
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,q6apm-dai.yaml13 This binding describes the Qualcomm APM DAIs in DSP
17 const: qcom,q6apm-dais
31 dais {
32 compatible = "qcom,q6apm-dais";
H A Daudio-graph-card.yaml31 dais = <&cpu_port_a>;
H A Dqcom,q6usb.yaml50 dais {
H A Dallwinner,sun8i-a33-codec.yaml22 the ADC/DAC and AIF1 (the CPU DAI), not the other two AIFs/DAIs.
H A Dmscc,zl38060.yaml12 Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs.
/linux/drivers/soundwire/
H A Dintel.c959 * does not throw the TRIGGER_SUSPEND. This leaves the DAIs in an unbalanced state. in intel_component_dais_suspend()
961 * and force the DAIs to release their resources. in intel_component_dais_suspend()
999 struct snd_soc_dai_driver *dais, in intel_create_dai() argument
1009 dais[i].name = devm_kasprintf(cdns->dev, GFP_KERNEL, in intel_create_dai()
1012 if (!dais[i].name) in intel_create_dai()
1016 dais[i].playback.channels_min = 1; in intel_create_dai()
1017 dais[i].playback.channels_max = max_ch; in intel_create_dai()
1021 dais[i].capture.channels_min = 1; in intel_create_dai()
1022 dais[i].capture.channels_max = max_ch; in intel_create_dai()
1025 dais[i].ops = &intel_pcm_dai_ops; in intel_create_dai()
[all …]
H A Dqcom.c1382 struct snd_soc_dai_driver *dais; in qcom_swrm_register_dais() local
1387 /* PDM dais are only tested for now */ in qcom_swrm_register_dais()
1388 dais = devm_kcalloc(dev, num_dais, sizeof(*dais), GFP_KERNEL); in qcom_swrm_register_dais()
1389 if (!dais) in qcom_swrm_register_dais()
1393 dais[i].name = devm_kasprintf(dev, GFP_KERNEL, "SDW Pin%d", i); in qcom_swrm_register_dais()
1394 if (!dais[i].name) in qcom_swrm_register_dais()
1398 stream = &dais[i].playback; in qcom_swrm_register_dais()
1400 stream = &dais[i].capture; in qcom_swrm_register_dais()
1407 dais[i].ops = &qcom_swrm_pdm_dai_ops; in qcom_swrm_register_dais()
1408 dais[i].id = i; in qcom_swrm_register_dais()
[all …]
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,apr.yaml174 dais {
175 compatible = "qcom,q6afe-dais";
201 dais {
202 compatible = "qcom,q6apm-dais";
207 compatible = "qcom,q6apm-lpass-dais";
/linux/sound/soc/intel/avs/
H A Dpcm.c1602 struct snd_soc_dai_driver *dais; in avs_component_hda_probe() local
1621 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe()
1623 if (!dais) in avs_component_hda_probe()
1633 memcpy(&dais[i], &hda_cpu_dai, sizeof(*dais)); in avs_component_hda_probe()
1634 dais[i].id = i; in avs_component_hda_probe()
1635 dais[i].name = devm_kasprintf(component->dev, GFP_KERNEL, in avs_component_hda_probe()
1637 if (!dais[i].name) { in avs_component_hda_probe()
1643 dais[ in avs_component_hda_probe()
[all...]
/linux/sound/soc/generic/
H A Daudio-graph-card.c361 of_for_each_phandle(&it, rc, node, "dais", NULL, 0) { in __graph_for_each_link()
417 * In Normal sound case, all DAIs are detected in graph_for_each_link()
503 * dais_num : number of DAIs in graph_get_dais_count()
509 * CPU1 --- Codec1 dais : 7 in graph_get_dais_count()
514 * => 7 DAIs = 4xCPU + 3xCodec in graph_get_dais_count()
519 * CPU1 --- Codec1 dais : 6 in graph_get_dais_count()
524 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count()
529 * CPU1 -/ dais : 6 in graph_get_dais_count()
534 * => 6 DAIs = 4xCPU + 2xCodec in graph_get_dais_count()
539 * CPU1 --- Codec1 dais in graph_get_dais_count()
[all...]
H A Dsimple-card.c477 * In Normal sound case, all DAIs are detected in simple_for_each_link()
632 * dais_num : number of DAIs in simple_get_dais_count()
638 * CPU1 --- Codec1 dais : 7 in simple_get_dais_count()
643 * => 7 DAIs = 4xCPU + 3xCodec in simple_get_dais_count()
648 * CPU1 --- Codec1 dais : 6 in simple_get_dais_count()
653 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count()
658 * CPU1 -/ dais : 6 in simple_get_dais_count()
663 * => 6 DAIs = 4xCPU + 2xCodec in simple_get_dais_count()
668 * CPU1 --- Codec1 dais : 4 in simple_get_dais_count()
672 * => 4 DAIs in simple_get_dais_count()
[all...]
H A Dsimple-card-utils.c917 struct simple_util_dai *dais; in simple_util_init_priv() local
928 * dais (= CPU+Codec) in simple_util_init_priv()
941 dais = devm_kcalloc(dev, dai_num, sizeof(*dais), GFP_KERNEL); in simple_util_init_priv()
943 if (!dais || !dlcs) in simple_util_init_priv()
952 dev_dbg(dev, "link %d, dais %d, ccnf %d\n", in simple_util_init_priv()
957 priv->dais = dais; in simple_util_init_priv()
972 dai_props[i].cpu_dai = dais; in simple_util_init_priv()
975 dais += li->num[i].cpus; in simple_util_init_priv()
989 dai_props[i].codec_dai = dais; in simple_util_init_priv()
992 dais += li->num[i].codecs; in simple_util_init_priv()
/linux/sound/soc/qcom/qdsp6/
H A Dq6apm-lpass-dais.c304 struct snd_soc_dai_driver *dais; in q6apm_lpass_dai_dev_probe() local
318 dais = q6dsp_audio_ports_set_config(dev, &cfg, &num_dais); in q6apm_lpass_dai_dev_probe()
320 return devm_snd_soc_register_component(dev, &q6apm_lpass_dai_component, dais, num_dais); in q6apm_lpass_dai_dev_probe()
325 { .compatible = "qcom,q6apm-lpass-dais" },
333 .name = "q6apm-lpass-dais",
H A Dq6asm-dai.c80 struct snd_soc_dai_driver *dais; member
1262 dev_err(dev, "No dais found in DT\n"); in of_q6asm_parse_dai_data()
1266 pdata->dais = devm_kcalloc(dev, pdata->num_dais, sizeof(*dai_drv), in of_q6asm_parse_dai_data()
1268 if (!pdata->dais) in of_q6asm_parse_dai_data()
1280 dai_drv = &pdata->dais[idx++]; in of_q6asm_parse_dai_data()
1324 pdata->dais, pdata->num_dais); in q6asm_dai_probe()
1329 { .compatible = "qcom,q6asm-dais" },
H A DMakefile17 obj-$(CONFIG_SND_SOC_QDSP6_APM_LPASS_DAI) += q6apm-lpass-dais.o
/linux/sound/soc/
H A Dsoc-core.c213 debugfs_create_file("dais", 0444, snd_soc_debugfs_root, NULL, in snd_soc_debugfs_init()
551 dev_err(dev, "ASoC: it has no CPU or codec DAIs\n"); in soc_new_pcm_runtime()
556 * for rtd->dais in soc_new_pcm_runtime()
558 rtd->dais = devm_kcalloc(dev, dai_link->num_cpus + dai_link->num_codecs, in soc_new_pcm_runtime()
561 if (!rtd->dais) in soc_new_pcm_runtime()
565 * dais = [][][][][][][][][][][][][][][][][][] in soc_new_pcm_runtime()
914 * This function will search all registered components and their DAIs to
928 /* Find CPU DAI from registered DAIs */ in snd_soc_find_dai()
1297 * Get selectable format from each DAIs. in snd_soc_runtime_get_dai_fmt()
1450 * This function updates the DAI link format for all DAIs connected to the DAI
[all …]
H A Dsoc-pcm.c350 * Increments/Decrements the active count for all the DAIs and components
368 /* Increments/Decrements the active count for components without DAIs */ in snd_soc_runtime_action()
628 * Calculates the subset of stream parameters supported by all DAIs
688 * chan min/max cannot be enforced if there are multiple CODEC DAIs in snd_soc_runtime_calc_hw()
889 /* Check that the codec and cpu DAIs are compatible */ in __soc_pcm_open()
1016 /* clear the corresponding DAIs parameters when going to be inactive */ in soc_pcm_hw_clean()
1036 /* now free hw params for the DAIs */ in soc_pcm_hw_clean()
1686 /* only startup BE DAIs that are either sinks or sources to this FE DAI */ in dpcm_be_dai_startup()
1850 * DAIs connected to a single CPU DAI, use CPU DAI's directly in dpcm_runtime_setup_be_chan()
1885 * Skip DAIs whic in dpcm_runtime_setup_be_rate()
[all...]
/linux/sound/soc/sdca/
H A Dsdca_asoc.c84 * required number of ASoC DAIs for the Function. in sdca_asoc_count_component()
1251 * @dais: Array of DAI drivers to be populated. in sdca_asoc_populate_component()
1262 struct snd_soc_dai_driver *dais, in sdca_asoc_populate_component()
1275 stream = &dais[j].playback; in sdca_asoc_populate_component()
1279 stream = &dais[j].capture; in sdca_asoc_populate_component()
1302 dais[j].id = i;
1303 dais[j].name = entity->label;
1304 dais[j].ops = ops;
1337 struct snd_soc_dai_driver *dais; in sdca_asoc_set_constraints()
1358 dais in sdca_asoc_set_constraints()
1170 sdca_asoc_populate_dais(struct device * dev,struct sdca_function_data * function,struct snd_soc_dai_driver * dais,const struct snd_soc_dai_ops * ops) sdca_asoc_populate_dais() argument
1245 struct snd_soc_dai_driver *dais; sdca_asoc_populate_component() local
[all...]
H A Dsdca_class_function.c300 struct snd_soc_dai_driver *dais; in class_function_probe() local
390 &dais, &num_dais, in class_function_probe()
410 ret = devm_snd_soc_register_component(dev, cmp_drv, dais, num_dais); in class_function_probe()
/linux/sound/soc/fsl/
H A Dimx-audmix.c158 num_dai = of_count_phandle_with_args(audmix_np, "dais", NULL); in imx_audmix_probe()
160 dev_err(&pdev->dev, "Need 2 dais to be provided for %s\n", in imx_audmix_probe()
199 ret = of_parse_phandle_with_args(audmix_np, "dais", NULL, 0, in imx_audmix_probe()
202 ret = of_parse_phandle_with_args(audmix_np, "dais", NULL, i, in imx_audmix_probe()
H A Dfsl_qmc_audio.c36 struct qmc_dai *dais; member
363 return qmc_audio->dais + index; in qmc_dai_get_data()
920 qmc_audio->dais = devm_kcalloc(&pdev->dev, qmc_audio->num_dais, in qmc_audio_probe()
921 sizeof(*qmc_audio->dais), in qmc_audio_probe()
923 if (!qmc_audio->dais) in qmc_audio_probe()
936 qmc_audio->dais + i, in qmc_audio_probe()
/linux/arch/arm64/boot/dts/renesas/
H A Dulcb-audio-graph-card2.dtsi22 /delete-property/ dais;
H A Dulcb-kf-audio-graph-card2.dtsi26 /delete-property/ dais;
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588-rock-5b.dtsi19 dais = <&i2s0_8ch_p0>;

12345