Home
last modified time | relevance | path

Searched refs:clkt (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/clk/actions/
Dowl-factor.c19 const struct clk_factor_table *clkt; in _get_table_maxval() local
21 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() local
32 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 …]
Dowl-pll.c34 const struct clk_pll_table *clkt; in _get_table_rate() local
36 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() local
48 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 …]
/Linux-v6.6/drivers/clk/
Dclk-divider.c49 const struct clk_div_table *clkt; in _get_table_maxdiv() local
51 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() local
62 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() local
85 for (clkt = table; clkt->div; clkt++) in _get_table_div()
[all …]
Dclk-versaclock3.c474 const struct clk_div_table *clkt; in vc3_get_div() local
476 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()
/Linux-v6.6/drivers/clk/ti/
Ddivider.c24 const struct clk_div_table *clkt; in _get_table_div() local
26 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() local
41 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() local
76 for (clkt = table; clkt->div; clkt++) in _get_table_val()
[all …]
/Linux-v6.6/drivers/clk/mmp/
Dclk-mix.c28 struct clk_div_table *clkt; in _get_maxdiv() local
35 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() local
52 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 …]
/Linux-v6.6/drivers/clk/stm32/
Dclk-stm32-core.c185 const struct clk_div_table *clkt; in _get_table_div() local
187 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()
/Linux-v6.6/drivers/clk/mvebu/
Darmada-37xx-periph.c656 const struct clk_div_table *clkt; in armada_3700_add_composite_clk() local
660 for (clkt = rate->table; clkt->div; clkt++) in armada_3700_add_composite_clk()
/Linux-v6.6/drivers/clk/qcom/
Dgcc-ipq4019.c264 const struct clk_div_table *clkt; in clk_regmap_clk_div_recalc_rate() local
272 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()
/Linux-v6.6/drivers/clk/nxp/
Dclk-lpc32xx.c925 const struct clk_div_table *clkt; in _get_table_div() local
927 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()