Searched refs:ideal_low_div (Results 1 – 1 of 1) sorted by relevance
576 unsigned long extra_div, extra_low_div, ideal_low_div; in rk3x_i2c_v0_calc_timings() local670 ideal_low_div = DIV_ROUND_UP(clk_rate_khz * min_low_ns, in rk3x_i2c_v0_calc_timings()674 if (ideal_low_div > max_low_div) in rk3x_i2c_v0_calc_timings()675 ideal_low_div = max_low_div; in rk3x_i2c_v0_calc_timings()681 if (ideal_low_div > min_low_div + extra_div) in rk3x_i2c_v0_calc_timings()682 ideal_low_div = min_low_div + extra_div; in rk3x_i2c_v0_calc_timings()685 extra_low_div = ideal_low_div - min_low_div; in rk3x_i2c_v0_calc_timings()686 t_calc->div_low = ideal_low_div; in rk3x_i2c_v0_calc_timings()