Lines Matching refs:dai_fmt

1142 	unsigned int mask = 0, dai_fmt = 0;  in snd_soc_runtime_get_dai_fmt()  local
1228 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_FORMAT_MASK) | i; in snd_soc_runtime_get_dai_fmt()
1234 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_MASK) | SND_SOC_DAIFMT_CONT; in snd_soc_runtime_get_dai_fmt()
1237 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_MASK) | SND_SOC_DAIFMT_GATED; in snd_soc_runtime_get_dai_fmt()
1243 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_INV_MASK) | SND_SOC_DAIFMT_NB_NF; in snd_soc_runtime_get_dai_fmt()
1246 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_INV_MASK) | SND_SOC_DAIFMT_NB_IF; in snd_soc_runtime_get_dai_fmt()
1249 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_INV_MASK) | SND_SOC_DAIFMT_IB_NF; in snd_soc_runtime_get_dai_fmt()
1252 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_INV_MASK) | SND_SOC_DAIFMT_IB_IF; in snd_soc_runtime_get_dai_fmt()
1258 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) | SND_SOC_DAIFMT_CBP_CFP; in snd_soc_runtime_get_dai_fmt()
1261 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) | SND_SOC_DAIFMT_CBC_CFP; in snd_soc_runtime_get_dai_fmt()
1264 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) | SND_SOC_DAIFMT_CBP_CFC; in snd_soc_runtime_get_dai_fmt()
1267 dai_fmt = (dai_fmt & ~SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) | SND_SOC_DAIFMT_CBC_CFC; in snd_soc_runtime_get_dai_fmt()
1282 if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_FORMAT_MASK)) in snd_soc_runtime_get_dai_fmt()
1284 if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_CLOCK_MASK)) in snd_soc_runtime_get_dai_fmt()
1286 if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_INV_MASK)) in snd_soc_runtime_get_dai_fmt()
1288 if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK)) in snd_soc_runtime_get_dai_fmt()
1291 dai_link->dai_fmt |= (dai_fmt & mask); in snd_soc_runtime_get_dai_fmt()
1308 unsigned int dai_fmt) in snd_soc_runtime_set_dai_fmt() argument
1315 if (!dai_fmt) in snd_soc_runtime_set_dai_fmt()
1319 ret = snd_soc_dai_set_fmt(codec_dai, dai_fmt); in snd_soc_runtime_set_dai_fmt()
1325 dai_fmt = snd_soc_daifmt_clock_provider_flipped(dai_fmt); in snd_soc_runtime_set_dai_fmt()
1328 ret = snd_soc_dai_set_fmt(cpu_dai, dai_fmt); in snd_soc_runtime_set_dai_fmt()
1351 ret = snd_soc_runtime_set_dai_fmt(rtd, dai_link->dai_fmt); in soc_init_pcm_runtime()
3143 unsigned int snd_soc_daifmt_clock_provider_flipped(unsigned int dai_fmt) in snd_soc_daifmt_clock_provider_flipped() argument
3145 unsigned int inv_dai_fmt = dai_fmt & ~SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK; in snd_soc_daifmt_clock_provider_flipped()
3147 switch (dai_fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in snd_soc_daifmt_clock_provider_flipped()