Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/i2c/busses/
Di2c-rk3x.c569 unsigned long clk_rate_khz, scl_rate_khz; in rk3x_i2c_v0_calc_timings() local
624 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() local
779 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()