Lines Matching refs:div_high
149 unsigned long div_high; member
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()
697 t_calc->div_high--; in rk3x_i2c_v0_calc_timings()
707 if (t_calc->div_high > 0xffff) { in rk3x_i2c_v0_calc_timings()
708 t_calc->div_high = 0xffff; in rk3x_i2c_v0_calc_timings()
810 t_calc->div_high = min_high_div; in rk3x_i2c_v1_calc_timings()
824 t_calc->div_high = min_high_div + (extra_div - extra_low_div); in rk3x_i2c_v1_calc_timings()
846 - 1000000, 8 * 1000000 * (t_calc->div_high)); in rk3x_i2c_v1_calc_timings()
851 - 1000000, 8 * 1000000 * (t_calc->div_high)); in rk3x_i2c_v1_calc_timings()
858 t_calc->div_high--; in rk3x_i2c_v1_calc_timings()
866 if (t_calc->div_high > 0xffff) { in rk3x_i2c_v1_calc_timings()
867 t_calc->div_high = 0xffff; in rk3x_i2c_v1_calc_timings()
893 i2c_writel(i2c, (calc.div_high << 16) | (calc.div_low & 0xffff), in rk3x_i2c_adapt_div()
900 t_high_ns = div_u64(((u64)calc.div_high + 1) * 8 * 1000000000, in rk3x_i2c_adapt_div()