Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-mt65xx.c703 unsigned int su_sta_cnt, low_cnt, high_cnt, max_step_cnt; in mtk_i2c_check_ac_timing() local
727 max_step_cnt = mtk_i2c_max_step_cnt(check_speed); in mtk_i2c_check_ac_timing()
728 if ((2 * step_cnt) > low_cnt && low_cnt < max_step_cnt) { in mtk_i2c_check_ac_timing()
805 unsigned int max_step_cnt; in mtk_i2c_calculate_speed() local
817 max_step_cnt = mtk_i2c_max_step_cnt(target_speed); in mtk_i2c_calculate_speed()
818 base_step_cnt = max_step_cnt; in mtk_i2c_calculate_speed()
821 best_mul = MAX_SAMPLE_CNT_DIV * max_step_cnt; in mtk_i2c_calculate_speed()
833 if (step_cnt > max_step_cnt) in mtk_i2c_calculate_speed()