Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-ocores.c47 int bus_clock_khz; member
310 udelay((8 * 1000) / i2c->bus_clock_khz); in ocores_poll_wait()
419 prescale = (i2c->ip_clock_khz / (5 * i2c->bus_clock_khz)) - 1; in ocores_init()
422 diff = i2c->ip_clock_khz / (5 * (prescale + 1)) - i2c->bus_clock_khz; in ocores_init()
423 if (abs(diff) > i2c->bus_clock_khz / 10) { in ocores_init()
426 i2c->ip_clock_khz, i2c->bus_clock_khz); in ocores_init()
542 i2c->bus_clock_khz = 100; in ocores_i2c_of_probe()
551 i2c->bus_clock_khz = clock_frequency / 1000; in ocores_i2c_of_probe()
566 i2c->bus_clock_khz = clock_frequency / 1000; in ocores_i2c_of_probe()
631 i2c->bus_clock_khz = pdata->bus_khz; in ocores_i2c_probe()
[all …]