Home
last modified time | relevance | path

Searched refs:min_low_div (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/i2c/busses/
Di2c-rk3x.c572 unsigned long min_low_div, min_high_div; in rk3x_i2c_v0_calc_timings() local
634 min_low_div = DIV_ROUND_UP(clk_rate_khz * min_low_ns, 8 * 1000000); in rk3x_i2c_v0_calc_timings()
636 min_div_for_hold = (min_low_div + min_high_div); in rk3x_i2c_v0_calc_timings()
644 if (min_low_div > max_low_div) { in rk3x_i2c_v0_calc_timings()
647 min_low_div, max_low_div); in rk3x_i2c_v0_calc_timings()
648 max_low_div = min_low_div; in rk3x_i2c_v0_calc_timings()
656 t_calc->div_low = min_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()
[all …]