Home
last modified time | relevance | path

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

12

/linux/sound/soc/xilinx/
H A 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 …]
H A 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/sound/soc/codecs/
H A 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()
H A 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()
H A Dpcm3168a.c65 struct snd_soc_dai_driver dai_drv[2]; member
801 memcpy(pcm3168a->dai_drv, pcm3168a_dais, sizeof(pcm3168a->dai_drv)); in pcm3168a_probe()
803 pcm3168a->dai_drv, in pcm3168a_probe()
804 ARRAY_SIZE(pcm3168a->dai_drv)); in pcm3168a_probe()
H A Dak4458.c37 struct snd_soc_dai_driver *dai_drv; member
718 .dai_drv = &ak4458_dai,
724 .dai_drv = &ak4497_dai,
777 ak4458->drvdata->dai_drv, 1); in ak4458_i2c_probe()
H A 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()
H A 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/sound/soc/fsl/
H A Dfsl_rpmsg.c201 struct snd_soc_dai_driver *dai_drv; in fsl_rpmsg_probe() local
206 dai_drv = devm_kzalloc(&pdev->dev, sizeof(struct snd_soc_dai_driver), GFP_KERNEL); in fsl_rpmsg_probe()
207 if (!dai_drv) in fsl_rpmsg_probe()
209 memcpy(dai_drv, &fsl_rpmsg_dai, sizeof(fsl_rpmsg_dai)); in fsl_rpmsg_probe()
218 dai_drv->playback.rates = rpmsg->soc_data->rates; in fsl_rpmsg_probe()
219 dai_drv->capture.rates = rpmsg->soc_data->rates; in fsl_rpmsg_probe()
220 dai_drv->playback.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
221 dai_drv->capture.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
234 dai_drv->name = dai_name; in fsl_rpmsg_probe()
268 dai_drv, 1); in fsl_rpmsg_probe()
/linux/sound/soc/
H A 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()
H A Dsoc-topology.c290 struct snd_soc_dai_driver *dai_drv, in soc_tplg_dai_load() argument
294 return tplg->ops->dai_load(tplg->comp, tplg->index, dai_drv, in soc_tplg_dai_load()
410 struct snd_soc_dai_driver *dai_drv = in soc_tplg_remove_dai() local
421 if (dai->driver == dai_drv) in soc_tplg_remove_dai()
1369 static void set_dai_flags(struct snd_soc_dai_driver *dai_drv, in set_dai_flags() argument
1373 dai_drv->symmetric_rate = in set_dai_flags()
1377 dai_drv->symmetric_channels = in set_dai_flags()
1382 dai_drv->symmetric_sample_bits = in set_dai_flags()
1394 struct snd_soc_dai_driver *dai_drv; in soc_tplg_dai_create() local
1402 dai_drv in soc_tplg_dai_create()
1867 struct snd_soc_dai_driver *dai_drv; soc_tplg_dai_config() local
[all...]
H A Dsoc-core.c2609 struct snd_soc_dai_driver *dai_drv) in fmt_multiple_name() argument
2611 if (dai_drv->name == NULL) { in fmt_multiple_name()
2618 return devm_kstrdup(dev, dai_drv->name, GFP_KERNEL); in fmt_multiple_name()
2641 struct snd_soc_dai_driver *dai_drv, in snd_soc_register_dai() argument
2662 (dai_drv->id == 0 || dai_drv->name == NULL)) { in snd_soc_register_dai()
2665 dai->name = fmt_multiple_name(dev, dai_drv); in snd_soc_register_dai()
2666 if (dai_drv->id) in snd_soc_register_dai()
2667 dai->id = dai_drv->id; in snd_soc_register_dai()
2676 dai->driver = dai_drv; in snd_soc_register_dai()
2708 struct snd_soc_dai_driver *dai_drv, in snd_soc_register_dais() argument
[all …]
/linux/sound/soc/samsung/
H A Di2s.c98 struct snd_soc_dai_driver *dai_drv; member
1175 struct snd_soc_dai_driver *dai_drv; in i2s_alloc_dais() local
1183 priv->dai_drv = devm_kcalloc(&priv->pdev->dev, num_dais, in i2s_alloc_dais()
1184 sizeof(*dai_drv), GFP_KERNEL); in i2s_alloc_dais()
1185 if (!priv->dai_drv) in i2s_alloc_dais()
1189 dai_drv = &priv->dai_drv[i]; in i2s_alloc_dais()
1191 dai_drv->symmetric_rate = 1; in i2s_alloc_dais()
1192 dai_drv->ops = &samsung_i2s_dai_ops; in i2s_alloc_dais()
1194 dai_drv->playback.channels_min = 1; in i2s_alloc_dais()
1195 dai_drv->playback.channels_max = 2; in i2s_alloc_dais()
[all …]
/linux/sound/soc/meson/
H A Daxg-tdm-interface.c524 struct snd_soc_dai_driver *dai_drv; in axg_tdm_iface_probe() local
538 dai_drv = devm_kcalloc(dev, ARRAY_SIZE(axg_tdm_iface_dai_drv), in axg_tdm_iface_probe()
539 sizeof(*dai_drv), GFP_KERNEL); in axg_tdm_iface_probe()
540 if (!dai_drv) in axg_tdm_iface_probe()
544 memcpy(&dai_drv[i], &axg_tdm_iface_dai_drv[i], in axg_tdm_iface_probe()
545 sizeof(*dai_drv)); in axg_tdm_iface_probe()
568 &axg_tdm_iface_component_drv, dai_drv, in axg_tdm_iface_probe()
H A Daxg-spdifin.c441 struct snd_soc_dai_driver *dai_drv; in axg_spdifin_probe() local
474 dai_drv = axg_spdifin_get_dai_drv(dev, priv); in axg_spdifin_probe()
475 if (IS_ERR(dai_drv)) { in axg_spdifin_probe()
477 PTR_ERR(dai_drv)); in axg_spdifin_probe()
478 return PTR_ERR(dai_drv); in axg_spdifin_probe()
482 dai_drv, 1); in axg_spdifin_probe()
H A Daxg-toddr.c191 .dai_drv = &axg_toddr_dai_drv
254 .dai_drv = &g12a_toddr_dai_drv
325 .dai_drv = &g12a_toddr_dai_drv
H A Daxg-frddr.c173 .dai_drv = &axg_frddr_dai_drv
301 .dai_drv = &g12a_frddr_dai_drv
372 .dai_drv = &g12a_frddr_dai_drv
H A Daxg-fifo.h71 struct snd_soc_dai_driver *dai_drv; member
/linux/sound/soc/ti/
H A 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/sound/soc/au1x/
H A 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()
H A 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()
H A Dpsc.h18 struct snd_soc_dai_driver dai_drv; member
/linux/sound/soc/stm/
H A 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/sound/soc/qcom/qdsp6/
H A Dq6asm-dai.c1230 struct snd_soc_dai_driver *dai_drv; in of_q6asm_parse_dai_data() local
1242 pdata->dais = devm_kcalloc(dev, pdata->num_dais, sizeof(*dai_drv), in of_q6asm_parse_dai_data()
1256 dai_drv = &pdata->dais[idx++]; in of_q6asm_parse_dai_data()
1257 *dai_drv = q6asm_fe_dais_template[id]; in of_q6asm_parse_dai_data()
1264 dai_drv->capture = empty_stream; in of_q6asm_parse_dai_data()
1266 dai_drv->playback = empty_stream; in of_q6asm_parse_dai_data()
1269 dai_drv->ops = &q6asm_dai_ops; in of_q6asm_parse_dai_data()
/linux/sound/soc/tegra/
H A Dtegra210_ahub.h117 struct snd_soc_dai_driver *dai_drv; member

12