Searched refs:bus_free (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/i2c/busses/
H A Di2c-mxs.c700 uint32_t bus_free, leadin; mxs_i2c_derive_timing() local
746 bus_free = DIV_ROUND_UP(1300 * (clk / 1000000), 1000); mxs_i2c_derive_timing()
752 bus_free = DIV_ROUND_UP(4700 * (clk / 1000000), 1000); mxs_i2c_derive_timing()
758 "speed=%u(actual %u) divider=%u low=%u high=%u xmit=%u rcv=%u leadin=%u bus_free=%u\n", mxs_i2c_derive_timing()
760 xmit_count, rcv_count, leadin, bus_free); mxs_i2c_derive_timing()
766 i2c->timing2 = (bus_free << 16 | leadin); mxs_i2c_derive_timing()
H A Di2c-omap.c526 int bus_free = 0; omap_i2c_wait_for_bb_valid() local
550 if (!bus_free) { omap_i2c_wait_for_bb_valid()
553 bus_free = 1; omap_i2c_wait_for_bb_valid()
564 bus_free = 0; omap_i2c_wait_for_bb_valid()

Completed in 100 milliseconds