Lines Matching defs:fmt
45 unsigned int fmt = 0;
63 fmt |= SNDRV_PCM_FMTBIT_S32_LE;
66 fmt |= SNDRV_PCM_FMTBIT_S24_LE;
67 fmt |= SNDRV_PCM_FMTBIT_S20_LE;
70 fmt |= SNDRV_PCM_FMTBIT_S16_LE;
73 fmt |= SNDRV_PCM_FMTBIT_S8;
86 dai->driver->playback.formats = fmt;
92 dai->driver->capture.formats = fmt;
118 static int axg_tdm_iface_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
122 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
141 iface->fmt = fmt;
217 switch (iface->fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
249 axg_tdm_lrclk_invert(iface->fmt) ? 180 : 0);
289 axg_tdm_sclk_invert(iface->fmt) ? 0 : 180);
305 switch (iface->fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
329 if ((iface->fmt & SND_SOC_DAIFMT_MASTER_MASK) ==