Lines Matching defs:format
1410 * snd_soc_runtime_set_dai_fmt() - Change DAI link format for a ASoC runtime
1411 * @rtd: The runtime for which the DAI link format should be changed
1412 * @dai_fmt: The new DAI link format
1414 * This function updates the DAI link format for all DAIs connected to the DAI
1417 * Note: For setups with a static format set the dai_fmt field in the
1435 "ASoC: Failed to set DAI format: %d\n", ret);
1468 "ASoC: Failed to set DAI format: %d\n", ret);
1557 * as the sound card long name, in the format of
2294 * @legacy_dai_naming: if %true, use legacy single-name format;
2295 * if %false, use multiple-name format;
2416 * the endianness of the data but we're using the CPU format
2875 unsigned int format = 0;
2897 * check "dai-format = xxx"
2898 * or "[prefix]format = xxx"
2901 ret = of_property_read_string(np, "dai-format", &str);
2909 format |= of_fmt_table[i].val;
2921 format |= SND_SOC_DAIFMT_CONT;
2923 format |= SND_SOC_DAIFMT_GATED;
2938 format |= SND_SOC_DAIFMT_IB_IF;
2941 format |= SND_SOC_DAIFMT_IB_NF;
2944 format |= SND_SOC_DAIFMT_NB_IF;
2968 format |= SND_SOC_DAIFMT_CBM_CFM;
2971 format |= SND_SOC_DAIFMT_CBM_CFS;
2974 format |= SND_SOC_DAIFMT_CBS_CFM;
2977 format |= SND_SOC_DAIFMT_CBS_CFS;
2981 return format;