Searched refs:retr (Results 1 – 2 of 2) sorted by relevance
108 int retr; in em_i2c_reset() local115 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()
308 int i, retr; in sh7760_i2c_master_xfer() local317 retr = adap->retries; in sh7760_i2c_master_xfer()344 if (retr--) { in sh7760_i2c_master_xfer()