Searched refs:best_n (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/drivers/video/sunxi/ |
| H A D | sunxi_dw_hdmi.c | 214 int best_n = 0, best_m = 0, best_diff = 0x0FFFFFFF; in sunxi_dw_hdmi_pll_set() local 232 best_n = n; in sunxi_dw_hdmi_pll_set() 237 clock_set_pll3_factors(best_m, best_n); in sunxi_dw_hdmi_pll_set() 240 best_n, best_m, div); in sunxi_dw_hdmi_pll_set()
|
| H A D | sunxi_display.c | 527 int best_n = 0, best_m = 0, best_diff = 0x0FFFFFFF; in sunxi_lcdc_pll_set() local 558 best_n = n; in sunxi_lcdc_pll_set() 574 best_n = n; in sunxi_lcdc_pll_set() 585 if (tcon == 0 && best_n == 0) { in sunxi_lcdc_pll_set() 598 clock_set_pll3(best_n * 3000000); in sunxi_lcdc_pll_set() 602 best_double + 1, best_n, best_m); in sunxi_lcdc_pll_set()
|
| /rk3399_rockchip-uboot/arch/arm/mach-sunxi/ |
| H A D | clock_sun6i.c | 219 unsigned best_k = 0, best_m = 0, best_n = 0, best_diff = 0xffffffff; in clock_set_mipi_pll() local 239 best_n = n; in clock_set_mipi_pll() 249 CCM_MIPI_PLL_CTRL_N(best_n) | CCM_MIPI_PLL_CTRL_K(best_k) | in clock_set_mipi_pll()
|
| /rk3399_rockchip-uboot/arch/arm/mach-tegra/tegra124/ |
| H A D | clock.c | 1069 u32 diff, best_diff, best_m = 0, best_n = 0, best_p; in clock_set_display_rate() local 1109 best_n = divn; in clock_set_display_rate() 1112 if (best_n < 50) in clock_set_display_rate() 1114 else if (best_n < 300) in clock_set_display_rate() 1116 else if (best_n < 600) in clock_set_display_rate() 1124 rounded_rate = (ref / best_m * best_n) >> best_p; in clock_set_display_rate() 1128 __func__, rounded_rate, ref, best_m, best_n, best_p, cpcon); in clock_set_display_rate() 1133 clock_set_rate(CLOCK_ID_DISPLAY, best_n, best_m, best_p, cpcon); in clock_set_display_rate()
|
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | dw_hdmi.c | 1848 unsigned int best_n = 0; in hdmi_compute_n() local 1861 best_n = n; in hdmi_compute_n() 1863 best_n_distance = abs(best_n - ideal_n); in hdmi_compute_n() 1874 return best_n; in hdmi_compute_n()
|