/Linux-v5.10/drivers/gpu/drm/sun4i/ |
D | sun4i_hdmi_ddc_clk.c | 34 u8 best_m = 0, best_n = 0, _m, _n; in sun4i_ddc_calc_divider() local 49 best_n = _n; in sun4i_ddc_calc_divider() 56 *n = best_n; in sun4i_ddc_calc_divider()
|
/Linux-v5.10/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 260 int n, best_n = 0; in ch7006_setup_pll() local 271 best_n = n; in ch7006_setup_pll() 277 regs[CH7006_PLLOV] = bitf(CH7006_PLLOV_N_8, best_n) | in ch7006_setup_pll() 281 regs[CH7006_PLLN] = bitf(CH7006_PLLN_0, best_n); in ch7006_setup_pll() 283 if (best_n < 108) in ch7006_setup_pll() 289 best_n, best_m, best_freq, best_n < 108); in ch7006_setup_pll()
|
/Linux-v5.10/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 nk->n = best_n; in ccu_nk_find_best()
|
D | ccu_nkm.c | 23 unsigned long best_n = 0, best_k = 0, best_m = 0; in ccu_nkm_find_best() local 37 best_n = _n; in ccu_nkm_find_best() 45 nkm->n = best_n; in ccu_nkm_find_best()
|
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 54 best_n = _n; in ccu_nkmp_find_best() 64 nkmp->n = best_n; in ccu_nkmp_find_best()
|
D | ccu_nm.c | 34 unsigned long best_n = 0, best_m = 0; in ccu_nm_find_best() local 47 best_n = _n; in ccu_nm_find_best() 53 nm->n = best_n; in ccu_nm_find_best()
|
/Linux-v5.10/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 | 459 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local 474 best_n = best_m = best_p = 0; in compute_gbe_timing() 493 best_n = pll_n; in compute_gbe_timing() 498 if (!best_n || !best_m) in compute_gbe_timing() 502 (best_n << best_p) / best_m; in compute_gbe_timing() 509 timing->pll_n = best_n; in compute_gbe_timing()
|
D | sstfb.c | 294 int best_n = -1; in sst_calc_pll() local 313 best_n = n; in sst_calc_pll() 320 if (best_n == -1) /* unlikely, but who knows ? */ in sst_calc_pll() 323 t->n = best_n; in sst_calc_pll()
|
D | tdfxfb.c | 291 int m, n, k, best_m, best_n, best_k, best_error; in do_calc_pll() local 295 best_n = best_m = best_k = 0; in do_calc_pll() 322 best_n = n; in do_calc_pll() 330 n = best_n; in do_calc_pll()
|
D | tridentfb.c | 840 unsigned char best_m = 0, best_n = 0, best_k = 0; in set_vclk() local 853 best_n = n; in set_vclk() 863 lo = best_n | (best_m << 7); in set_vclk() 866 lo = best_n; in set_vclk()
|
/Linux-v5.10/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()
|
/Linux-v5.10/drivers/clk/meson/ |
D | clk-pll.c | 218 unsigned int *best_n, in meson_clk_get_pll_settings() argument 235 *best_n = n; in meson_clk_get_pll_settings()
|