Home
last modified time | relevance | path

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

/linux-6.15/drivers/i2c/busses/
H A Di2c-octeon-core.c672 int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff; in octeon_i2c_set_clock() local
707 thp_base = (i2c->sys_freq / tclk) - 2; in octeon_i2c_set_clock()
709 thp_base = (i2c->sys_freq / (tclk * 2)) - 1; in octeon_i2c_set_clock()
712 thp_idx = thp_base + inc; in octeon_i2c_set_clock()