Lines Matching refs:i2c_status
171 u32 i2c_status; in xlr_i2c_tx() local
208 i2c_status = xlr_i2c_rdreg(priv->iobase, XLR_I2C_STATUS); in xlr_i2c_tx()
210 if ((i2c_status & XLR_I2C_SDOEMPTY) && pos < len) { in xlr_i2c_tx()
218 if (i2c_status & XLR_I2C_ARB_STARTERR) { in xlr_i2c_tx()
224 if (i2c_status & XLR_I2C_ACK_ERR) in xlr_i2c_tx()
227 if (!xlr_i2c_busy(priv, i2c_status) && pos >= len) in xlr_i2c_tx()
237 u32 i2c_status; in xlr_i2c_rx() local
260 i2c_status = xlr_i2c_rdreg(priv->iobase, XLR_I2C_STATUS); in xlr_i2c_rx()
261 if (i2c_status & XLR_I2C_RXRDY) { in xlr_i2c_rx()
273 if (i2c_status & XLR_I2C_ARB_STARTERR) { in xlr_i2c_rx()
279 if (i2c_status & XLR_I2C_ACK_ERR) in xlr_i2c_rx()
282 if (!xlr_i2c_busy(priv, i2c_status)) in xlr_i2c_rx()