Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clk/actions/
Dowl-factor.c20 const struct clk_factor_table *clkt; in _get_table_maxval() local
22 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() local
33 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 …]
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 …]
/kernel/linux/linux-5.10/drivers/clk/
Dclk-divider.c48 const struct clk_div_table *clkt; in _get_table_maxdiv() local
50 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() local
61 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() local
84 for (clkt = table; clkt->div; clkt++) in _get_table_div()
[all …]
/kernel/linux/linux-5.10/drivers/clk/ti/
Ddivider.c32 const struct clk_div_table *clkt; in _get_table_div() local
34 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() local
49 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() local
84 for (clkt = table; clkt->div; clkt++) in _get_table_val()
[all …]
/kernel/linux/linux-5.10/drivers/clk/mmp/
Dclk-mix.c31 struct clk_div_table *clkt; in _get_maxdiv() local
38 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() local
55 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 …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dgcc-ipq4019.c1387 const struct clk_div_table *clkt; in clk_regmap_clk_div_recalc_rate() local
1395 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()