Home
last modified time | relevance | path

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

/external/u-boot/drivers/i2c/
Dimx_lpi2c.c251 u32 preescale = 0, best_pre = 0, clkhi = 0; in bus_i2c_set_bus_speed() local
279 best_pre = preescale; in bus_i2c_set_bus_speed()
298 if (best_pre == (1 << i)) { in bus_i2c_set_bus_speed()
299 best_pre = i; in bus_i2c_set_bus_speed()
305 writel(val | LPI2C_MCFGR1_PRESCALE(best_pre), &regs->mcfgr1); in bus_i2c_set_bus_speed()