Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i2c/busses/
Di2c-rk3x.c572 unsigned long clk_rate_khz, scl_rate_khz; in rk3x_i2c_v0_calc_timings() local
627 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() local
781 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()