Searched refs:scl_rate_khz (Results 1 – 1 of 1) sorted by relevance
569 unsigned long clk_rate_khz, scl_rate_khz; in rk3x_i2c_v0_calc_timings() local624 scl_rate_khz = t->bus_freq_hz / 1000; in rk3x_i2c_v0_calc_timings()630 min_total_div = DIV_ROUND_UP(clk_rate_khz, scl_rate_khz * 8); in rk3x_i2c_v0_calc_timings()670 scl_rate_khz * 8 * min_total_ns); in rk3x_i2c_v0_calc_timings()750 unsigned long clk_rate_khz, scl_rate_khz; in rk3x_i2c_v1_calc_timings() local779 scl_rate_khz = t->bus_freq_hz / 1000; in rk3x_i2c_v1_calc_timings()780 min_total_div = DIV_ROUND_UP(clk_rate_khz, scl_rate_khz * 8); in rk3x_i2c_v1_calc_timings()