Home
last modified time | relevance | path

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

/freebsd/sys/dev/clk/rockchip/
H A Drk_clk_composite.c197 uint32_t best_div, best_div_reg; in rk_clk_composite_find_best() local
202 best_div_reg = 0; in rk_clk_composite_find_best()
214 best_div_reg = div_reg; in rk_clk_composite_find_best()
218 *reg = best_div_reg; in rk_clk_composite_find_best()
230 uint32_t div, div_reg, best_div, best_div_reg, val; in rk_clk_composite_set_freq() local
247 best_div_reg = div_reg; in rk_clk_composite_set_freq()
277 dprintf("Setting divider to %d (reg: %d)\n", best_div, best_div_reg); in rk_clk_composite_set_freq()
282 val = best_div_reg << sc->div_shift; in rk_clk_composite_set_freq()