Home
last modified time | relevance | path

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

/f-stack/freebsd/arm/allwinner/clkng/
H A Daw_clk_m.c172 uint32_t val, m, best_m; in aw_clk_m_set_freq() local
189 &best_m); in aw_clk_m_set_freq()
192 &best_m); in aw_clk_m_set_freq()
215 m = aw_clk_factor_get_value(&sc->m, best_m); in aw_clk_m_set_freq()
H A Daw_clk_frac.c195 uint32_t val, m, n, best_m, best_n; in aw_clk_frac_set_freq() local
230 best_m = m; in aw_clk_frac_set_freq()
231 dprintf("This is the one: n=%d m=%d mult=%d\n", best_n, best_m, best_mult); in aw_clk_frac_set_freq()
238 best_m = m; in aw_clk_frac_set_freq()
239 dprintf("This is the best for now: n=%d m=%d mult=%d\n", best_n, best_m, best_mult); in aw_clk_frac_set_freq()
285 m = aw_clk_factor_get_value(&sc->m, best_m); in aw_clk_frac_set_freq()
H A Daw_clk_nm.c185 uint32_t val, m, n, best_m, best_n; in aw_clk_nm_set_freq() local
205 best_m = m; in aw_clk_nm_set_freq()
214 &best_n, &best_m); in aw_clk_nm_set_freq()
245 m = aw_clk_factor_get_value(&sc->m, best_m); in aw_clk_nm_set_freq()
H A Daw_clk_mipi.c157 uint32_t best_k, best_m, best_n; in aw_clk_mipi_set_freq() local
164 best = aw_clk_mipi_find_best(sc, fparent, fout, &best_k, &best_m, &best_n); in aw_clk_mipi_set_freq()
187 m = aw_clk_factor_get_value(&sc->m, best_m); in aw_clk_mipi_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()
298 val |= aw_clk_factor_get_value(&sc->m, best_m) << sc->m.shift; in aw_clk_nkmp_set_freq()
/f-stack/freebsd/net/altq/
H A Daltq_fairq.c540 struct mbuf *best_m; in fairq_dequeue() local
563 best_m = NULL; in fairq_dequeue()
582 best_m = m; in fairq_dequeue()
595 m = best_m; in fairq_dequeue()
/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
840 best_m = m; 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
1063 best_m = m; in plld2_set_freq()
1080 rv = pll_set_std(sc, fin, fout, flags, best_m, best_n, best_p); in plld2_set_freq()