Searched refs:abs_error (Results 1 – 1 of 1) sorted by relevance
275 u32 best_clkhi = 0, abs_error = 0, rate; in bus_i2c_set_bus_speed() local308 abs_error = speed > rate ? speed - rate : rate - speed; in bus_i2c_set_bus_speed()310 if (abs_error < error) { in bus_i2c_set_bus_speed()313 error = abs_error; in bus_i2c_set_bus_speed()314 if (abs_error == 0) in bus_i2c_set_bus_speed()