Lines Matching refs:meson_sclk_div_data
25 static inline struct meson_sclk_div_data *
26 meson_sclk_div_data(struct clk_regmap *clk) in meson_sclk_div_data() function
28 return (struct meson_sclk_div_data *)clk->data; in meson_sclk_div_data()
31 static int sclk_div_maxval(struct meson_sclk_div_data *sclk) in sclk_div_maxval()
36 static int sclk_div_maxdiv(struct meson_sclk_div_data *sclk) in sclk_div_maxdiv()
51 struct meson_sclk_div_data *sclk) in sclk_div_bestdiv()
103 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_determine_rate()
113 struct meson_sclk_div_data *sclk) in sclk_apply_ratio()
129 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_set_duty_cycle()
143 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_get_duty_cycle()
159 struct meson_sclk_div_data *sclk) in sclk_apply_divider()
171 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_set_rate()
186 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_recalc_rate()
194 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_enable()
204 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_disable()
212 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_is_enabled()
223 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_init()