Lines Matching defs:fmt
442 unsigned int fmt)
450 if (!fmt)
454 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
495 switch (fmt & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) {
569 switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
606 mcasp->dai_fmt = fmt;
794 u32 fmt;
823 fmt = (slot_width >> 1) - 1;
826 mcasp_mod_bits(mcasp, DAVINCI_MCASP_RXFMT_REG, RXSSZ(fmt),
828 mcasp_mod_bits(mcasp, DAVINCI_MCASP_TXFMT_REG, TXSSZ(fmt),
1329 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT);
1338 if (snd_mask_test_format(fmt, i)) {
1345 return snd_mask_refine(fmt, &nfmt);
1352 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT);
1361 if (snd_mask_test_format(fmt, i)) {
1368 return snd_mask_refine(fmt, &nfmt);
1432 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT);
1442 if (snd_mask_test_format(fmt, i)) {
1469 return snd_mask_refine(fmt, &nfmt);