Home
last modified time | relevance | path

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

/drivers/gpu/drm/i2c/
Dch7006_mode.c261 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/
Dasiliantfb.c117 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()
Dgbefb.c470 int pll_m, pll_n, pll_p, error, best_m, best_n, best_p, best_error; in compute_gbe_timing() local
485 best_n = best_m = best_p = 0; in compute_gbe_timing()
504 best_n = pll_n; in compute_gbe_timing()
509 if (!best_n || !best_m) in compute_gbe_timing()
513 (best_n << best_p) / best_m; in compute_gbe_timing()
520 timing->pll_n = best_n; in compute_gbe_timing()
Dsstfb.c293 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()
Dtdfxfb.c309 int m, n, k, best_m, best_n, best_k, best_error; in do_calc_pll() local
313 best_n = best_m = best_k = 0; in do_calc_pll()
340 best_n = n; in do_calc_pll()
348 n = best_n; in do_calc_pll()
Dtridentfb.c715 unsigned char best_m = 0, best_n = 0, best_k = 0; in set_vclk() local
728 best_n = n; in set_vclk()
738 lo = best_n | (best_m << 7); in set_vclk()
741 lo = best_n; in set_vclk()
/drivers/i2c/busses/
Di2c-mv64xxx.c540 mv64xxx_find_baud_factors(const u32 req_freq, const u32 tclk, u32 *best_n, in mv64xxx_find_baud_factors() argument
552 *best_n = n; in mv64xxx_find_baud_factors()