Lines Matching refs:rfs
65 unsigned rfs, bfs; member
246 u32 rfs; in get_rfs() local
248 rfs = readl(priv->addr + I2SMOD) >> priv->variant_regs->rfs_off; in get_rfs()
249 rfs &= priv->variant_regs->rfs_mask; in get_rfs()
251 switch (rfs) { in get_rfs()
264 static inline void set_rfs(struct i2s_dai *i2s, unsigned rfs) in set_rfs() argument
272 switch (rfs) { in set_rfs()
497 static int i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int rfs, in i2s_set_sysclk() argument
525 rfs = 0; in i2s_set_sysclk()
527 if ((rfs && other && other->rfs && (other->rfs != rfs)) || in i2s_set_sysclk()
542 i2s->rfs = rfs; in i2s_set_sysclk()
860 i2s->rfs = 0; in i2s_shutdown()
872 unsigned rfs, bfs, blc; in config_setup() local
886 rfs = i2s->rfs; in config_setup()
888 if (!rfs && other) in config_setup()
889 rfs = other->rfs; in config_setup()
891 if ((rfs == 256 || rfs == 512) && (blc == 24)) { in config_setup()
893 "%d-RFS not supported for 24-blc\n", rfs); in config_setup()
897 if (!rfs) { in config_setup()
899 rfs = 256; in config_setup()
901 rfs = 384; in config_setup()
905 if (any_active(i2s) && (get_rfs(i2s) != rfs || get_bfs(i2s) != bfs)) { in config_setup()
912 set_rfs(i2s, rfs); in config_setup()
919 psr = priv->rclk_srcrate / i2s->frmclk / rfs; in config_setup()
923 priv->rclk_srcrate, psr, rfs, bfs); in config_setup()
1066 i2s->rfs = 0; in samsung_i2s_dai_probe()