/linux/sound/soc/xilinx/ |
A 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() 139 dai_drv->playback.formats = format; in xlnx_i2s_probe() 143 dai_drv->ops = &xlnx_i2s_dai_ops; in xlnx_i2s_probe() 145 dai_drv->name = "xlnx_i2s_capture"; in xlnx_i2s_probe() 147 dai_drv->capture.formats = format; in xlnx_i2s_probe() 148 dai_drv->capture.channels_min = ch; in xlnx_i2s_probe() 149 dai_drv->capture.channels_max = ch; in xlnx_i2s_probe() 151 dai_drv->ops = &xlnx_i2s_dai_ops; in xlnx_i2s_probe() [all …]
|
A 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()
|
/linux/sound/soc/codecs/ |
A 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()
|
A 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()
|
A D | pcm3168a.c | 68 struct snd_soc_dai_driver dai_drv[2]; member 821 memcpy(pcm3168a->dai_drv, pcm3168a_dais, sizeof(pcm3168a->dai_drv)); in pcm3168a_probe() 823 pcm3168a->dai_drv, in pcm3168a_probe() 824 ARRAY_SIZE(pcm3168a->dai_drv)); in pcm3168a_probe()
|
A 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()
|
A D | ak4458.c | 37 struct snd_soc_dai_driver *dai_drv; member 757 .dai_drv = &ak4458_dai, 763 .dai_drv = &ak4497_dai, 817 ak4458->drvdata->dai_drv, 1); in ak4458_i2c_probe()
|
/linux/sound/soc/samsung/ |
A 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 1168 if (!priv->dai_drv) in i2s_alloc_dais() 1172 dai_drv = &priv->dai_drv[i]; in i2s_alloc_dais() 1177 dai_drv->symmetric_rate = 1; in i2s_alloc_dais() 1186 dai_drv->id = i + 1; in i2s_alloc_dais() 1187 dai_drv->name = dai_names[i]; in i2s_alloc_dais() 1194 dai_drv = &priv->dai_drv[SAMSUNG_I2S_ID_PRIMARY - 1]; in i2s_alloc_dais() 1196 dai_drv->capture.channels_min = 1; in i2s_alloc_dais() 1197 dai_drv->capture.channels_max = 2; in i2s_alloc_dais() [all …]
|
A D | s3c-i2s-v2.h | 106 struct snd_soc_dai_driver *dai_drv);
|
A D | s3c-i2s-v2.c | 662 struct snd_soc_dai_driver *dai_drv) in s3c_i2sv2_register_component() argument 664 struct snd_soc_dai_ops *ops = (struct snd_soc_dai_ops *)dai_drv->ops; in s3c_i2sv2_register_component() 677 return devm_snd_soc_register_component(dev, cmp_drv, dai_drv, 1); in s3c_i2sv2_register_component()
|
/linux/sound/soc/ |
A 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()
|
A D | soc-topology.c | 461 if (dai->driver == dai_drv) in remove_dai() 1671 dai_drv->symmetric_rate = in set_dai_flags() 1697 if (dai_drv == NULL) in soc_tplg_dai_create() 1702 if (!dai_drv->name) { in soc_tplg_dai_create() 1710 stream = &dai_drv->playback; in soc_tplg_dai_create() 1718 stream = &dai_drv->capture; in soc_tplg_dai_create() 2322 dai_drv = dai->driver; in soc_tplg_dai_config() 2323 if (!dai_drv) in soc_tplg_dai_config() 2327 stream = &dai_drv->playback; in soc_tplg_dai_config() 2335 stream = &dai_drv->capture; in soc_tplg_dai_config() [all …]
|
A D | soc-core.c | 2391 struct snd_soc_dai_driver *dai_drv) in fmt_multiple_name() argument 2393 if (dai_drv->name == NULL) { in fmt_multiple_name() 2423 struct snd_soc_dai_driver *dai_drv, in snd_soc_register_dai() argument 2446 (dai_drv->id == 0 || dai_drv->name == NULL)) { in snd_soc_register_dai() 2449 dai->name = fmt_multiple_name(dev, dai_drv); in snd_soc_register_dai() 2450 if (dai_drv->id) in snd_soc_register_dai() 2451 dai->id = dai_drv->id; in snd_soc_register_dai() 2460 dai->driver = dai_drv; in snd_soc_register_dai() 2491 struct snd_soc_dai_driver *dai_drv, in snd_soc_register_dais() argument 2595 struct snd_soc_dai_driver *dai_drv, in snd_soc_add_component() argument [all …]
|
/linux/sound/soc/meson/ |
A D | axg-tdm-interface.c | 511 struct snd_soc_dai_driver *dai_drv; in axg_tdm_iface_probe() local 525 dai_drv = devm_kcalloc(dev, ARRAY_SIZE(axg_tdm_iface_dai_drv), in axg_tdm_iface_probe() 526 sizeof(*dai_drv), GFP_KERNEL); in axg_tdm_iface_probe() 527 if (!dai_drv) in axg_tdm_iface_probe() 531 memcpy(&dai_drv[i], &axg_tdm_iface_dai_drv[i], in axg_tdm_iface_probe() 532 sizeof(*dai_drv)); in axg_tdm_iface_probe() 571 &axg_tdm_iface_component_drv, dai_drv, in axg_tdm_iface_probe()
|
A 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()
|
A 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
|
A D | axg-frddr.c | 169 .dai_drv = &axg_frddr_dai_drv 294 .dai_drv = &g12a_frddr_dai_drv 364 .dai_drv = &g12a_frddr_dai_drv
|
A D | axg-fifo.h | 75 struct snd_soc_dai_driver *dai_drv; member
|
/linux/sound/soc/ti/ |
A 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()
|
/linux/sound/soc/au1x/ |
A 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()
|
A 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()
|
A D | psc.h | 18 struct snd_soc_dai_driver dai_drv; member
|
/linux/sound/soc/stm/ |
A D | stm32_adfsdm.c | 29 struct snd_soc_dai_driver dai_drv; member 332 priv->dai_drv = stm32_adfsdm_dai; in stm32_adfsdm_probe() 339 &priv->dai_drv, 1); in stm32_adfsdm_probe()
|
/linux/sound/soc/qcom/qdsp6/ |
A D | q6asm-dai.c | 1235 struct snd_soc_dai_driver *dai_drv; in of_q6asm_parse_dai_data() local 1247 pdata->dais = devm_kcalloc(dev, pdata->num_dais, sizeof(*dai_drv), in of_q6asm_parse_dai_data() 1261 dai_drv = &pdata->dais[idx++]; in of_q6asm_parse_dai_data() 1262 *dai_drv = q6asm_fe_dais_template[id]; in of_q6asm_parse_dai_data() 1269 dai_drv->capture = empty_stream; in of_q6asm_parse_dai_data() 1271 dai_drv->playback = empty_stream; in of_q6asm_parse_dai_data() 1274 dai_drv->compress_new = snd_soc_new_compress; in of_q6asm_parse_dai_data()
|
/linux/sound/soc/tegra/ |
A D | tegra210_ahub.h | 115 struct snd_soc_dai_driver *dai_drv; member
|