Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-rk3x.c149 unsigned long div_high; member
659 t_calc->div_high = min_high_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()
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()
[all …]
/openbmc/linux/drivers/hwmon/
H A Daspeed-pwm-tacho.c390 u8 div_high, u8 div_low, u8 unit) in aspeed_set_pwm_clock_values() argument
392 u32 reg_value = ((div_high << type_params[type].h_value) | in aspeed_set_pwm_clock_values()