Lines Matching refs:bus_freq_hz
585 if (WARN_ON(t->bus_freq_hz > I2C_MAX_FAST_MODE_FREQ))
586 t->bus_freq_hz = I2C_MAX_FAST_MODE_FREQ;
589 if (WARN_ON(t->bus_freq_hz < 1000))
590 t->bus_freq_hz = 1000;
604 spec = rk3x_i2c_get_spec(t->bus_freq_hz);
627 scl_rate_khz = t->bus_freq_hz / 1000;
764 if (WARN_ON(t->bus_freq_hz > I2C_MAX_FAST_MODE_PLUS_FREQ))
765 t->bus_freq_hz = I2C_MAX_FAST_MODE_PLUS_FREQ;
768 if (WARN_ON(t->bus_freq_hz < 1000))
769 t->bus_freq_hz = 1000;
777 spec = rk3x_i2c_get_spec(t->bus_freq_hz);
781 scl_rate_khz = t->bus_freq_hz / 1000;
884 WARN_ONCE(ret != 0, "Could not reach SCL freq %u", t->bus_freq_hz);
905 1000000000 / t->bus_freq_hz,