Searched refs:best_mul (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/clk/microchip/ |
D | clk-core.c | 603 u32 mul, div, best_mul = 1, best_div = 1; in spll_calc_mult_div() local 620 best_mul = mul; in spll_calc_mult_div() 633 rate, parent_rate, best_mul, best_div, best_rate); in spll_calc_mult_div() 636 *mult_p = best_mul - 1; in spll_calc_mult_div()
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-mt65xx.c | 809 unsigned int best_mul; in mtk_i2c_calculate_speed() local 821 best_mul = MAX_SAMPLE_CNT_DIV * max_step_cnt; in mtk_i2c_calculate_speed() 836 if (cnt_mul < best_mul) { in mtk_i2c_calculate_speed() 842 best_mul = cnt_mul; in mtk_i2c_calculate_speed() 845 if (best_mul == (opt_div + clk_div_restri)) in mtk_i2c_calculate_speed()
|
/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | tc358767.c | 593 int mul, best_mul = 1; in tc_pxl_pll_calc() local 655 best_mul = mul; in tc_pxl_pll_calc() 670 ext_div[best_pre], best_div, best_mul, ext_div[best_post]); in tc_pxl_pll_calc() 673 if (refclk / ext_div[best_pre] / best_div * best_mul >= 300000000) in tc_pxl_pll_calc() 678 if (best_mul == 128) in tc_pxl_pll_calc() 679 best_mul = 0; in tc_pxl_pll_calc() 686 pxl_pllparam |= best_mul; /* Multiplier for PLL */ in tc_pxl_pll_calc()
|