Searched refs:thp_idx (Results 1 – 1 of 1) sorted by relevance
675 int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff; in octeon_i2c_set_clock() local715 thp_idx = thp_base + inc; in octeon_i2c_set_clock()716 if (thp_idx < 5 || thp_idx > 0xff) in octeon_i2c_set_clock()720 foscl = i2c->sys_freq / (thp_idx + 2); in octeon_i2c_set_clock()723 (2 * (thp_idx + 1)); in octeon_i2c_set_clock()736 thp = thp_idx; in octeon_i2c_set_clock()