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_round_rate()
112 struct meson_sclk_div_data *sclk) in sclk_apply_ratio()
128 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_set_duty_cycle()
142 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_get_duty_cycle()
158 struct meson_sclk_div_data *sclk) in sclk_apply_divider()
170 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_set_rate()
185 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_recalc_rate()
193 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_enable()
203 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_disable()
211 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_is_enabled()
222 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_init()