Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-rk3x.c574 unsigned long min_low_div, min_high_div; in rk3x_i2c_v0_calc_timings() local
637 min_high_div = DIV_ROUND_UP(clk_rate_khz * min_high_ns, 8 * 1000000); in rk3x_i2c_v0_calc_timings()
638 min_div_for_hold = (min_low_div + min_high_div); in rk3x_i2c_v0_calc_timings()
659 t_calc->div_high = min_high_div; in rk3x_i2c_v0_calc_timings()
689 t_calc->div_high = min_high_div + (extra_div - extra_low_div); in rk3x_i2c_v0_calc_timings()
754 unsigned long min_low_div, min_high_div; in rk3x_i2c_v1_calc_timings() local
785 min_high_div = DIV_ROUND_UP(clk_rate_khz * min_high_ns, 8 * 1000000); in rk3x_i2c_v1_calc_timings()
794 min_high_div = (min_high_div < 1) ? 2 : min_high_div; in rk3x_i2c_v1_calc_timings()
798 min_div_for_hold = (min_low_div + min_high_div); in rk3x_i2c_v1_calc_timings()
810 t_calc->div_high = min_high_div; in rk3x_i2c_v1_calc_timings()
[all …]