Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_nkm.c25 unsigned long best_n = 0, best_k = 0, best_m = 0; in ccu_nkm_find_best_with_parent_adj() local
42 best_k = _k; in ccu_nkm_find_best_with_parent_adj()
50 nkm->k = best_k; in ccu_nkm_find_best_with_parent_adj()
62 unsigned long best_n = 0, best_k = 0, best_m = 0; in ccu_nkm_find_best() local
75 best_k = _k; in ccu_nkm_find_best()
83 nkm->k = best_k; in ccu_nkm_find_best()
H A Dccu_nk.c22 unsigned int best_k = 0, best_n = 0; in ccu_nk_find_best() local
34 best_k = _k; in ccu_nk_find_best()
40 nk->k = best_k; in ccu_nk_find_best()
H A Dccu_nkmp.c36 unsigned long best_n = 0, best_k = 0, best_m = 0, best_p = 0; in ccu_nkmp_find_best() local
55 best_k = _k; in ccu_nkmp_find_best()
65 nkmp->k = best_k; in ccu_nkmp_find_best()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dclock_sun6i.c222 unsigned best_k = 0, best_m = 0, best_n = 0, best_diff = 0xffffffff; in clock_set_mipi_pll() local
240 best_k = k; in clock_set_mipi_pll()
252 CCM_MIPI_PLL_CTRL_N(best_n) | CCM_MIPI_PLL_CTRL_K(best_k) | in clock_set_mipi_pll()
/openbmc/linux/drivers/video/fbdev/
H A Dtridentfb.c841 unsigned char best_m = 0, best_n = 0, best_k = 0; in set_vclk() local
852 if (di < d || (di == d && k == best_k)) { in set_vclk()
856 best_k = k; in set_vclk()
865 hi = (best_m >> 1) | (best_k << 4); in set_vclk()
868 hi = best_m | (best_k << 6); in set_vclk()
H A Dtdfxfb.c290 int m, n, k, best_m, best_n, best_k, best_error; in do_calc_pll() local
294 best_n = best_m = best_k = 0; in do_calc_pll()
323 best_k = k; in do_calc_pll()
331 k = best_k; in do_calc_pll()