Lines Matching refs:state
77 * @state: Current state in the driver state machine
95 int state;
239 i2c->state = STATE_IDLE;
241 if (i2c->state == STATE_READ && i2c->count)
248 i2c->state = STATE_IDLE;
263 dev_dbg(i2c->dev, "irq: state %d, pos %d, count %d, ctrl %08x\n",
264 i2c->state, i2c->pos, i2c->count, ctrl);
266 if (i2c->state == STATE_IDLE) {
273 if (i2c->state == STATE_IDLE) {
323 i2c->state = (msg->flags & I2C_M_RD) ? STATE_READ : STATE_WRITE;
358 i2c->state = STATE_IDLE;