Searched refs:low_cnt (Results 1 – 1 of 1) sorted by relevance
703 unsigned int su_sta_cnt, low_cnt, high_cnt, max_step_cnt; in mtk_i2c_check_ac_timing() local726 low_cnt = DIV_ROUND_UP(spec->min_low_ns, sample_ns); in mtk_i2c_check_ac_timing()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()733 low_cnt = step_cnt; in mtk_i2c_check_ac_timing()740 if (sda_max > low_cnt) in mtk_i2c_check_ac_timing()744 if (sda_min < low_cnt) in mtk_i2c_check_ac_timing()756 (low_cnt << 9); in mtk_i2c_check_ac_timing()761 (high_cnt << 6) | low_cnt; in mtk_i2c_check_ac_timing()[all …]