Lines Matching refs:mmp_clk_mix
22 #define to_clk_mix(hw) container_of(hw, struct mmp_clk_mix, hw)
24 static unsigned int _get_maxdiv(struct mmp_clk_mix *mix) in _get_maxdiv()
43 static unsigned int _get_div(struct mmp_clk_mix *mix, unsigned int val) in _get_div()
61 static unsigned int _get_mux(struct mmp_clk_mix *mix, unsigned int val) in _get_mux()
80 static unsigned int _get_div_val(struct mmp_clk_mix *mix, unsigned int div) in _get_div_val()
99 static unsigned int _get_mux_val(struct mmp_clk_mix *mix, unsigned int mux) in _get_mux_val()
107 static void _filter_clk_table(struct mmp_clk_mix *mix, in _filter_clk_table()
131 static int _set_rate(struct mmp_clk_mix *mix, u32 mux_val, u32 div_val, in _set_rate()
204 struct mmp_clk_mix *mix = to_clk_mix(hw); in mmp_clk_mix_determine_rate()
275 struct mmp_clk_mix *mix = to_clk_mix(hw); in mmp_clk_mix_set_rate_and_parent()
288 struct mmp_clk_mix *mix = to_clk_mix(hw); in mmp_clk_mix_get_parent()
318 struct mmp_clk_mix *mix = to_clk_mix(hw); in mmp_clk_mix_recalc_rate()
347 struct mmp_clk_mix *mix = to_clk_mix(hw); in mmp_clk_set_parent()
376 struct mmp_clk_mix *mix = to_clk_mix(hw); in mmp_clk_set_rate()
421 struct mmp_clk_mix *mix = to_clk_mix(hw); in mmp_clk_mix_init()
447 struct mmp_clk_mix *mix; in mmp_clk_register_mix()