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

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-emev2.c27 #define I2C_OFS_IICACT0 0x00 /* start */ macro
112 if (readb(priv->base + I2C_OFS_IICACT0) & I2C_BIT_IICE0) { em_i2c_reset()
114 writeb(0, priv->base + I2C_OFS_IICACT0); em_i2c_reset()
117 while (readb(priv->base + I2C_OFS_IICACT0) == 1 && retr) em_i2c_reset()
132 writeb(I2C_BIT_IICE0, priv->base + I2C_OFS_IICACT0); em_i2c_reset()
135 while (readb(priv->base + I2C_OFS_IICACT0) == 0 && retr) em_i2c_reset()

Completed in 44 milliseconds