Home
last modified time | relevance | path

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

/f-stack/freebsd/arm64/rockchip/clk/
H A Drk_clk_armclk.c152 uint64_t best = 0, best_p = 0; in rk_clk_armclk_set_freq() local
166 best_p = best * div; in rk_clk_armclk_set_freq()
186 best_p); in rk_clk_armclk_set_freq()
187 err = clknode_set_freq(p_main, best_p, 0, 1); in rk_clk_armclk_set_freq()
191 best_p); in rk_clk_armclk_set_freq()
195 clknode_get_freq(p_main, &best_p); in rk_clk_armclk_set_freq()
196 dprintf("main parent freq at %ju\n", best_p); in rk_clk_armclk_set_freq()
/f-stack/freebsd/arm/allwinner/clkng/
H A Daw_clk_np.c144 uint32_t val, n, p, best_n, best_p; in aw_clk_np_set_freq() local
152 &best_n, &best_p); in aw_clk_np_set_freq()
175 p = aw_clk_factor_get_value(&sc->p, best_p); in aw_clk_np_set_freq()
H A Daw_clk_nkmp.c262 uint32_t val, best_n, best_k, best_m, best_p; in aw_clk_nkmp_set_freq() local
268 &best_n, &best_k, &best_m, &best_p); in aw_clk_nkmp_set_freq()
288 best_n, best_k, best_m, best_p); in aw_clk_nkmp_set_freq()
299 val |= aw_clk_factor_get_value(&sc->p, best_p) << sc->p.shift; in aw_clk_nkmp_set_freq()
/f-stack/freebsd/arm/ti/clk/
H A Dti_clk_dpll.c190 uint32_t val, n, p, best_n, best_p, timeout; in ti_dpll_clk_set_freq() local
197 &best_n, &best_p); in ti_dpll_clk_set_freq()
236 p = ti_clk_factor_get_value(&sc->p, best_p); in ti_dpll_clk_set_freq()
/f-stack/freebsd/arm/nvidia/tegra124/
H A Dtegra124_clk_pll.c797 uint32_t best_m, best_n, best_p; in plld2_set_freq() local
839 best_p = p; in plld2_set_freq()
857 rv = pll_set_std(sc, fin, fout, flags, best_m, best_n, best_p); in plld2_set_freq()
/f-stack/freebsd/arm64/nvidia/tegra210/
H A Dtegra210_clk_pll.c1020 uint32_t best_m, best_n, best_p; in plld2_set_freq() local
1062 best_p = p; in plld2_set_freq()
1080 rv = pll_set_std(sc, fin, fout, flags, best_m, best_n, best_p); in plld2_set_freq()