Searched refs:ip_clock_khz (Results 1 – 1 of 1) sorted by relevance
40 int ip_clock_khz; member244 prescale = (i2c->ip_clock_khz / (5 * i2c->bus_clock_khz)) - 1; in ocores_init()247 diff = i2c->ip_clock_khz / (5 * (prescale + 1)) - i2c->bus_clock_khz; in ocores_init()251 i2c->ip_clock_khz, i2c->bus_clock_khz); in ocores_init()368 i2c->ip_clock_khz = clk_get_rate(i2c->clk) / 1000; in ocores_i2c_of_probe()373 if (i2c->ip_clock_khz == 0) { in ocores_i2c_of_probe()382 i2c->ip_clock_khz = clock_frequency / 1000; in ocores_i2c_of_probe()386 i2c->ip_clock_khz = val / 1000; in ocores_i2c_of_probe()434 i2c->ip_clock_khz = pdata->clock_khz; in ocores_i2c_probe()556 i2c->ip_clock_khz = rate; in ocores_i2c_resume()