Home
last modified time | relevance | path

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

/u-boot/drivers/clk/
A Dclk-divider.c34 const struct clk_div_table *clkt; in clk_divider_get_table_div() local
36 for (clkt = table; clkt->div; clkt++) in clk_divider_get_table_div()
37 if (clkt->val == val) in clk_divider_get_table_div()
38 return clkt->div; in clk_divider_get_table_div()
95 const struct clk_div_table *clkt; in clk_divider_is_valid_table_div() local
97 for (clkt = table; clkt->div; clkt++) in clk_divider_is_valid_table_div()
98 if (clkt->div == div) in clk_divider_is_valid_table_div()
116 const struct clk_div_table *clkt; in clk_divider_get_table_val() local
118 for (clkt = table; clkt->div; clkt++) in clk_divider_get_table_val()
119 if (clkt->div == div) in clk_divider_get_table_val()
[all …]
/u-boot/drivers/clk/ti/
A Dclk-divider.c74 const struct clk_div_table *clkt; in _div_round_up() local
78 for (clkt = table; clkt->div; clkt++) { in _div_round_up()
79 if (clkt->div == div) in _div_round_up()
80 return clkt->div; in _div_round_up()
81 else if (clkt->div < div) in _div_round_up()
84 if ((clkt->div - div) < (up - div)) in _div_round_up()
85 up = clkt->div; in _div_round_up()

Completed in 3 milliseconds