Searched refs:clkt (Results 1 – 10 of 10) sorted by relevance
19 const struct clk_factor_table *clkt; in _get_table_maxval() local21 for (clkt = table; clkt->div; clkt++) in _get_table_maxval()22 if (clkt->val > maxval) in _get_table_maxval()23 maxval = clkt->val; in _get_table_maxval()30 const struct clk_factor_table *clkt; in _get_table_div_mul() local32 for (clkt = table; clkt->div; clkt++) { in _get_table_div_mul()33 if (clkt->val == val) { in _get_table_div_mul()34 *mul = clkt->mul; in _get_table_div_mul()35 *div = clkt->div; in _get_table_div_mul()46 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 …]
49 const struct clk_div_table *clkt; in _get_table_maxdiv() local51 for (clkt = table; clkt->div; clkt++) in _get_table_maxdiv()52 if (clkt->div > maxdiv && clkt->val <= mask) in _get_table_maxdiv()53 maxdiv = clkt->div; in _get_table_maxdiv()60 const struct clk_div_table *clkt; in _get_table_mindiv() local62 for (clkt = table; clkt->div; clkt++) in _get_table_mindiv()63 if (clkt->div < mindiv) in _get_table_mindiv()64 mindiv = clkt->div; in _get_table_mindiv()83 const struct clk_div_table *clkt; in _get_table_div() local85 for (clkt = table; clkt->div; clkt++) in _get_table_div()[all …]
474 const struct clk_div_table *clkt; in vc3_get_div() local476 for (clkt = table; clkt->div; clkt++) in vc3_get_div()477 if (clkt->val == val) in vc3_get_div()478 return clkt->div; in vc3_get_div()
24 const struct clk_div_table *clkt; in _get_table_div() local26 for (clkt = table; clkt->div; clkt++) in _get_table_div()27 if (clkt->val == val) in _get_table_div()28 return clkt->div; in _get_table_div()36 const struct clk_div_table *clkt; in _setup_mask() local41 for (clkt = divider->table; clkt->div; clkt++) in _setup_mask()42 if (clkt->val > max_val) in _setup_mask()43 max_val = clkt->val; in _setup_mask()74 const struct clk_div_table *clkt; in _get_table_val() local76 for (clkt = table; clkt->div; clkt++) in _get_table_val()[all …]
28 struct clk_div_table *clkt; in _get_maxdiv() local35 for (clkt = mix->div_table; clkt->div; clkt++) in _get_maxdiv()36 if (clkt->div > maxdiv) in _get_maxdiv()37 maxdiv = clkt->div; in _get_maxdiv()45 struct clk_div_table *clkt; in _get_div() local52 for (clkt = mix->div_table; clkt->div; clkt++) in _get_div()53 if (clkt->val == val) in _get_div()54 return clkt->div; in _get_div()55 if (clkt->div == 0) in _get_div()82 struct clk_div_table *clkt; in _get_div_val() local[all …]
185 const struct clk_div_table *clkt; in _get_table_div() local187 for (clkt = table; clkt->div; clkt++) in _get_table_div()188 if (clkt->val == val) in _get_table_div()189 return clkt->div; in _get_table_div()
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()
264 const struct clk_div_table *clkt; in clk_regmap_clk_div_recalc_rate() local272 for (clkt = pll->div_table; clkt->div; clkt++) { in clk_regmap_clk_div_recalc_rate()273 if (clkt->val == cdiv) in clk_regmap_clk_div_recalc_rate()274 pre_div = clkt->div; in clk_regmap_clk_div_recalc_rate()
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()