Searched refs:scl_rate_khz (Results 1 – 1 of 1) sorted by relevance
572 unsigned long clk_rate_khz, scl_rate_khz; in rk3x_i2c_v0_calc_timings() local627 scl_rate_khz = t->bus_freq_hz / 1000; in rk3x_i2c_v0_calc_timings()633 min_total_div = DIV_ROUND_UP(clk_rate_khz, scl_rate_khz * 8); in rk3x_i2c_v0_calc_timings()673 scl_rate_khz * 8 * min_total_ns); in rk3x_i2c_v0_calc_timings()752 unsigned long clk_rate_khz, scl_rate_khz; in rk3x_i2c_v1_calc_timings() local781 scl_rate_khz = t->bus_freq_hz / 1000; in rk3x_i2c_v1_calc_timings()782 min_total_div = DIV_ROUND_UP(clk_rate_khz, scl_rate_khz * 8); in rk3x_i2c_v1_calc_timings()