Lines Matching defs:fmt
257 u32 fmt;
628 u32 fmt = fsi->fmt;
638 fmt |= CR_BWS_24;
643 fmt |= CR_BWS_16;
649 fmt |= CR_BWS_24;
662 fsi_reg_write(fsi, DO_FMT, fmt);
664 fsi_reg_write(fsi, DI_FMT, fmt);
1612 static int fsi_set_fmt_dai(struct fsi_priv *fsi, unsigned int fmt)
1614 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
1616 fsi->fmt = CR_I2S;
1620 fsi->fmt = CR_PCM;
1637 fsi->fmt = CR_DTMD_SPDIF_PCM | CR_PCM;
1643 static int fsi_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
1649 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
1660 switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
1693 ret = fsi_set_fmt_dai(fsi, fmt & SND_SOC_DAIFMT_FORMAT_MASK);