Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-octeon-core.c660 int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff; in octeon_i2c_set_clock() local
663 for (ndiv_idx = 0; ndiv_idx < 8 && delta_hz != 0; ndiv_idx++) { in octeon_i2c_set_clock()
674 tclk *= (1 << ndiv_idx); in octeon_i2c_set_clock()
683 foscl = foscl / (1 << ndiv_idx); in octeon_i2c_set_clock()
690 ndiv = ndiv_idx; in octeon_i2c_set_clock()