Home
last modified time | relevance | path

Searched refs:abs_error (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/i2c/
H A Dimx_lpi2c.c275 u32 best_clkhi = 0, abs_error = 0, rate; in bus_i2c_set_bus_speed() local
308 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()