Searched refs:best_clkhi (Results 1 – 1 of 1) sorted by relevance
275 u32 best_clkhi = 0, abs_error = 0, rate; in bus_i2c_set_bus_speed() local312 best_clkhi = clkhi; in bus_i2c_set_bus_speed()321 val = LPI2C_MCCR0_CLKHI(best_clkhi); in bus_i2c_set_bus_speed()322 if (best_clkhi < 2) in bus_i2c_set_bus_speed()325 val |= LPI2C_MCCR0_CLKLO(2 * best_clkhi) | LPI2C_MCCR0_SETHOLD(best_clkhi) | in bus_i2c_set_bus_speed()326 LPI2C_MCCR0_DATAVD(best_clkhi / 2); in bus_i2c_set_bus_speed()