Lines Matching defs:action
95 enum mpc_i2c_action action;
509 dev_dbg(i2c->dev, "action = %s\n", action_str[i2c->action]);
513 if (i2c->action != MPC_I2C_ACTION_STOP) {
521 switch (i2c->action) {
531 i2c->action = dir ? MPC_I2C_ACTION_READ_BEGIN : MPC_I2C_ACTION_WRITE;
543 i2c->action = MPC_I2C_ACTION_READ_BYTE;
576 dev_dbg(i2c->dev, "%s %02x\n", action_str[i2c->action], byte);
581 dev_dbg(i2c->dev, "%s %02x\n", action_str[i2c->action],
592 WARN(1, "Unexpected action %d\n", i2c->action);
601 i2c->action = MPC_I2C_ACTION_STOP;
609 i2c->action = MPC_I2C_ACTION_RESTART;
684 i2c->action = MPC_I2C_ACTION_START;