Home
last modified time | relevance | path

Searched refs:dai_drv (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.1.9/sound/soc/xilinx/
Dxlnx_i2s.c28 struct snd_soc_dai_driver dai_drv; member
211 drv_data->dai_drv.name = "xlnx_i2s_playback"; in xlnx_i2s_probe()
212 drv_data->dai_drv.playback.stream_name = "Playback"; in xlnx_i2s_probe()
213 drv_data->dai_drv.playback.formats = format; in xlnx_i2s_probe()
214 drv_data->dai_drv.playback.channels_min = drv_data->channels; in xlnx_i2s_probe()
215 drv_data->dai_drv.playback.channels_max = drv_data->channels; in xlnx_i2s_probe()
216 drv_data->dai_drv.playback.rates = SNDRV_PCM_RATE_8000_192000; in xlnx_i2s_probe()
217 drv_data->dai_drv.ops = &xlnx_i2s_dai_ops; in xlnx_i2s_probe()
219 drv_data->dai_drv.name = "xlnx_i2s_capture"; in xlnx_i2s_probe()
220 drv_data->dai_drv.capture.stream_name = "Capture"; in xlnx_i2s_probe()
[all …]
Dxlnx_spdif.c241 struct snd_soc_dai_driver *dai_drv; in xlnx_spdif_probe() local
274 dai_drv = &xlnx_spdif_tx_dai; in xlnx_spdif_probe()
289 dai_drv = &xlnx_spdif_rx_dai; in xlnx_spdif_probe()
301 dai_drv, 1); in xlnx_spdif_probe()
308 dev_info(dev, "%s DAI registered\n", dai_drv->name); in xlnx_spdif_probe()
/linux-6.1.9/sound/soc/codecs/
Ddmic.c149 struct snd_soc_dai_driver *dai_drv = &dmic_dai; in dmic_dev_probe() local
160 dai_drv = devm_kzalloc(&pdev->dev, sizeof(*dai_drv), GFP_KERNEL); in dmic_dev_probe()
161 if (!dai_drv) in dmic_dev_probe()
164 memcpy(dai_drv, &dmic_dai, sizeof(*dai_drv)); in dmic_dev_probe()
165 dai_drv->capture.channels_max = chans; in dmic_dev_probe()
170 &soc_dmic, dai_drv, 1); in dmic_dev_probe()
Des7134.c23 struct snd_soc_dai_driver *dai_drv; member
187 .dai_drv = &es7134_dai,
264 .dai_drv = &es7154_dai,
291 priv->chip->dai_drv, 1); in es7134_probe()
Dpcm3168a.c66 struct snd_soc_dai_driver dai_drv[2]; member
802 memcpy(pcm3168a->dai_drv, pcm3168a_dais, sizeof(pcm3168a->dai_drv)); in pcm3168a_probe()
804 pcm3168a->dai_drv, in pcm3168a_probe()
805 ARRAY_SIZE(pcm3168a->dai_drv)); in pcm3168a_probe()
Dak4458.c37 struct snd_soc_dai_driver *dai_drv; member
716 .dai_drv = &ak4458_dai,
722 .dai_drv = &ak4497_dai,
776 ak4458->drvdata->dai_drv, 1); in ak4458_i2c_probe()
Dadau1761.c979 struct snd_soc_dai_driver *dai_drv; in adau1761_probe() local
984 dai_drv = &adau1361_dai_driver; in adau1761_probe()
987 dai_drv = &adau1761_dai_driver; in adau1761_probe()
1004 dai_drv, 1); in adau1761_probe()
Dak4375.c91 struct snd_soc_dai_driver *dai_drv; member
488 .dai_drv = &ak4375_dai,
574 drvdata->dai_drv, 1); in ak4375_i2c_probe()
/linux-6.1.9/sound/soc/
Dsoc-devres.c27 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()
Dsoc-topology.c294 struct snd_soc_dai_driver *dai_drv, in soc_tplg_dai_load() argument
298 return tplg->ops->dai_load(tplg->comp, tplg->index, dai_drv, in soc_tplg_dai_load()
450 struct snd_soc_dai_driver *dai_drv = in remove_dai() local
461 if (dai->driver == dai_drv) in remove_dai()
1591 static void set_dai_flags(struct snd_soc_dai_driver *dai_drv, in set_dai_flags() argument
1595 dai_drv->symmetric_rate = in set_dai_flags()
1599 dai_drv->symmetric_channels = in set_dai_flags()
1604 dai_drv->symmetric_sample_bits = in set_dai_flags()
1612 struct snd_soc_dai_driver *dai_drv; in soc_tplg_dai_create() local
1620 dai_drv = devm_kzalloc(tplg->dev, sizeof(struct snd_soc_dai_driver), GFP_KERNEL); in soc_tplg_dai_create()
[all …]
Dsoc-core.c2386 struct snd_soc_dai_driver *dai_drv) in fmt_multiple_name() argument
2388 if (dai_drv->name == NULL) { in fmt_multiple_name()
2395 return devm_kstrdup(dev, dai_drv->name, GFP_KERNEL); in fmt_multiple_name()
2418 struct snd_soc_dai_driver *dai_drv, in snd_soc_register_dai() argument
2441 (dai_drv->id == 0 || dai_drv->name == NULL)) { in snd_soc_register_dai()
2444 dai->name = fmt_multiple_name(dev, dai_drv); in snd_soc_register_dai()
2445 if (dai_drv->id) in snd_soc_register_dai()
2446 dai->id = dai_drv->id; in snd_soc_register_dai()
2455 dai->driver = dai_drv; in snd_soc_register_dai()
2487 struct snd_soc_dai_driver *dai_drv, in snd_soc_register_dais() argument
[all …]
/linux-6.1.9/sound/soc/samsung/
Di2s.c96 struct snd_soc_dai_driver *dai_drv; member
1160 struct snd_soc_dai_driver *dai_drv; in i2s_alloc_dais() local
1168 priv->dai_drv = devm_kcalloc(&priv->pdev->dev, num_dais, in i2s_alloc_dais()
1169 sizeof(*dai_drv), GFP_KERNEL); in i2s_alloc_dais()
1170 if (!priv->dai_drv) in i2s_alloc_dais()
1174 dai_drv = &priv->dai_drv[i]; in i2s_alloc_dais()
1176 dai_drv->probe = samsung_i2s_dai_probe; in i2s_alloc_dais()
1177 dai_drv->remove = samsung_i2s_dai_remove; in i2s_alloc_dais()
1179 dai_drv->symmetric_rate = 1; in i2s_alloc_dais()
1180 dai_drv->ops = &samsung_i2s_dai_ops; in i2s_alloc_dais()
[all …]
Ds3c-i2s-v2.h106 struct snd_soc_dai_driver *dai_drv);
Ds3c-i2s-v2.c651 struct snd_soc_dai_driver *dai_drv) in s3c_i2sv2_register_component() argument
653 struct snd_soc_dai_ops *ops = (struct snd_soc_dai_ops *)dai_drv->ops; in s3c_i2sv2_register_component()
666 return devm_snd_soc_register_component(dev, cmp_drv, dai_drv, 1); in s3c_i2sv2_register_component()
/linux-6.1.9/sound/soc/meson/
Daxg-tdm-interface.c495 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()
544 &axg_tdm_iface_component_drv, dai_drv, in axg_tdm_iface_probe()
Daxg-spdifin.c456 struct snd_soc_dai_driver *dai_drv; in axg_spdifin_probe() local
489 dai_drv = axg_spdifin_get_dai_drv(dev, priv); in axg_spdifin_probe()
490 if (IS_ERR(dai_drv)) { in axg_spdifin_probe()
492 PTR_ERR(dai_drv)); in axg_spdifin_probe()
493 return PTR_ERR(dai_drv); in axg_spdifin_probe()
497 dai_drv, 1); in axg_spdifin_probe()
Daxg-toddr.c191 .dai_drv = &axg_toddr_dai_drv
252 .dai_drv = &g12a_toddr_dai_drv
323 .dai_drv = &g12a_toddr_dai_drv
Daxg-frddr.c170 .dai_drv = &axg_frddr_dai_drv
296 .dai_drv = &g12a_frddr_dai_drv
367 .dai_drv = &g12a_frddr_dai_drv
Daxg-fifo.h75 struct snd_soc_dai_driver *dai_drv; member
/linux-6.1.9/sound/soc/ti/
Domap-hdmi.c314 struct snd_soc_dai_driver *dai_drv; in omap_hdmi_audio_probe() local
336 dai_drv = &omap4_hdmi_dai; in omap_hdmi_audio_probe()
339 dai_drv = &omap5_hdmi_dai; in omap_hdmi_audio_probe()
345 dai_drv, 1); in omap_hdmi_audio_probe()
/linux-6.1.9/sound/soc/au1x/
Dpsc-i2s.c337 memcpy(&wd->dai_drv, &au1xpsc_i2s_dai_template, in au1xpsc_i2s_drvprobe()
339 wd->dai_drv.name = dev_name(&pdev->dev); in au1xpsc_i2s_drvprobe()
344 &au1xpsc_i2s_component, &wd->dai_drv, 1); in au1xpsc_i2s_drvprobe()
Dpsc-ac97.c405 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()
Dpsc.h18 struct snd_soc_dai_driver dai_drv; member
/linux-6.1.9/sound/soc/stm/
Dstm32_adfsdm.c29 struct snd_soc_dai_driver dai_drv; member
338 priv->dai_drv = stm32_adfsdm_dai; in stm32_adfsdm_probe()
345 &priv->dai_drv, 1); in stm32_adfsdm_probe()
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6asm-dai.c1236 struct snd_soc_dai_driver *dai_drv; in of_q6asm_parse_dai_data() local
1248 pdata->dais = devm_kcalloc(dev, pdata->num_dais, sizeof(*dai_drv), in of_q6asm_parse_dai_data()
1262 dai_drv = &pdata->dais[idx++]; in of_q6asm_parse_dai_data()
1263 *dai_drv = q6asm_fe_dais_template[id]; in of_q6asm_parse_dai_data()
1270 dai_drv->capture = empty_stream; in of_q6asm_parse_dai_data()
1272 dai_drv->playback = empty_stream; in of_q6asm_parse_dai_data()
1275 dai_drv->compress_new = snd_soc_new_compress; in of_q6asm_parse_dai_data()

12