Searched refs:mdiv_idx (Results 1 – 1 of 1) sorted by relevance
660 int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff; in octeon_i2c_set_clock() local668 for (mdiv_idx = 15; mdiv_idx >= 2 && delta_hz != 0; mdiv_idx--) { in octeon_i2c_set_clock()673 tclk = i2c->twsi_freq * (mdiv_idx + 1) * 10; in octeon_i2c_set_clock()684 foscl = foscl / (mdiv_idx + 1) / 10; in octeon_i2c_set_clock()689 mdiv = mdiv_idx; in octeon_i2c_set_clock()