Searched refs:div_b (Results 1 – 1 of 1) sorted by relevance
175 uint32_t div_a, div_b, err, clk_out; in cdnc_i2c_set_freq() local191 div_b = sc->ref_clock_freq / (22 * sc->i2c_clock_freq * in cdnc_i2c_set_freq()193 if (div_b > CDNC_I2C_CR_DIV_B_MAX) in cdnc_i2c_set_freq()196 (div_b + 1)); in cdnc_i2c_set_freq()203 best_div_b = div_b; in cdnc_i2c_set_freq()