Home
last modified time | relevance | path

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

/freebsd/sys/dev/clk/allwinner/
H A Daw_clk_frac.c190 uint32_t val, m, n, best_m, best_n; in aw_clk_frac_set_freq() local
225 best_m = m; in aw_clk_frac_set_freq()
226 dprintf("This is the one: n=%d m=%d mult=%d\n", best_n, best_m, best_mult); in aw_clk_frac_set_freq()
233 best_m = m; in aw_clk_frac_set_freq()
234 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()
280 m = aw_clk_factor_get_value(&sc->m, best_m); in aw_clk_frac_set_freq()
H A Daw_clk_m.c167 uint32_t val, m, best_m; in aw_clk_m_set_freq() local
174 &best_m); in aw_clk_m_set_freq()
186 &best_m); in aw_clk_m_set_freq()
209 m = aw_clk_factor_get_value(&sc->m, best_m); in aw_clk_m_set_freq()
H A Daw_clk_nm.c180 uint32_t val, m, n, best_m, best_n; in aw_clk_nm_set_freq() local
200 best_m = m; in aw_clk_nm_set_freq()
209 &best_n, &best_m); in aw_clk_nm_set_freq()
240 m = aw_clk_factor_get_value(&sc->m, best_m); in aw_clk_nm_set_freq()
H A Daw_clk_mipi.c149 uint32_t best_k, best_m, best_n; in aw_clk_mipi_set_freq() local
156 best = aw_clk_mipi_find_best(sc, fparent, fout, &best_k, &best_m, &best_n); in aw_clk_mipi_set_freq()
179 m = aw_clk_factor_get_value(&sc->m, best_m); in aw_clk_mipi_set_freq()
H A Daw_clk_nkmp.c255 uint32_t val, best_n, best_k, best_m, best_p; in aw_clk_nkmp_set_freq() local
261 &best_n, &best_k, &best_m, &best_p); in aw_clk_nkmp_set_freq()
281 best_n, best_k, best_m, best_p); in aw_clk_nkmp_set_freq()
291 val |= aw_clk_factor_get_value(&sc->m, best_m) << sc->m.shift; in aw_clk_nkmp_set_freq()
/freebsd/sys/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()
/freebsd/sys/dev/sound/pci/
H A Dvibes.c260 int32_t m, best_m = 0, ms, me, err, min_err; in sv_set_recspeed() local
293 best_m = m - 2; in sv_set_recspeed()
302 sv_indirect_set(sc, SV_REG_ADC_PLLM, best_m); in sv_set_recspeed()
/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_clk_pll.c806 uint32_t best_m, best_n, best_p; in plld2_set_freq() local
849 best_m = m; in plld2_set_freq()
866 rv = pll_set_std(sc, fin, fout, flags, best_m, best_n, best_p); in plld2_set_freq()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dtegra210_clk_pll.c1029 uint32_t best_m, best_n, best_p; in plld2_set_freq() local
1072 best_m = m; in plld2_set_freq()
1089 rv = pll_set_std(sc, fin, fout, flags, best_m, best_n, best_p); in plld2_set_freq()