Searched refs:ip_clock_khz (Results 1 – 1 of 1) sorted by relevance
47 int ip_clock_khz; member427 prescale = (i2c->ip_clock_khz / (5 * i2c->bus_clock_khz)) - 1; in ocores_init()430 diff = i2c->ip_clock_khz / (5 * (prescale + 1)) - i2c->bus_clock_khz; in ocores_init()434 i2c->ip_clock_khz, i2c->bus_clock_khz); in ocores_init()562 i2c->ip_clock_khz = clk_get_rate(i2c->clk) / 1000; in ocores_i2c_of_probe()567 if (i2c->ip_clock_khz == 0) { in ocores_i2c_of_probe()576 i2c->ip_clock_khz = clock_frequency / 1000; in ocores_i2c_of_probe()580 i2c->ip_clock_khz = val / 1000; in ocores_i2c_of_probe()641 i2c->ip_clock_khz = pdata->clock_khz; in ocores_i2c_probe()791 i2c->ip_clock_khz = rate; in ocores_i2c_resume()