Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/i2c/busses/
Di2c-mt65xx.c678 unsigned int su_sta_cnt, low_cnt, high_cnt, max_step_cnt; in mtk_i2c_check_ac_timing() local
702 max_step_cnt = mtk_i2c_max_step_cnt(check_speed); in mtk_i2c_check_ac_timing()
703 if ((2 * step_cnt) > low_cnt && low_cnt < max_step_cnt) { in mtk_i2c_check_ac_timing()
780 unsigned int max_step_cnt; in mtk_i2c_calculate_speed() local
792 max_step_cnt = mtk_i2c_max_step_cnt(target_speed); in mtk_i2c_calculate_speed()
793 base_step_cnt = max_step_cnt; in mtk_i2c_calculate_speed()
796 best_mul = MAX_SAMPLE_CNT_DIV * max_step_cnt; in mtk_i2c_calculate_speed()
808 if (step_cnt > max_step_cnt) in mtk_i2c_calculate_speed()