Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/i2c/busses/
Di2c-mxs.c700 uint32_t bus_free, leadin; in mxs_i2c_derive_timing() local
746 bus_free = DIV_ROUND_UP(1300 * (clk / 1000000), 1000); in mxs_i2c_derive_timing()
752 bus_free = DIV_ROUND_UP(4700 * (clk / 1000000), 1000); in mxs_i2c_derive_timing()
760 xmit_count, rcv_count, leadin, bus_free); in mxs_i2c_derive_timing()
766 i2c->timing2 = (bus_free << 16 | leadin); in mxs_i2c_derive_timing()
Di2c-omap.c525 int bus_free = 0; in omap_i2c_wait_for_bb_valid() local
549 if (!bus_free) { in omap_i2c_wait_for_bb_valid()
552 bus_free = 1; in omap_i2c_wait_for_bb_valid()
563 bus_free = 0; in omap_i2c_wait_for_bb_valid()