Lines Matching full:rfs
67 unsigned rfs, bfs; member
252 u32 rfs; in get_rfs() local
254 rfs = readl(priv->addr + I2SMOD) >> priv->variant_regs->rfs_off; in get_rfs()
255 rfs &= priv->variant_regs->rfs_mask; in get_rfs()
257 switch (rfs) { in get_rfs()
270 static inline void set_rfs(struct i2s_dai *i2s, unsigned rfs) in set_rfs() argument
278 switch (rfs) { in set_rfs()
503 static int i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int rfs, in i2s_set_sysclk() argument
531 rfs = 0; in i2s_set_sysclk()
533 if ((rfs && other && other->rfs && (other->rfs != rfs)) || in i2s_set_sysclk()
548 i2s->rfs = rfs; in i2s_set_sysclk()
865 /* Reset any constraint on RFS and BFS */ in i2s_shutdown()
866 i2s->rfs = 0; in i2s_shutdown()
878 unsigned rfs, bfs, blc; in config_setup() local
892 rfs = i2s->rfs; in config_setup()
894 if (!rfs && other) in config_setup()
895 rfs = other->rfs; in config_setup()
897 if ((rfs == 256 || rfs == 512) && (blc == 24)) { in config_setup()
899 "%d-RFS not supported for 24-blc\n", rfs); in config_setup()
903 if (!rfs) { in config_setup()
905 rfs = 256; in config_setup()
907 rfs = 384; in config_setup()
911 if (any_active(i2s) && (get_rfs(i2s) != rfs || get_bfs(i2s) != bfs)) { in config_setup()
918 set_rfs(i2s, rfs); in config_setup()
925 psr = priv->rclk_srcrate / i2s->frmclk / rfs; in config_setup()
929 priv->rclk_srcrate, psr, rfs, bfs); in config_setup()
1078 /* Reset any constraint on RFS and BFS */ in samsung_i2s_dai_probe()
1079 i2s->rfs = 0; in samsung_i2s_dai_probe()