Searched refs:clkt (Results 1 – 8 of 8) sorted by relevance
20 const struct clk_factor_table *clkt; in _get_table_maxval() local22 for (clkt = table; clkt->div; clkt++) in _get_table_maxval()23 if (clkt->val > maxval) in _get_table_maxval()24 maxval = clkt->val; in _get_table_maxval()31 const struct clk_factor_table *clkt; in _get_table_div_mul() local33 for (clkt = table; clkt->div; clkt++) { in _get_table_div_mul()34 if (clkt->val == val) { in _get_table_div_mul()35 *mul = clkt->mul; in _get_table_div_mul()36 *div = clkt->div; in _get_table_div_mul()47 const struct clk_factor_table *clkt; in _get_table_val() local[all …]
34 const struct clk_pll_table *clkt; in _get_table_rate() local36 for (clkt = table; clkt->rate; clkt++) in _get_table_rate()37 if (clkt->val == val) in _get_table_rate()38 return clkt->rate; in _get_table_rate()46 const struct clk_pll_table *clkt; in _get_pll_table() local48 for (clkt = table; clkt->rate; clkt++) { in _get_pll_table()49 if (clkt->rate == rate) { in _get_pll_table()50 table = clkt; in _get_pll_table()52 } else if (clkt->rate < rate) in _get_pll_table()53 table = clkt; in _get_pll_table()[all …]
48 const struct clk_div_table *clkt; in _get_table_maxdiv() local50 for (clkt = table; clkt->div; clkt++) in _get_table_maxdiv()51 if (clkt->div > maxdiv && clkt->val <= mask) in _get_table_maxdiv()52 maxdiv = clkt->div; in _get_table_maxdiv()59 const struct clk_div_table *clkt; in _get_table_mindiv() local61 for (clkt = table; clkt->div; clkt++) in _get_table_mindiv()62 if (clkt->div < mindiv) in _get_table_mindiv()63 mindiv = clkt->div; in _get_table_mindiv()82 const struct clk_div_table *clkt; in _get_table_div() local84 for (clkt = table; clkt->div; clkt++) in _get_table_div()[all …]
32 const struct clk_div_table *clkt; in _get_table_div() local34 for (clkt = table; clkt->div; clkt++) in _get_table_div()35 if (clkt->val == val) in _get_table_div()36 return clkt->div; in _get_table_div()44 const struct clk_div_table *clkt; in _setup_mask() local49 for (clkt = divider->table; clkt->div; clkt++) in _setup_mask()50 if (clkt->val > max_val) in _setup_mask()51 max_val = clkt->val; in _setup_mask()82 const struct clk_div_table *clkt; in _get_table_val() local84 for (clkt = table; clkt->div; clkt++) in _get_table_val()[all …]
31 struct clk_div_table *clkt; in _get_maxdiv() local38 for (clkt = mix->div_table; clkt->div; clkt++) in _get_maxdiv()39 if (clkt->div > maxdiv) in _get_maxdiv()40 maxdiv = clkt->div; in _get_maxdiv()48 struct clk_div_table *clkt; in _get_div() local55 for (clkt = mix->div_table; clkt->div; clkt++) in _get_div()56 if (clkt->val == val) in _get_div()57 return clkt->div; in _get_div()58 if (clkt->div == 0) in _get_div()85 struct clk_div_table *clkt; in _get_div_val() local[all …]
1387 const struct clk_div_table *clkt; in clk_regmap_clk_div_recalc_rate() local1395 for (clkt = pll->div_table; clkt->div; clkt++) { in clk_regmap_clk_div_recalc_rate()1396 if (clkt->val == cdiv) in clk_regmap_clk_div_recalc_rate()1397 pre_div = clkt->div; in clk_regmap_clk_div_recalc_rate()
656 const struct clk_div_table *clkt; in armada_3700_add_composite_clk() local660 for (clkt = rate->table; clkt->div; clkt++) in armada_3700_add_composite_clk()
925 const struct clk_div_table *clkt; in _get_table_div() local927 for (clkt = table; clkt->div; clkt++) in _get_table_div()928 if (clkt->val == val) in _get_table_div()929 return clkt->div; in _get_table_div()