Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/i2c/busses/
Di2c-mt65xx.c449 unsigned int opt_div; in mtk_i2c_calculate_speed() local
463 opt_div = DIV_ROUND_UP(clk_src >> 1, target_speed); in mtk_i2c_calculate_speed()
473 step_cnt = DIV_ROUND_UP(opt_div, sample_cnt); in mtk_i2c_calculate_speed()
482 if (best_mul == opt_div) in mtk_i2c_calculate_speed()