Lines Matching refs:i2c_status
76 u32 i2c_status; in xlr_i2c_tx() local
102 i2c_status = xlr_i2c_rdreg(priv->iobase, XLR_I2C_STATUS); in xlr_i2c_tx()
104 if (i2c_status & XLR_I2C_SDOEMPTY) { in xlr_i2c_tx()
115 if (i2c_status & XLR_I2C_ARB_STARTERR) { in xlr_i2c_tx()
121 if (i2c_status & XLR_I2C_ACK_ERR) in xlr_i2c_tx()
124 if ((i2c_status & XLR_I2C_BUS_BUSY) == 0 && pos >= len) in xlr_i2c_tx()
134 u32 i2c_status; in xlr_i2c_rx() local
152 i2c_status = xlr_i2c_rdreg(priv->iobase, XLR_I2C_STATUS); in xlr_i2c_rx()
153 if (i2c_status & XLR_I2C_RXRDY) { in xlr_i2c_rx()
168 if (i2c_status & XLR_I2C_ARB_STARTERR) { in xlr_i2c_rx()
174 if (i2c_status & XLR_I2C_ACK_ERR) in xlr_i2c_rx()
177 if ((i2c_status & XLR_I2C_BUS_BUSY) == 0) in xlr_i2c_rx()