Searched refs:best_p (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | chipone-icn6211.c | 253 unsigned int best_p = 0, best_m = 0, best_s = 0; in chipone_configure_pll() local 316 best_p = p; in chipone_configure_pll() 324 best_p_pot = !(best_p & 1); in chipone_configure_pll() 328 best_p >> best_p_pot, best_p_pot, best_m, best_s + 1, in chipone_configure_pll() 330 (fin * best_m) / (best_p << (best_s + 1))); in chipone_configure_pll() 332 ref_div = PLL_REF_DIV_P(best_p >> best_p_pot) | PLL_REF_DIV_S(best_s); in chipone_configure_pll()
|
H A D | samsung-dsim.c | 560 u8 _p, best_p; in samsung_dsim_pll_find_pms() local 589 best_p = _p; in samsung_dsim_pll_find_pms() 599 *p = best_p; in samsung_dsim_pll_find_pms()
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_nkmp.c | 36 unsigned long best_n = 0, best_k = 0, best_m = 0, best_p = 0; in ccu_nkmp_find_best() local 57 best_p = _p; in ccu_nkmp_find_best() 67 nkmp->p = best_p; in ccu_nkmp_find_best()
|
H A D | ccu_mp.c | 18 unsigned int best_m = 0, best_p = 0; in ccu_mp_find_best() local 31 best_p = _p; in ccu_mp_find_best() 37 *p = best_p; in ccu_mp_find_best()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | gbefb.c | 457 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local 472 best_n = best_m = best_p = 0; in compute_gbe_timing() 492 best_p = pll_p; in compute_gbe_timing() 500 (best_n << best_p) / best_m; in compute_gbe_timing() 508 timing->pll_p = best_p; in compute_gbe_timing()
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/ |
H A D | clock.c | 1068 u32 diff, best_diff, best_m = 0, best_n = 0, best_p; in clock_set_display_rate() local 1083 best_p = divp; in clock_set_display_rate() 1123 rounded_rate = (ref / best_m * best_n) >> best_p; in clock_set_display_rate() 1127 __func__, rounded_rate, ref, best_m, best_n, best_p, cpcon); in clock_set_display_rate() 1132 clock_set_rate(CLOCK_ID_DISPLAY, best_n, best_m, best_p, cpcon); in clock_set_display_rate()
|