/kernel/linux/linux-5.10/sound/soc/xilinx/ |
D | xlnx_i2s.c | 99 struct snd_soc_dai_driver *dai_drv; in xlnx_i2s_probe() local 105 dai_drv = devm_kzalloc(&pdev->dev, sizeof(*dai_drv), GFP_KERNEL); in xlnx_i2s_probe() 106 if (!dai_drv) in xlnx_i2s_probe() 137 dai_drv->name = "xlnx_i2s_playback"; in xlnx_i2s_probe() 138 dai_drv->playback.stream_name = "Playback"; in xlnx_i2s_probe() 139 dai_drv->playback.formats = format; in xlnx_i2s_probe() 140 dai_drv->playback.channels_min = ch; in xlnx_i2s_probe() 141 dai_drv->playback.channels_max = ch; in xlnx_i2s_probe() 142 dai_drv->playback.rates = SNDRV_PCM_RATE_8000_192000; in xlnx_i2s_probe() 143 dai_drv->ops = &xlnx_i2s_dai_ops; in xlnx_i2s_probe() [all …]
|
D | xlnx_spdif.c | 241 struct snd_soc_dai_driver *dai_drv; in xlnx_spdif_probe() local 274 dai_drv = &xlnx_spdif_tx_dai; in xlnx_spdif_probe() 292 dai_drv = &xlnx_spdif_rx_dai; in xlnx_spdif_probe() 304 dai_drv, 1); in xlnx_spdif_probe() 311 dev_info(dev, "%s DAI registered\n", dai_drv->name); in xlnx_spdif_probe()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | dmic.c | 147 struct snd_soc_dai_driver *dai_drv = &dmic_dai; in dmic_dev_probe() local 158 dai_drv = devm_kzalloc(&pdev->dev, sizeof(*dai_drv), GFP_KERNEL); in dmic_dev_probe() 159 if (!dai_drv) in dmic_dev_probe() 162 memcpy(dai_drv, &dmic_dai, sizeof(*dai_drv)); in dmic_dev_probe() 163 dai_drv->capture.channels_max = chans; in dmic_dev_probe() 168 &soc_dmic, dai_drv, 1); in dmic_dev_probe()
|
D | es7134.c | 23 struct snd_soc_dai_driver *dai_drv; member 187 .dai_drv = &es7134_dai, 265 .dai_drv = &es7154_dai, 292 priv->chip->dai_drv, 1); in es7134_probe()
|
D | pcm3168a.c | 68 struct snd_soc_dai_driver dai_drv[2]; member 795 memcpy(pcm3168a->dai_drv, pcm3168a_dais, sizeof(pcm3168a->dai_drv)); in pcm3168a_probe() 797 pcm3168a->dai_drv, in pcm3168a_probe() 798 ARRAY_SIZE(pcm3168a->dai_drv)); in pcm3168a_probe()
|
D | adau1761.c | 906 struct snd_soc_dai_driver *dai_drv; in adau1761_probe() local 911 dai_drv = &adau1361_dai_driver; in adau1761_probe() 914 dai_drv = &adau1761_dai_driver; in adau1761_probe() 927 dai_drv, 1); in adau1761_probe()
|
D | ak4458.c | 37 struct snd_soc_dai_driver *dai_drv; member 731 .dai_drv = &ak4458_dai, 737 .dai_drv = &ak4497_dai, 791 ak4458->drvdata->dai_drv, 1); in ak4458_i2c_probe()
|
/kernel/linux/linux-5.10/sound/soc/ |
D | soc-devres.c | 27 struct snd_soc_dai_driver *dai_drv, in devm_snd_soc_register_dai() argument 37 dai = snd_soc_register_dai(component, dai_drv, legacy_dai_naming); in devm_snd_soc_register_dai() 68 struct snd_soc_dai_driver *dai_drv, int num_dai) in devm_snd_soc_register_component() argument 77 ret = snd_soc_register_component(dev, cmpnt_drv, dai_drv, num_dai); in devm_snd_soc_register_component()
|
D | soc-topology.c | 297 struct snd_soc_dai_driver *dai_drv, in soc_tplg_dai_load() argument 301 return tplg->ops->dai_load(tplg->comp, tplg->index, dai_drv, in soc_tplg_dai_load() 507 struct snd_soc_dai_driver *dai_drv = in remove_dai() local 518 if (dai->driver == dai_drv) in remove_dai() 521 kfree(dai_drv->playback.stream_name); in remove_dai() 522 kfree(dai_drv->capture.stream_name); in remove_dai() 523 kfree(dai_drv->name); in remove_dai() 525 kfree(dai_drv); in remove_dai() 1806 static void set_dai_flags(struct snd_soc_dai_driver *dai_drv, in set_dai_flags() argument 1810 dai_drv->symmetric_rates = in set_dai_flags() [all …]
|
D | soc-core.c | 2270 struct snd_soc_dai_driver *dai_drv) in fmt_multiple_name() argument 2272 if (dai_drv->name == NULL) { in fmt_multiple_name() 2279 return devm_kstrdup(dev, dai_drv->name, GFP_KERNEL); in fmt_multiple_name() 2302 struct snd_soc_dai_driver *dai_drv, in snd_soc_register_dai() argument 2325 (dai_drv->id == 0 || dai_drv->name == NULL)) { in snd_soc_register_dai() 2328 dai->name = fmt_multiple_name(dev, dai_drv); in snd_soc_register_dai() 2329 if (dai_drv->id) in snd_soc_register_dai() 2330 dai->id = dai_drv->id; in snd_soc_register_dai() 2339 dai->driver = dai_drv; in snd_soc_register_dai() 2370 struct snd_soc_dai_driver *dai_drv, in snd_soc_register_dais() argument [all …]
|
/kernel/linux/linux-5.10/sound/soc/samsung/ |
D | i2s.c | 96 struct snd_soc_dai_driver *dai_drv; member 1158 struct snd_soc_dai_driver *dai_drv; in i2s_alloc_dais() local 1167 priv->dai_drv = devm_kcalloc(&priv->pdev->dev, num_dais, in i2s_alloc_dais() 1168 sizeof(*dai_drv), GFP_KERNEL); in i2s_alloc_dais() 1169 if (!priv->dai_drv) in i2s_alloc_dais() 1173 dai_drv = &priv->dai_drv[i]; in i2s_alloc_dais() 1175 dai_drv->probe = samsung_i2s_dai_probe; in i2s_alloc_dais() 1176 dai_drv->remove = samsung_i2s_dai_remove; in i2s_alloc_dais() 1178 dai_drv->symmetric_rates = 1; in i2s_alloc_dais() 1179 dai_drv->ops = &samsung_i2s_dai_ops; in i2s_alloc_dais() [all …]
|
D | s3c-i2s-v2.h | 106 struct snd_soc_dai_driver *dai_drv);
|
D | s3c-i2s-v2.c | 660 struct snd_soc_dai_driver *dai_drv) in s3c_i2sv2_register_component() argument 662 struct snd_soc_dai_ops *ops = (struct snd_soc_dai_ops *)dai_drv->ops; in s3c_i2sv2_register_component() 675 return devm_snd_soc_register_component(dev, cmp_drv, dai_drv, 1); in s3c_i2sv2_register_component()
|
/kernel/linux/linux-5.10/sound/soc/meson/ |
D | axg-tdm-interface.c | 495 struct snd_soc_dai_driver *dai_drv; in axg_tdm_iface_probe() local 509 dai_drv = devm_kcalloc(dev, ARRAY_SIZE(axg_tdm_iface_dai_drv), in axg_tdm_iface_probe() 510 sizeof(*dai_drv), GFP_KERNEL); in axg_tdm_iface_probe() 511 if (!dai_drv) in axg_tdm_iface_probe() 515 memcpy(&dai_drv[i], &axg_tdm_iface_dai_drv[i], in axg_tdm_iface_probe() 516 sizeof(*dai_drv)); in axg_tdm_iface_probe() 555 &axg_tdm_iface_component_drv, dai_drv, in axg_tdm_iface_probe()
|
D | axg-spdifin.c | 455 struct snd_soc_dai_driver *dai_drv; in axg_spdifin_probe() local 497 dai_drv = axg_spdifin_get_dai_drv(dev, priv); in axg_spdifin_probe() 498 if (IS_ERR(dai_drv)) { in axg_spdifin_probe() 500 PTR_ERR(dai_drv)); in axg_spdifin_probe() 501 return PTR_ERR(dai_drv); in axg_spdifin_probe() 505 dai_drv, 1); in axg_spdifin_probe()
|
D | axg-toddr.c | 190 .dai_drv = &axg_toddr_dai_drv 250 .dai_drv = &g12a_toddr_dai_drv 320 .dai_drv = &g12a_toddr_dai_drv
|
D | axg-frddr.c | 155 .dai_drv = &axg_frddr_dai_drv 279 .dai_drv = &g12a_frddr_dai_drv 349 .dai_drv = &g12a_frddr_dai_drv
|
D | axg-fifo.h | 75 struct snd_soc_dai_driver *dai_drv; member
|
/kernel/linux/linux-5.10/sound/soc/ti/ |
D | omap-hdmi.c | 313 struct snd_soc_dai_driver *dai_drv; in omap_hdmi_audio_probe() local 335 dai_drv = &omap4_hdmi_dai; in omap_hdmi_audio_probe() 338 dai_drv = &omap5_hdmi_dai; in omap_hdmi_audio_probe() 344 dai_drv, 1); in omap_hdmi_audio_probe()
|
/kernel/linux/linux-5.10/sound/soc/au1x/ |
D | psc-i2s.c | 336 memcpy(&wd->dai_drv, &au1xpsc_i2s_dai_template, in au1xpsc_i2s_drvprobe() 338 wd->dai_drv.name = dev_name(&pdev->dev); in au1xpsc_i2s_drvprobe() 343 &au1xpsc_i2s_component, &wd->dai_drv, 1); in au1xpsc_i2s_drvprobe()
|
D | psc-ac97.c | 404 memcpy(&wd->dai_drv, &au1xpsc_ac97_dai_template, in au1xpsc_ac97_drvprobe() 406 wd->dai_drv.name = dev_name(&pdev->dev); in au1xpsc_ac97_drvprobe() 415 &wd->dai_drv, 1); in au1xpsc_ac97_drvprobe()
|
D | psc.h | 18 struct snd_soc_dai_driver dai_drv; member
|
/kernel/linux/linux-5.10/sound/soc/stm/ |
D | stm32_adfsdm.c | 29 struct snd_soc_dai_driver dai_drv; member 322 priv->dai_drv = stm32_adfsdm_dai; in stm32_adfsdm_probe() 329 &priv->dai_drv, 1); in stm32_adfsdm_probe()
|
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
D | q6asm-dai.c | 1292 struct snd_soc_dai_driver *dai_drv; in of_q6asm_parse_dai_data() local 1304 pdata->dais = devm_kcalloc(dev, pdata->num_dais, sizeof(*dai_drv), in of_q6asm_parse_dai_data() 1318 dai_drv = &pdata->dais[idx++]; in of_q6asm_parse_dai_data() 1319 *dai_drv = q6asm_fe_dais_template[id]; in of_q6asm_parse_dai_data() 1326 dai_drv->capture = empty_stream; in of_q6asm_parse_dai_data() 1328 dai_drv->playback = empty_stream; in of_q6asm_parse_dai_data() 1331 dai_drv->compress_new = snd_soc_new_compress; in of_q6asm_parse_dai_data()
|
/kernel/linux/linux-5.10/sound/soc/tegra/ |
D | tegra210_ahub.c | 541 .dai_drv = tegra210_ahub_dais, 553 .dai_drv = tegra186_ahub_dais, 634 ahub->soc_data->dai_drv, in tegra_ahub_probe()
|