Home
last modified time | relevance | path

Searched refs:dai_link (Results 1 – 25 of 131) sorted by relevance

123456

/sound/soc/sh/rcar/
Drsrc-card.c63 struct snd_soc_dai_link *dai_link; member
69 #define rsrc_priv_to_link(priv, i) ((priv)->snd_card.dai_link + (i))
102 struct snd_soc_dai_link *dai_link; in rsrc_card_dai_init() local
107 dai_link = rsrc_priv_to_link(priv, num); in rsrc_card_dai_init()
109 dai = dai_link->dynamic ? in rsrc_card_dai_init()
187 struct snd_soc_dai_link *dai_link = rsrc_priv_to_link(priv, idx); in rsrc_card_parse_links() local
203 dai_link->codec_of_node = NULL; in rsrc_card_parse_links()
204 dai_link->codec_dai_name = "snd-soc-dummy-dai"; in rsrc_card_parse_links()
205 dai_link->codec_name = "snd-soc-dummy"; in rsrc_card_parse_links()
208 dai_link->dynamic = 1; in rsrc_card_parse_links()
[all …]
/sound/soc/generic/
Dsimple-card.c36 struct snd_soc_dai_link dai_link[]; /* dynamically allocated */ member
40 #define simple_priv_to_link(priv, i) ((priv)->snd_card.dai_link + i)
285 struct snd_soc_dai_link *dai_link = simple_priv_to_link(priv, idx); in asoc_simple_card_parse_daifmt() local
314 dai_link->dai_fmt = daifmt; in asoc_simple_card_parse_daifmt()
328 struct snd_soc_dai_link *dai_link = simple_priv_to_link(priv, idx); in asoc_simple_card_dai_link_of() local
373 &dai_link->cpu_of_node, in asoc_simple_card_dai_link_of()
374 &dai_link->cpu_dai_name, in asoc_simple_card_dai_link_of()
380 &dai_link->codec_of_node, in asoc_simple_card_dai_link_of()
381 &dai_link->codec_dai_name, NULL); in asoc_simple_card_dai_link_of()
385 if (!dai_link->cpu_dai_name || !dai_link->codec_dai_name) { in asoc_simple_card_dai_link_of()
[all …]
/sound/soc/qcom/
Dstorm.c74 struct snd_soc_dai_link *dai_link = card->dai_link; in storm_parse_of() local
77 dai_link->cpu_of_node = of_parse_phandle(np, "cpu", 0); in storm_parse_of()
78 if (!dai_link->cpu_of_node) { in storm_parse_of()
83 dai_link->platform_of_node = dai_link->cpu_of_node; in storm_parse_of()
85 dai_link->codec_of_node = of_parse_phandle(np, "codec", 0); in storm_parse_of()
86 if (!dai_link->codec_of_node) { in storm_parse_of()
114 card->dai_link = &storm_dai_link; in storm_platform_probe()
Dapq8016_sbc.c30 struct snd_soc_dai_link dai_link[]; /* dynamically allocated */ member
90 card->dai_link = &data->dai_link[0]; in apq8016_sbc_parse_of()
93 link = data->dai_link; in apq8016_sbc_parse_of()
/sound/soc/
Dsoc-compress.c46 if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->startup) { in soc_compr_open()
47 ret = rtd->dai_link->compr_ops->startup(cstream); in soc_compr_open()
49 pr_err("compress asoc: %s startup failed\n", rtd->dai_link->name); in soc_compr_open()
95 if (fe->dai_link->compr_ops && fe->dai_link->compr_ops->startup) { in soc_compr_open_fe()
96 ret = fe->dai_link->compr_ops->startup(cstream); in soc_compr_open_fe()
98 pr_err("compress asoc: %s startup failed\n", fe->dai_link->name); in soc_compr_open_fe()
110 fe->dai_link->name, stream ? "capture" : "playback"); in soc_compr_open_fe()
141 if (fe->dai_link->compr_ops && fe->dai_link->compr_ops->shutdown) in soc_compr_open_fe()
142 fe->dai_link->compr_ops->shutdown(cstream); in soc_compr_open_fe()
206 if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->shutdown) in soc_compr_free()
[all …]
Dsoc-pcm.c139 if (!rtd->pmdown_time || rtd->dai_link->ignore_pmdown_time) in snd_soc_runtime_ignore_pmdown_time()
182 be->dai_link->name, event, dir); in dpcm_dapm_stream_event()
203 rtd->dai_link->symmetric_rates)) { in soc_pcm_apply_symmetry()
219 rtd->dai_link->symmetric_channels)) { in soc_pcm_apply_symmetry()
235 rtd->dai_link->symmetric_samplebits)) { in soc_pcm_apply_symmetry()
266 rtd->dai_link->symmetric_rates; in soc_pcm_params_symmetry()
278 rtd->dai_link->symmetric_channels; in soc_pcm_params_symmetry()
290 rtd->dai_link->symmetric_samplebits; in soc_pcm_params_symmetry()
308 struct snd_soc_dai_link *link = rtd->dai_link; in soc_pcm_has_symmetry()
510 if (rtd->dai_link->ops && rtd->dai_link->ops->startup) { in soc_pcm_open()
[all …]
Dsoc-core.c538 const char *dai_link, int stream) in snd_soc_get_dai_substream() argument
543 if (card->rtd[i].dai_link->no_pcm && in snd_soc_get_dai_substream()
544 !strcmp(card->rtd[i].dai_link->name, dai_link)) in snd_soc_get_dai_substream()
547 dev_dbg(card->dev, "ASoC: failed to find dai link %s\n", dai_link); in snd_soc_get_dai_substream()
553 const char *dai_link) in snd_soc_get_pcm_runtime() argument
558 if (!strcmp(card->rtd[i].dai_link->name, dai_link)) in snd_soc_get_pcm_runtime()
561 dev_dbg(card->dev, "ASoC: failed to find rtd %s\n", dai_link); in snd_soc_get_pcm_runtime()
600 if (card->rtd[i].dai_link->ignore_suspend) in snd_soc_suspend()
614 if (card->rtd[i].dai_link->ignore_suspend) in snd_soc_suspend()
626 if (card->rtd[i].dai_link->ignore_suspend) in snd_soc_suspend()
[all …]
/sound/soc/fsl/
Dfsl-asoc-card.c86 struct snd_soc_dai_link dai_link[3]; member
576 priv->card.dai_link = priv->dai_link; in fsl_asoc_card_probe()
583 memcpy(priv->dai_link, fsl_asoc_card_dai, in fsl_asoc_card_probe()
584 sizeof(struct snd_soc_dai_link) * ARRAY_SIZE(priv->dai_link)); in fsl_asoc_card_probe()
593 priv->dai_link[0].cpu_of_node = cpu_np; in fsl_asoc_card_probe()
594 priv->dai_link[0].codec_dai_name = codec_dai_name; in fsl_asoc_card_probe()
597 priv->dai_link[0].codec_of_node = codec_np; in fsl_asoc_card_probe()
608 priv->dai_link[0].codec_name = in fsl_asoc_card_probe()
614 priv->dai_link[0].platform_of_node = cpu_np; in fsl_asoc_card_probe()
615 priv->dai_link[0].dai_fmt = priv->dai_fmt; in fsl_asoc_card_probe()
[all …]
Dpcm030-audio-fabric.c50 .dai_link = pcm030_fabric_dai,
82 card->dai_link[i].platform_of_node = platform_np; in pcm030_fabric_probe()
Defika-audio-fabric.c56 .dai_link = efika_fabric_dai,
/sound/soc/au1x/
Ddb1200.c61 .dai_link = &db1200_ac97_dai,
77 .dai_link = &db1300_ac97_dai,
84 .dai_link = &db1200_ac97_dai,
121 .dai_link = &db1200_i2s_dai,
140 .dai_link = &db1300_i2s_dai,
159 .dai_link = &db1550_i2s_dai,
Ddb1000.c33 .dai_link = &db1000_ac97_dai,
/sound/soc/atmel/
Datmel-classd.c501 struct snd_soc_dai_link *dai_link; in atmel_classd_asoc_card_init() local
504 dai_link = devm_kzalloc(dev, sizeof(*dai_link), GFP_KERNEL); in atmel_classd_asoc_card_init()
505 if (!dai_link) in atmel_classd_asoc_card_init()
508 dai_link->name = "CLASSD"; in atmel_classd_asoc_card_init()
509 dai_link->stream_name = "CLASSD PCM"; in atmel_classd_asoc_card_init()
510 dai_link->codec_dai_name = ATMEL_CLASSD_CODEC_DAI_NAME; in atmel_classd_asoc_card_init()
511 dai_link->cpu_dai_name = dev_name(dev); in atmel_classd_asoc_card_init()
512 dai_link->codec_name = dev_name(dev); in atmel_classd_asoc_card_init()
513 dai_link->platform_name = dev_name(dev); in atmel_classd_asoc_card_init()
515 card->dai_link = dai_link; in atmel_classd_asoc_card_init()
/sound/soc/omap/
Domap-hdmi-audio.c369 card->dai_link = in omap_hdmi_audio_probe()
370 devm_kzalloc(dev, sizeof(*(card->dai_link)), GFP_KERNEL); in omap_hdmi_audio_probe()
371 card->dai_link->name = card->name; in omap_hdmi_audio_probe()
372 card->dai_link->stream_name = card->name; in omap_hdmi_audio_probe()
373 card->dai_link->cpu_dai_name = dev_name(ad->dssdev); in omap_hdmi_audio_probe()
374 card->dai_link->platform_name = dev_name(ad->dssdev); in omap_hdmi_audio_probe()
375 card->dai_link->codec_name = "snd-soc-dummy"; in omap_hdmi_audio_probe()
376 card->dai_link->codec_dai_name = "snd-soc-dummy-dai"; in omap_hdmi_audio_probe()
/sound/soc/davinci/
Ddavinci-evm.c258 .dai_link = &dm6446_evm_dai,
272 .dai_link = &dm355_evm_dai,
285 .dai_link = &dm365_evm_dai,
298 .dai_link = dm6467_evm_dai,
310 .dai_link = &da830_evm_dai,
322 .dai_link = &da850_evm_dai,
368 evm_soc_card.dai_link = dai; in davinci_evm_probe()
/sound/soc/ux500/
Dmop500.c57 .dai_link = mop500_dai_links,
125 __func__, mop500_card.name, mop500_card.dai_link[0].name); in mop500_probe()
128 mop500_card.dai_link[0].stream_name); in mop500_probe()
/sound/soc/intel/boards/
Dcht_bsw_rt5645.c306 .dai_link = cht_dailink,
319 .dai_link = cht_dailink,
369 strcpy((char *)card->dai_link[2].codec_name, codec_name); in snd_cht_mc_probe()
/sound/soc/samsung/
Dbells.c370 .dai_link = bells_dai_wm2200,
390 .dai_link = bells_dai_wm5102,
410 .dai_link = bells_dai_wm5110,
Dsmdk2443_wm9710.c34 .dai_link = smdk2443_dai,
Dln2440sbc_alc650.c38 .dai_link = ln2440sbc_dai,
Ds3c24xx_simtec.c304 card->dai_link->ops = &simtec_snd_ops; in simtec_audio_core_probe()
305 card->dai_link->dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | in simtec_audio_core_probe()
/sound/soc/pxa/
Draumfeld.c245 .dai_link = snd_soc_raumfeld_connector_dai,
254 .dai_link = snd_soc_raumfeld_speaker_dai,
/sound/soc/nuc900/
Dnuc900-audio.c36 .dai_link = &nuc900evb_ac97_dai,
/sound/soc/blackfin/
Dbf5xx-ad1980.c75 .dai_link = &bf5xx_board_dai[CONFIG_SND_BF5XX_SPORT_NUM],
/sound/soc/sh/
Dsh7760-ac97.c32 .dai_link = &sh7760_ac97_dai,

123456