Searched refs:ideal_low_div (Results 1 – 1 of 1) sorted by relevance
578 unsigned long extra_div, extra_low_div, ideal_low_div; in rk3x_i2c_v0_calc_timings() local672 ideal_low_div = DIV_ROUND_UP(clk_rate_khz * min_low_ns, in rk3x_i2c_v0_calc_timings()676 if (ideal_low_div > max_low_div) in rk3x_i2c_v0_calc_timings()677 ideal_low_div = max_low_div; in rk3x_i2c_v0_calc_timings()683 if (ideal_low_div > min_low_div + extra_div) in rk3x_i2c_v0_calc_timings()684 ideal_low_div = min_low_div + extra_div; in rk3x_i2c_v0_calc_timings()687 extra_low_div = ideal_low_div - min_low_div; in rk3x_i2c_v0_calc_timings()688 t_calc->div_low = ideal_low_div; in rk3x_i2c_v0_calc_timings()