Home
last modified time | relevance | path

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

/linux/drivers/clk/actions/
A Dowl-factor.c21 for (clkt = table; clkt->div; clkt++) in _get_table_maxval()
23 maxval = clkt->val; in _get_table_maxval()
32 for (clkt = table; clkt->div; clkt++) { in _get_table_div_mul()
34 *mul = clkt->mul; in _get_table_div_mul()
35 *div = clkt->div; in _get_table_div_mul()
50 for (clkt = table; clkt->div; clkt++) { in _get_table_val()
55 val = clkt->val; in _get_table_val()
84 for (clkt = factor_hw->table; clkt->div; clkt++) { in owl_clk_val_best()
85 try_parent_rate = rate * clkt->div / clkt->mul; in owl_clk_val_best()
89 __func__, clkt->val, clkt->mul, clkt->div, in owl_clk_val_best()
[all …]
A 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()
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()
69 return clkt->rate; in owl_pll_round_rate()
[all …]
/linux/drivers/clk/
A Dclk-divider.c51 for (clkt = table; clkt->div; clkt++) in _get_table_maxdiv()
52 if (clkt->div > maxdiv && clkt->val <= mask) in _get_table_maxdiv()
62 for (clkt = table; clkt->div; clkt++) in _get_table_mindiv()
85 for (clkt = table; clkt->div; clkt++) in _get_table_div()
87 return clkt->div; in _get_table_div()
110 for (clkt = table; clkt->div; clkt++) in _get_table_val()
112 return clkt->val; in _get_table_val()
167 for (clkt = table; clkt->div; clkt++) in _is_valid_table_div()
188 for (clkt = table; clkt->div; clkt++) { in _round_up_table()
195 up = clkt->div; in _round_up_table()
[all …]
/linux/drivers/clk/ti/
A Ddivider.c34 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()
49 for (clkt = divider->table; clkt->div; clkt++) in _setup_mask()
84 for (clkt = table; clkt->div; clkt++) in _get_table_val()
86 return clkt->val; in _get_table_val()
132 for (clkt = table; clkt->div; clkt++) in _is_valid_table_div()
154 for (clkt = table; clkt->div; clkt++) { in _div_round_up()
156 return clkt->div; in _div_round_up()
161 up = clkt->div; in _div_round_up()
[all …]
/linux/drivers/clk/mmp/
A Dclk-mix.c38 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()
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()
92 for (clkt = mix->div_table; clkt->div; clkt++) in _get_div_val()
93 if (clkt->div == div) in _get_div_val()
94 return clkt->val; in _get_div_val()
[all …]
/linux/drivers/clk/qcom/
A Dgcc-ipq4019.c1386 const struct clk_div_table *clkt; in clk_regmap_clk_div_recalc_rate() local
1394 for (clkt = pll->div_table; clkt->div; clkt++) { in clk_regmap_clk_div_recalc_rate()
1395 if (clkt->val == cdiv) in clk_regmap_clk_div_recalc_rate()
1396 pre_div = clkt->div; in clk_regmap_clk_div_recalc_rate()
/linux/drivers/clk/mvebu/
A 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/drivers/clk/nxp/
A 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()

Completed in 27 milliseconds