Searched refs:i2c_clock_freq (Results 1 – 1 of 1) sorted by relevance
93 uint32_t i2c_clock_freq; member191 div_b = sc->ref_clock_freq / (22 * sc->i2c_clock_freq * in cdnc_i2c_set_freq()197 err = clk_out > sc->i2c_clock_freq ? in cdnc_i2c_set_freq()198 clk_out - sc->i2c_clock_freq : in cdnc_i2c_set_freq()199 sc->i2c_clock_freq - clk_out; in cdnc_i2c_set_freq()216 sc->ref_clock_freq, sc->i2c_clock_freq); in cdnc_i2c_set_freq()290 sc->i2c_clock_freq = IICBUS_GET_FREQUENCY(sc->iicbus, speed); in cdnc_i2c_reset()575 sc->i2c_clock_freq = fdt32_to_cpu(cell); in cdnc_i2c_attach()577 sc->i2c_clock_freq = CDNC_I2C_DEFAULT_I2C_CLOCK; in cdnc_i2c_attach()