Searched refs:thp_idx (Results 1 – 1 of 1) sorted by relevance
451 int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff; in octeon_i2c_setclock() local469 thp_idx = thp_base + inc; in octeon_i2c_setclock()470 if (thp_idx < 5 || thp_idx > 0xff) in octeon_i2c_setclock()473 foscl = i2c->sys_freq / (2 * (thp_idx + 1)); in octeon_i2c_setclock()479 thp = thp_idx; in octeon_i2c_setclock()