Lines Matching defs:state
86 /* i2c controller state */
107 enum s3c24xx_i2c_state state;
340 i2c->state = STATE_STOP;
347 * helper functions to determine the current state in the set of
392 switch (i2c->state) {
417 i2c->state = STATE_READ;
419 i2c->state = STATE_WRITE;
430 if (i2c->state == STATE_READ)
434 * fall through to the write state, as we will need to
495 i2c->state = STATE_START;
572 if (i2c->state == STATE_IDLE) {
573 dev_dbg(i2c->dev, "IRQ: error i2c->state == IDLE\n");
593 * to drive any lines. This is the default state when we don't have
709 i2c->state = STATE_START;
748 i2c->state = STATE_IDLE;