Searched refs:step_cnt (Results 1 – 1 of 1) sorted by relevance
699 unsigned int step_cnt, in mtk_i2c_check_ac_timing() argument728 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() local831 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 …]