Home
last modified time | relevance | path

Searched refs:dai_fmt (Results 1 – 25 of 85) sorted by relevance

1234

/linux/sound/soc/atmel/
H A Dmikroe-proto.c71 unsigned int dai_fmt; in snd_proto_probe() local
124 dai_fmt = snd_soc_daifmt_parse_format(np, NULL); in snd_proto_probe()
134 dai_fmt |= SND_SOC_DAIFMT_CBP_CFP; in snd_proto_probe()
136 dai_fmt |= SND_SOC_DAIFMT_CBC_CFC; in snd_proto_probe()
138 dai_fmt |= snd_soc_daifmt_parse_clock_provider_as_flag(np, NULL); in snd_proto_probe()
142 dai->dai_fmt = dai_fmt; in snd_proto_probe()
/linux/sound/soc/samsung/
H A Dbells.c258 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
265 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
295 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
302 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
312 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
322 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
353 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
360 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
370 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
380 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
H A Dlowland.c107 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
115 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
123 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
H A Dspeyside.c212 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
220 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
230 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
H A Dsmdk_wm8994.c108 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
115 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
H A Darndale.c96 .dai_fmt = SND_SOC_DAIFMT_I2S
113 .dai_fmt = SND_SOC_DAIFMT_I2S
H A Dtm2_wm5110.c453 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
460 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
467 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
475 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
H A Dlittlemill.c159 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
167 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
/linux/sound/soc/fsl/
H A Dimx-hdmi.c29 u32 dai_fmt; member
158 data->dai_fmt = SND_SOC_DAIFMT_LEFT_J; in imx_hdmi_probe()
161 data->dai_fmt = SND_SOC_DAIFMT_I2S; in imx_hdmi_probe()
176 data->dai.dai_fmt = data->dai_fmt | in imx_hdmi_probe()
186 data->dai.dai_fmt = data->dai_fmt | in imx_hdmi_probe()
H A Dimx-card.c321 unsigned int fmt = rtd->dai_link->dai_fmt; in imx_aif_hw_params()
332 fmt = (rtd->dai_link->dai_fmt & ~SND_SOC_DAIFMT_FORMAT_MASK) | in imx_aif_hw_params()
337 fmt = (rtd->dai_link->dai_fmt & ~SND_SOC_DAIFMT_FORMAT_MASK) | in imx_aif_hw_params()
684 NULL, &link->dai_fmt); in imx_card_parse_of()
686 link->dai_fmt = SND_SOC_DAIFMT_NB_NF | in imx_card_parse_of()
H A Dfsl_ssi.c255 unsigned int dai_fmt; member
354 return (ssi->dai_fmt & SND_SOC_DAIFMT_FORMAT_MASK) == in fsl_ssi_is_ac97()
360 return (ssi->dai_fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) == in fsl_ssi_is_i2s_clock_provider()
366 return (ssi->dai_fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) == in fsl_ssi_is_i2s_bc_fp()
910 ssi->dai_fmt = fmt; in _fsl_ssi_set_dai_fmt()
1308 _fsl_ssi_set_dai_fmt(ssi, ssi->dai_fmt); in fsl_ssi_hw_init()
1443 ssi->dai_fmt = FSLSSI_AC97_DAIFMT; in fsl_ssi_probe_from_dt()
/linux/sound/soc/
H A Dsoc-core.c1282 unsigned int mask = 0, dai_fmt = 0; in snd_soc_runtime_get_dai_fmt() local
1368 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_FORMAT_MASK) | i; in snd_soc_runtime_get_dai_fmt()
1374 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_MASK) | SND_SOC_DAIFMT_CONT; in snd_soc_runtime_get_dai_fmt()
1377 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_MASK) | SND_SOC_DAIFMT_GATED; in snd_soc_runtime_get_dai_fmt()
1383 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_INV_MASK) | SND_SOC_DAIFMT_NB_NF; in snd_soc_runtime_get_dai_fmt()
1386 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_INV_MASK) | SND_SOC_DAIFMT_NB_IF; in snd_soc_runtime_get_dai_fmt()
1389 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_INV_MASK) | SND_SOC_DAIFMT_IB_NF; in snd_soc_runtime_get_dai_fmt()
1392 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_INV_MASK) | SND_SOC_DAIFMT_IB_IF; in snd_soc_runtime_get_dai_fmt()
1398 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) | SND_SOC_DAIFMT_CBP_CFP; in snd_soc_runtime_get_dai_fmt()
1401 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) | SND_SOC_DAIFMT_CBC_CFP; in snd_soc_runtime_get_dai_fmt()
[all …]
/linux/sound/soc/pxa/
H A Dpxa-ssp.c43 unsigned int dai_fmt; member
405 priv->dai_fmt = fmt; in pxa_ssp_set_dai_fmt()
421 if (priv->configured_dai_fmt == priv->dai_fmt) in pxa_ssp_configure_dai_fmt()
435 switch (priv->dai_fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in pxa_ssp_configure_dai_fmt()
448 switch (priv->dai_fmt & SND_SOC_DAIFMT_INV_MASK) { in pxa_ssp_configure_dai_fmt()
464 switch (priv->dai_fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in pxa_ssp_configure_dai_fmt()
487 switch (priv->dai_fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in pxa_ssp_configure_dai_fmt()
504 priv->configured_dai_fmt = priv->dai_fmt; in pxa_ssp_configure_dai_fmt()
623 switch (priv->dai_fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in pxa_ssp_hw_params()
788 priv->dai_fmt = (unsigned int) -1; in pxa_ssp_probe()
/linux/sound/soc/kirkwood/
H A Darmada-370-db.c76 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS,
83 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS,
89 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS,
/linux/sound/soc/au1x/
H A Ddb1200.c120 .dai_fmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_NB_NF |
141 .dai_fmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_NB_NF |
162 .dai_fmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_NB_NF |
/linux/sound/soc/tegra/
H A Dtegra_asoc_machine.c638 .dai_fmt = SND_SOC_DAIFMT_I2S |
702 .dai_fmt = SND_SOC_DAIFMT_I2S |
737 .dai_fmt = SND_SOC_DAIFMT_I2S |
770 .dai_fmt = SND_SOC_DAIFMT_I2S |
813 .dai_fmt = SND_SOC_DAIFMT_I2S |
862 .dai_fmt = SND_SOC_DAIFMT_I2S |
896 .dai_fmt = SND_SOC_DAIFMT_I2S |
929 .dai_fmt = SND_SOC_DAIFMT_I2S |
962 .dai_fmt = SND_SOC_DAIFMT_I2S |
/linux/sound/soc/mediatek/common/
H A Dmtk-soundcard-driver.c64 dai_link->dai_fmt &= SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK; in set_dailink_daifmt()
65 dai_link->dai_fmt |= daifmt; in set_dailink_daifmt()
78 dai_link->dai_fmt &= ~SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK; in set_dailink_daifmt()
79 dai_link->dai_fmt |= of_clk_table[i].val; in set_dailink_daifmt()
/linux/sound/soc/rockchip/
H A Drockchip_max98090.c249 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
262 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
276 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
285 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
H A Drk3399_gru_sound.c340 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
350 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
358 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
367 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
376 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
/linux/sound/soc/mediatek/mt2701/
H A Dmt2701-cs42448.c269 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS
277 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS
285 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS
293 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS
/linux/sound/soc/amd/
H A Dacp-rt5645.c125 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
134 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
/linux/sound/soc/mxs/
H A Dmxs-sgtl5000.c79 .dai_fmt = MXS_SGTL5000_DAI_FMT,
86 .dai_fmt = MXS_SGTL5000_DAI_FMT,
/linux/sound/soc/ti/
H A Domap3pandora.c191 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
199 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
/linux/sound/soc/codecs/
H A Dtas2552.c75 unsigned int dai_fmt; member
335 if (tas2552->dai_fmt == SND_SOC_DAIFMT_DSP_A) in tas2552_prepare()
337 else if (tas2552->dai_fmt == SND_SOC_DAIFMT_DSP_B) in tas2552_prepare()
388 tas2552->dai_fmt = fmt & SND_SOC_DAIFMT_FORMAT_MASK; in tas2552_set_dai_fmt()
H A Dadau1701.c110 unsigned int dai_fmt; member
386 if (adau1701->dai_fmt == SND_SOC_DAIFMT_RIGHT_J) { in adau1701_set_capture_pcm_format()
412 if (adau1701->dai_fmt != SND_SOC_DAIFMT_RIGHT_J) in adau1701_set_playback_pcm_format()
542 adau1701->dai_fmt = fmt & SND_SOC_DAIFMT_FORMAT_MASK; in adau1701_set_dai_fmt()

1234