Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/i2c/busses/
Di2c-octeon-core.c661 int thp = 0x18, mdiv = 2, ndiv = 0, delta_hz = 1000000; in octeon_i2c_set_clock() local
663 for (ndiv_idx = 0; ndiv_idx < 8 && delta_hz != 0; ndiv_idx++) { in octeon_i2c_set_clock()
668 for (mdiv_idx = 15; mdiv_idx >= 2 && delta_hz != 0; mdiv_idx--) { in octeon_i2c_set_clock()
686 if (diff < delta_hz) { in octeon_i2c_set_clock()
687 delta_hz = diff; in octeon_i2c_set_clock()