Home
last modified time | relevance | path

Searched refs:best_mul (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/clk/microchip/
H A Dclk-core.c603 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()
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dtc358767.c515 int mul, best_mul = 1; in tc_pxl_pll_en() local
572 best_mul = mul; in tc_pxl_pll_en()
588 ext_div[best_pre], best_div, best_mul, ext_div[best_post]); in tc_pxl_pll_en()
591 if (refclk / ext_div[best_pre] / best_div * best_mul >= 300000000) in tc_pxl_pll_en()
596 if (best_mul == 128) in tc_pxl_pll_en()
597 best_mul = 0; in tc_pxl_pll_en()
609 pxl_pllparam |= best_mul; /* Multiplier for PLL */ in tc_pxl_pll_en()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-mt65xx.c809 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()