Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-mt65xx.c699 unsigned int step_cnt, in mtk_i2c_check_ac_timing() argument
728 if ((2 * step_cnt) > low_cnt && low_cnt < max_step_cnt) { in mtk_i2c_check_ac_timing()
729 if (low_cnt > step_cnt) { in mtk_i2c_check_ac_timing()
730 high_cnt = 2 * step_cnt - low_cnt; in mtk_i2c_check_ac_timing()
732 high_cnt = step_cnt; in mtk_i2c_check_ac_timing()
733 low_cnt = step_cnt; in mtk_i2c_check_ac_timing()
803 unsigned int step_cnt; in mtk_i2c_calculate_speed() local
831 step_cnt = DIV_ROUND_UP(opt_div + clk_div_restri, sample_cnt); in mtk_i2c_calculate_speed()
832 cnt_mul = step_cnt * sample_cnt; in mtk_i2c_calculate_speed()
833 if (step_cnt > max_step_cnt) in mtk_i2c_calculate_speed()
[all …]