Home
last modified time | relevance | path

Searched refs:mmp_clk_mix (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/clk/mmp/
H A Dclk-mix.c22 #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()
[all …]
H A Dclk.h86 struct mmp_clk_mix { struct