Searched refs:best_n (Results 1 – 10 of 10) sorted by relevance
/drivers/clk/sunxi-ng/ |
D | ccu_nk.c | 22 unsigned int best_k = 0, best_n = 0; in ccu_nk_find_best() local 35 best_n = _n; in ccu_nk_find_best() 41 *n = best_n; in ccu_nk_find_best()
|
D | ccu_nkm.c | 27 unsigned long best_n = 0, best_k = 0, best_m = 0; in ccu_nkm_find_best() local 43 best_n = _n; in ccu_nkm_find_best() 49 nkm->n = best_n; in ccu_nkm_find_best()
|
D | ccu_nkmp.c | 28 unsigned long best_n = 0, best_k = 0, best_m = 0, best_p = 0; in ccu_nkmp_find_best() local 46 best_n = _n; in ccu_nkmp_find_best() 54 nkmp->n = best_n; in ccu_nkmp_find_best()
|
/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 261 int n, best_n = 0; in ch7006_setup_pll() local 272 best_n = n; in ch7006_setup_pll() 278 regs[CH7006_PLLOV] = bitf(CH7006_PLLOV_N_8, best_n) | in ch7006_setup_pll() 282 regs[CH7006_PLLN] = bitf(CH7006_PLLN_0, best_n); in ch7006_setup_pll() 284 if (best_n < 108) in ch7006_setup_pll() 290 best_n, best_m, best_freq, best_n < 108); in ch7006_setup_pll()
|
/drivers/video/fbdev/ |
D | asiliantfb.c | 117 best_n = 0xffffffff; in asiliant_calc_dclk2() local 145 best_n = n; in asiliant_calc_dclk2() 157 best_n = n; in asiliant_calc_dclk2() 168 *dclk2_n = best_n - 2; in asiliant_calc_dclk2()
|
D | gbefb.c | 465 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local 480 best_n = best_m = best_p = 0; in compute_gbe_timing() 499 best_n = pll_n; in compute_gbe_timing() 504 if (!best_n || !best_m) in compute_gbe_timing() 508 (best_n << best_p) / best_m; in compute_gbe_timing() 515 timing->pll_n = best_n; in compute_gbe_timing()
|
D | sstfb.c | 293 int best_n = -1; in sst_calc_pll() local 312 best_n = n; in sst_calc_pll() 319 if (best_n == -1) /* unlikely, but who knows ? */ in sst_calc_pll() 322 t->n = best_n; in sst_calc_pll()
|
D | tdfxfb.c | 290 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() 321 best_n = n; in do_calc_pll() 329 n = best_n; in do_calc_pll()
|
D | tridentfb.c | 842 unsigned char best_m = 0, best_n = 0, best_k = 0; in set_vclk() local 855 best_n = n; in set_vclk() 865 lo = best_n | (best_m << 7); in set_vclk() 868 lo = best_n; in set_vclk()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gk20a.c | 109 u32 best_m, best_n; in gk20a_pllg_calc_mnp() local 120 best_n = clk->params->min_n; in gk20a_pllg_calc_mnp() 178 best_n = n; in gk20a_pllg_calc_mnp() 198 pll->n = best_n; in gk20a_pllg_calc_mnp()
|