Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/i2c/busses/
Di2c-mxs.c693 uint32_t bus_free, leadin; in mxs_i2c_derive_timing() local
739 bus_free = DIV_ROUND_UP(1300 * (clk / 1000000), 1000); in mxs_i2c_derive_timing()
745 bus_free = DIV_ROUND_UP(4700 * (clk / 1000000), 1000); in mxs_i2c_derive_timing()
753 xmit_count, rcv_count, leadin, bus_free); in mxs_i2c_derive_timing()
759 i2c->timing2 = (bus_free << 16 | leadin); in mxs_i2c_derive_timing()
Di2c-omap.c554 int bus_free = 0; in omap_i2c_wait_for_bb_valid() local
578 if (!bus_free) { in omap_i2c_wait_for_bb_valid()
581 bus_free = 1; in omap_i2c_wait_for_bb_valid()
592 bus_free = 0; in omap_i2c_wait_for_bb_valid()