Searched refs:best_mul (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/clk/microchip/ |
| H A D | clk-core.c | 598 u32 mul, div, best_mul = 1, best_div = 1; in spll_calc_mult_div() local 615 best_mul = mul; in spll_calc_mult_div() 628 rate, parent_rate, best_mul, best_div, best_rate); in spll_calc_mult_div() 631 *mult_p = best_mul - 1; in spll_calc_mult_div()
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | tc358767.c | 601 int mul, best_mul = 1; in tc_pxl_pll_calc() local 663 best_mul = mul; in tc_pxl_pll_calc() 678 ext_div[best_pre], best_div, best_mul, ext_div[best_post]); in tc_pxl_pll_calc() 681 if (refclk / ext_div[best_pre] / best_div * best_mul >= 300000000) in tc_pxl_pll_calc() 686 if (best_mul == 128) in tc_pxl_pll_calc() 687 best_mul = 0; in tc_pxl_pll_calc() 694 pxl_pllparam |= best_mul; /* Multiplier for PLL */ in tc_pxl_pll_calc()
|