Lines Matching refs:clkt
24 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()
77 if (clkt->div == div) in _get_table_val()
78 return clkt->val; in _get_table_val()
122 const struct clk_div_table *clkt; in _is_valid_table_div() local
124 for (clkt = table; clkt->div; clkt++) in _is_valid_table_div()
125 if (clkt->div == div) in _is_valid_table_div()
142 const struct clk_div_table *clkt; in _div_round_up() local
146 for (clkt = table; clkt->div; clkt++) { in _div_round_up()
147 if (clkt->div == div) in _div_round_up()
148 return clkt->div; in _div_round_up()
149 else if (clkt->div < div) in _div_round_up()
152 if ((clkt->div - div) < (up - div)) in _div_round_up()
153 up = clkt->div; in _div_round_up()
440 const struct clk_div_table *clkt; in _populate_divider_min_max() local
453 for (clkt = divider->table; clkt->div; clkt++) { in _populate_divider_min_max()
454 val = clkt->div; in _populate_divider_min_max()