Searched refs:bus_clock_khz (Results 1 – 1 of 1) sorted by relevance
48 int bus_clock_khz; member321 udelay((8 * 1000) / i2c->bus_clock_khz); in ocores_poll_wait()430 prescale = (i2c->ip_clock_khz / (5 * i2c->bus_clock_khz)) - 1; in ocores_init()433 diff = i2c->ip_clock_khz / (5 * (prescale + 1)) - i2c->bus_clock_khz; in ocores_init()434 if (abs(diff) > i2c->bus_clock_khz / 10) { in ocores_init()437 i2c->ip_clock_khz, i2c->bus_clock_khz); in ocores_init()553 i2c->bus_clock_khz = 100; in ocores_i2c_of_probe()562 i2c->bus_clock_khz = clock_frequency / 1000; in ocores_i2c_of_probe()577 i2c->bus_clock_khz = clock_frequency / 1000; in ocores_i2c_of_probe()638 i2c->bus_clock_khz = pdata->bus_khz; in ocores_i2c_probe()[all …]