Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/clk/mmp/
Dclk-mix.c25 #define to_clk_mix(hw) container_of(hw, struct mmp_clk_mix, hw)
27 static unsigned int _get_maxdiv(struct mmp_clk_mix *mix) in _get_maxdiv()
46 static unsigned int _get_div(struct mmp_clk_mix *mix, unsigned int val) in _get_div()
64 static unsigned int _get_mux(struct mmp_clk_mix *mix, unsigned int val) in _get_mux()
83 static unsigned int _get_div_val(struct mmp_clk_mix *mix, unsigned int div) in _get_div_val()
102 static unsigned int _get_mux_val(struct mmp_clk_mix *mix, unsigned int mux) in _get_mux_val()
110 static void _filter_clk_table(struct mmp_clk_mix *mix, in _filter_clk_table()
134 static int _set_rate(struct mmp_clk_mix *mix, u32 mux_val, u32 div_val, in _set_rate()
207 struct mmp_clk_mix *mix = to_clk_mix(hw); in mmp_clk_mix_determine_rate()
278 struct mmp_clk_mix *mix = to_clk_mix(hw); in mmp_clk_mix_set_rate_and_parent()
[all …]
Dclk.h86 struct mmp_clk_mix { struct