Searched refs:extra_div (Results 1 – 1 of 1) sorted by relevance
575 unsigned long extra_div, extra_low_div, ideal_low_div; in rk3x_i2c_v0_calc_timings() local662 extra_div = min_total_div - min_div_for_hold; in rk3x_i2c_v0_calc_timings()680 if (ideal_low_div > min_low_div + extra_div) in rk3x_i2c_v0_calc_timings()681 ideal_low_div = min_low_div + extra_div; in rk3x_i2c_v0_calc_timings()686 t_calc->div_high = min_high_div + (extra_div - extra_low_div); in rk3x_i2c_v0_calc_timings()755 unsigned long extra_div, extra_low_div; in rk3x_i2c_v1_calc_timings() local817 extra_div = min_total_div - min_div_for_hold; in rk3x_i2c_v1_calc_timings()818 extra_low_div = DIV_ROUND_UP(min_low_div * extra_div, in rk3x_i2c_v1_calc_timings()822 t_calc->div_high = min_high_div + (extra_div - extra_low_div); in rk3x_i2c_v1_calc_timings()