Searched refs:best_m (Results 1 – 9 of 9) sorted by relevance
/drivers/video/ |
D | asiliantfb.c | 116 unsigned best_m = 0xffffffff, in asiliant_calc_dclk2() local 146 best_m = m; in asiliant_calc_dclk2() 158 best_m = m; in asiliant_calc_dclk2() 163 if (best_m > 257) in asiliant_calc_dclk2() 164 best_m >>= 2; /* divide m by 4, and leave VCO loop divide at 4 */ in asiliant_calc_dclk2() 167 *dclk2_m = best_m - 2; in asiliant_calc_dclk2()
|
D | gbefb.c | 470 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() 503 best_m = pll_m; 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() 519 timing->pll_m = best_m; in compute_gbe_timing()
|
D | tridentfb.c | 715 unsigned char best_m = 0, best_n = 0, best_k = 0; in set_vclk() local 729 best_m = m; in set_vclk() 738 lo = best_n | (best_m << 7); in set_vclk() 739 hi = (best_m >> 1) | (best_k << 4); in set_vclk() 742 hi = best_m | (best_k << 6); in set_vclk()
|
D | tdfxfb.c | 309 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() 341 best_m = m; in do_calc_pll() 349 m = best_m; in do_calc_pll()
|
D | sstfb.c | 294 int best_m = -1; in sst_calc_pll() local 313 best_m = m; in sst_calc_pll() 323 t->m = best_m; in sst_calc_pll()
|
/drivers/clk/ |
D | clk-axi-clkgen.c | 92 unsigned int *best_d, unsigned int *best_m, unsigned int *best_dout) in axi_clkgen_calc_params() argument 103 *best_m = 0; in axi_clkgen_calc_params() 125 *best_m = m; in axi_clkgen_calc_params()
|
/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 262 int m, best_m = 0; in ch7006_setup_pll() local 273 best_m = m; in ch7006_setup_pll() 279 bitf(CH7006_PLLOV_M_8, best_m); in ch7006_setup_pll() 281 regs[CH7006_PLLM] = bitf(CH7006_PLLM_0, best_m); in ch7006_setup_pll() 290 best_n, best_m, best_freq, best_n < 108); in ch7006_setup_pll()
|
/drivers/i2c/busses/ |
D | i2c-mv64xxx.c | 541 u32 *best_m) in mv64xxx_find_baud_factors() argument 551 *best_m = m; in mv64xxx_find_baud_factors()
|
/drivers/video/savage/ |
D | savagefb_driver.c | 426 unsigned char n1, n2, best_n1=16+2, best_n2=2, best_m=125+2; in SavageCalcClock() local 453 best_m = m; in SavageCalcClock() 463 *mdiv = best_m - 2; in SavageCalcClock() 474 unsigned char best_n1 = 16+2, best_n2 = 2, best_m = 125+2; in common_calc_clock() local 491 best_m = m; in common_calc_clock() 504 *mdiv = best_m - 2; in common_calc_clock()
|