Lines Matching refs:status
13 /* this function returns the status-register of our i2c-device */
18 DEB_I2C(("status: 0x%08x\n",iicsta));
111 /* get current status */
112 u32 status = saa7146_i2c_status(dev);
119 if ( 0 != ( status & SAA7146_I2C_BUSY) ) {
136 status = saa7146_i2c_status(dev);
138 if ( dev->i2c_bitrate != status ) {
140 DEB_I2C(("error_state detected. status:0x%08x\n",status));
153 /* the data sheet says it might be necessary to clear the status
161 status = saa7146_i2c_status(dev);
162 if ( dev->i2c_bitrate != status ) {
163 DEB_I2C(("fatal error. status:0x%08x\n",status));
175 u32 status = 0, mc2 = 0;
180 DEB_I2C(("before: 0x%08x (status: 0x%08x), %d\n",*dword,saa7146_read(dev, I2C_STATUS), dev->i2c_op));
205 status = saa7146_read(dev, I2C_STATUS);
211 /* do not poll for i2c-status before upload is complete */
229 status = saa7146_i2c_status(dev);
230 if ((status & 0x3) != 1)
247 /* give a detailed status report */
248 if ( 0 != (status & (SAA7146_I2C_SPERR | SAA7146_I2C_APERR |
253 if ( 0 == (status & SAA7146_I2C_ERR) ||
254 0 == (status & SAA7146_I2C_BUSY) ) {
256 DEB_I2C(("unexpected i2c status %04x\n", status));
258 if( 0 != (status & SAA7146_I2C_SPERR) ) {
261 if( 0 != (status & SAA7146_I2C_DTERR) ) {
264 if( 0 != (status & SAA7146_I2C_DRERR) ) {
267 if( 0 != (status & SAA7146_I2C_AL) ) {
272 if( 0 != (status & SAA7146_I2C_APERR) ) {