Lines Matching refs:clk_div_table
35 static unsigned int _get_table_maxdiv(const struct clk_div_table *table) in _get_table_maxdiv()
38 const struct clk_div_table *clkt; in _get_table_maxdiv()
46 static unsigned int _get_table_mindiv(const struct clk_div_table *table) in _get_table_mindiv()
49 const struct clk_div_table *clkt; in _get_table_mindiv()
57 static unsigned int _get_maxdiv(const struct clk_div_table *table, u8 width, in _get_maxdiv()
69 static unsigned int _get_table_div(const struct clk_div_table *table, in _get_table_div()
72 const struct clk_div_table *clkt; in _get_table_div()
80 static unsigned int _get_div(const struct clk_div_table *table, in _get_div()
94 static unsigned int _get_table_val(const struct clk_div_table *table, in _get_table_val()
97 const struct clk_div_table *clkt; in _get_table_val()
105 static unsigned int _get_val(const struct clk_div_table *table, in _get_val()
121 const struct clk_div_table *table, in divider_recalc_rate()
152 static bool _is_valid_table_div(const struct clk_div_table *table, in _is_valid_table_div()
155 const struct clk_div_table *clkt; in _is_valid_table_div()
163 static bool _is_valid_div(const struct clk_div_table *table, unsigned int div, in _is_valid_div()
173 static int _round_up_table(const struct clk_div_table *table, int div) in _round_up_table()
175 const struct clk_div_table *clkt; in _round_up_table()
191 static int _round_down_table(const struct clk_div_table *table, int div) in _round_down_table()
193 const struct clk_div_table *clkt; in _round_down_table()
209 static int _div_round_up(const struct clk_div_table *table, in _div_round_up()
223 static int _div_round_closest(const struct clk_div_table *table, in _div_round_closest()
247 static int _div_round(const struct clk_div_table *table, in _div_round()
266 static int _next_div(const struct clk_div_table *table, int div, in _next_div()
281 const struct clk_div_table *table, u8 width, in clk_divider_bestdiv()
338 unsigned long *prate, const struct clk_div_table *table, in divider_round_rate()
369 const struct clk_div_table *table, u8 width, in divider_get_val()
434 u8 clk_divider_flags, const struct clk_div_table *table, in _register_divider()
519 u8 clk_divider_flags, const struct clk_div_table *table, in clk_register_divider_table()