Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/busses/
Di2c-emev2.c108 int retr; in em_i2c_reset() local
115 retr = 1000; in em_i2c_reset()
116 while (readb(priv->base + I2C_OFS_IICACT0) == 1 && retr) in em_i2c_reset()
117 retr--; in em_i2c_reset()
118 WARN_ON(retr == 0); in em_i2c_reset()
133 retr = 1000; in em_i2c_reset()
134 while (readb(priv->base + I2C_OFS_IICACT0) == 0 && retr) in em_i2c_reset()
135 retr--; in em_i2c_reset()
136 WARN_ON(retr == 0); in em_i2c_reset()
Di2c-sh7760.c308 int i, retr; in sh7760_i2c_master_xfer() local
317 retr = adap->retries; in sh7760_i2c_master_xfer()
344 if (retr--) { in sh7760_i2c_master_xfer()