Lines Matching refs:clkt
32 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()
85 if (clkt->div == div) in _get_table_val()
86 return clkt->val; in _get_table_val()
130 const struct clk_div_table *clkt; in _is_valid_table_div() local
132 for (clkt = table; clkt->div; clkt++) in _is_valid_table_div()
133 if (clkt->div == div) in _is_valid_table_div()
150 const struct clk_div_table *clkt; in _div_round_up() local
154 for (clkt = table; clkt->div; clkt++) { in _div_round_up()
155 if (clkt->div == div) in _div_round_up()
156 return clkt->div; in _div_round_up()
157 else if (clkt->div < div) in _div_round_up()
160 if ((clkt->div - div) < (up - div)) in _div_round_up()
161 up = clkt->div; in _div_round_up()
452 const struct clk_div_table *clkt; in _populate_divider_min_max() local
465 for (clkt = divider->table; clkt->div; clkt++) { in _populate_divider_min_max()
466 val = clkt->div; in _populate_divider_min_max()