Lines Matching refs:lf_ratio
110 bool lf_ratio; member
200 static u32 cs2000_rate_to_ratio(u32 rate_in, u32 rate_out, bool lf_ratio) in cs2000_rate_to_ratio() argument
203 u32 multiplier = lf_ratio ? 12 : 20; in cs2000_rate_to_ratio()
217 static unsigned long cs2000_ratio_to_rate(u32 ratio, u32 rate_in, bool lf_ratio) in cs2000_ratio_to_rate() argument
220 u32 multiplier = lf_ratio ? 12 : 20; in cs2000_ratio_to_rate()
243 val = cs2000_rate_to_ratio(rate_in, rate_out, priv->lf_ratio); in cs2000_ratio_set()
305 return cs2000_ratio_to_rate(ratio, parent_rate, priv->lf_ratio); in cs2000_recalc_rate()
314 ratio = cs2000_rate_to_ratio(*parent_rate, rate, priv->lf_ratio); in cs2000_round_rate()
316 return cs2000_ratio_to_rate(ratio, *parent_rate, priv->lf_ratio); in cs2000_round_rate()
334 priv->lf_ratio = priv->dynamic_mode && ((rate / parent_rate) > 4096); in cs2000_select_ratio_mode()
337 priv->lf_ratio ? LFRATIO_20_12 : LFRATIO_12_20); in cs2000_select_ratio_mode()
493 priv->lf_ratio = true; in cs2000_clk_register()