/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()
|
/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 | ak4458.c | 25 struct snd_soc_dai_driver *dai_drv; member 650 .dai_drv = &ak4458_dai, 655 .dai_drv = &ak4497_dai, 695 drvdata->dai_drv, 1); in ak4458_i2c_probe()
|
D | adau1761.c | 777 struct snd_soc_dai_driver *dai_drv; in adau1761_probe() local 782 dai_drv = &adau1361_dai_driver; in adau1761_probe() 785 dai_drv = &adau1761_dai_driver; in adau1761_probe() 798 dai_drv, 1); in adau1761_probe()
|
D | hdac_hdmi.c | 144 struct snd_soc_dai_driver *dai_drv; member 1078 struct snd_soc_dai_driver *dai_drv = hdmi->dai_drv; in create_fill_widget_route_map() local 1099 widget_name, dai_drv[i].playback.stream_name, NULL, 0, in create_fill_widget_route_map() 1494 hdmi->dai_drv = hdmi_dais; in hdac_hdmi_create_dais()
|
/sound/soc/samsung/ |
D | i2s.c | 96 struct snd_soc_dai_driver *dai_drv; member 1155 struct snd_soc_dai_driver *dai_drv; in i2s_alloc_dais() local 1164 priv->dai_drv = devm_kcalloc(&priv->pdev->dev, num_dais, in i2s_alloc_dais() 1165 sizeof(*dai_drv), GFP_KERNEL); in i2s_alloc_dais() 1166 if (!priv->dai_drv) in i2s_alloc_dais() 1170 dai_drv = &priv->dai_drv[i]; in i2s_alloc_dais() 1172 dai_drv->probe = samsung_i2s_dai_probe; in i2s_alloc_dais() 1173 dai_drv->remove = samsung_i2s_dai_remove; in i2s_alloc_dais() 1174 dai_drv->suspend = i2s_suspend; in i2s_alloc_dais() 1175 dai_drv->resume = i2s_resume; in i2s_alloc_dais() [all …]
|
D | s3c-i2s-v2.c | 715 struct snd_soc_dai_driver *dai_drv) in s3c_i2sv2_register_component() argument 717 struct snd_soc_dai_ops *ops = (struct snd_soc_dai_ops *)dai_drv->ops; in s3c_i2sv2_register_component() 730 dai_drv->suspend = s3c2412_i2s_suspend; in s3c_i2sv2_register_component() 731 dai_drv->resume = s3c2412_i2s_resume; in s3c_i2sv2_register_component() 733 return devm_snd_soc_register_component(dev, cmp_drv, dai_drv, 1); in s3c_i2sv2_register_component()
|
D | s3c-i2s-v2.h | 107 struct snd_soc_dai_driver *dai_drv);
|
/sound/soc/meson/ |
D | axg-tdm-interface.c | 475 struct snd_soc_dai_driver *dai_drv; in axg_tdm_iface_probe() local 489 dai_drv = devm_kcalloc(dev, ARRAY_SIZE(axg_tdm_iface_dai_drv), in axg_tdm_iface_probe() 490 sizeof(*dai_drv), GFP_KERNEL); in axg_tdm_iface_probe() 491 if (!dai_drv) in axg_tdm_iface_probe() 495 memcpy(&dai_drv[i], &axg_tdm_iface_dai_drv[i], in axg_tdm_iface_probe() 496 sizeof(*dai_drv)); in axg_tdm_iface_probe() 535 &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 | 189 .dai_drv = &axg_toddr_dai_drv 222 .dai_drv = &g12a_toddr_dai_drv 286 .dai_drv = &g12a_toddr_dai_drv
|
D | axg-frddr.c | 157 .dai_drv = &axg_frddr_dai_drv 275 .dai_drv = &g12a_frddr_dai_drv 339 .dai_drv = &g12a_frddr_dai_drv
|
D | axg-fifo.h | 75 struct snd_soc_dai_driver *dai_drv; member
|
/sound/soc/ |
D | soc-topology.c | 307 struct snd_soc_dai_driver *dai_drv, in soc_tplg_dai_load() argument 311 return tplg->ops->dai_load(tplg->comp, tplg->index, dai_drv, in soc_tplg_dai_load() 517 struct snd_soc_dai_driver *dai_drv = in remove_dai() local 528 if (dai->driver == dai_drv) in remove_dai() 531 kfree(dai_drv->playback.stream_name); in remove_dai() 532 kfree(dai_drv->capture.stream_name); in remove_dai() 533 kfree(dai_drv->name); in remove_dai() 535 kfree(dai_drv); in remove_dai() 1779 static void set_dai_flags(struct snd_soc_dai_driver *dai_drv, in set_dai_flags() argument 1783 dai_drv->symmetric_rates = in set_dai_flags() [all …]
|
D | soc-devres.c | 29 struct snd_soc_dai_driver *dai_drv, int num_dai) in devm_snd_soc_register_component() argument 38 ret = snd_soc_register_component(dev, cmpnt_drv, dai_drv, num_dai); in devm_snd_soc_register_component()
|
D | soc-core.c | 2501 struct snd_soc_dai_driver *dai_drv) in fmt_multiple_name() argument 2503 if (dai_drv->name == NULL) { in fmt_multiple_name() 2510 return kstrdup(dai_drv->name, GFP_KERNEL); in fmt_multiple_name() 2533 struct snd_soc_dai_driver *dai_drv, in soc_add_dai() argument 2554 (dai_drv->id == 0 || dai_drv->name == NULL)) { in soc_add_dai() 2557 dai->name = fmt_multiple_name(dev, dai_drv); in soc_add_dai() 2558 if (dai_drv->id) in soc_add_dai() 2559 dai->id = dai_drv->id; in soc_add_dai() 2570 dai->driver = dai_drv; in soc_add_dai() 2590 struct snd_soc_dai_driver *dai_drv, in snd_soc_register_dais() argument [all …]
|
/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()
|
/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 | 405 memcpy(&wd->dai_drv, &au1xpsc_ac97_dai_template, in au1xpsc_ac97_drvprobe() 407 wd->dai_drv.name = dev_name(&pdev->dev); in au1xpsc_ac97_drvprobe() 416 &wd->dai_drv, 1); in au1xpsc_ac97_drvprobe()
|
D | psc.h | 18 struct snd_soc_dai_driver dai_drv; member
|
/sound/soc/stm/ |
D | stm32_adfsdm.c | 29 struct snd_soc_dai_driver dai_drv; member 345 priv->dai_drv = stm32_adfsdm_dai; in stm32_adfsdm_probe() 352 &priv->dai_drv, 1); in stm32_adfsdm_probe()
|
D | stm32_i2s.c | 225 struct snd_soc_dai_driver *dai_drv; member 793 i2s->dai_drv = dai_ptr; in stm32_i2s_dais_init() 911 i2s->dai_drv, 1); in stm32_i2s_probe()
|
/sound/soc/qcom/qdsp6/ |
D | q6asm-dai.c | 875 static struct snd_soc_dai_driver *dai_drv; in of_q6asm_parse_dai_data() local 889 dai_drv = &q6asm_fe_dais[id]; in of_q6asm_parse_dai_data() 896 dai_drv->capture = empty_stream; in of_q6asm_parse_dai_data() 898 dai_drv->playback = empty_stream; in of_q6asm_parse_dai_data() 901 dai_drv->compress_new = snd_soc_new_compress; in of_q6asm_parse_dai_data()
|