Home
last modified time | relevance | path

Searched refs:best_n (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/video/sunxi/
Dlcdc.c215 int best_n = 0, best_m = 0, best_diff = 0x0FFFFFFF; in lcdc_pll_set() local
248 best_n = n; in lcdc_pll_set()
266 best_n = n; in lcdc_pll_set()
277 if (tcon == 0 && best_n == 0) { in lcdc_pll_set()
290 clock_set_pll3(best_n * 3000000); in lcdc_pll_set()
294 best_double + 1, best_n, best_m); in lcdc_pll_set()
Dsunxi_dw_hdmi.c213 int best_n = 0, best_m = 0, best_diff = 0x0FFFFFFF; in sunxi_dw_hdmi_pll_set() local
231 best_n = n; in sunxi_dw_hdmi_pll_set()
236 clock_set_pll3_factors(best_m, best_n); in sunxi_dw_hdmi_pll_set()
239 best_n, best_m, div); in sunxi_dw_hdmi_pll_set()
/external/u-boot/arch/arm/mach-sunxi/
Dclock_sun6i.c218 unsigned best_k = 0, best_m = 0, best_n = 0, best_diff = 0xffffffff; in clock_set_mipi_pll() local
238 best_n = n; in clock_set_mipi_pll()
248 CCM_MIPI_PLL_CTRL_N(best_n) | CCM_MIPI_PLL_CTRL_K(best_k) | in clock_set_mipi_pll()
/external/u-boot/arch/arm/mach-tegra/tegra124/
Dclock.c1068 u32 diff, best_diff, best_m = 0, best_n = 0, best_p; in clock_set_display_rate() local
1108 best_n = divn; in clock_set_display_rate()
1111 if (best_n < 50) in clock_set_display_rate()
1113 else if (best_n < 300) in clock_set_display_rate()
1115 else if (best_n < 600) 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()