Lines Matching refs:next_cmd
663 int next_cmd = -1; in img_i2c_sequence() local
687 next_cmd = *i2c->seq; in img_i2c_sequence()
689 if (!next_cmd) { in img_i2c_sequence()
694 if (next_cmd == CMD_GEN_DATA) { in img_i2c_sequence()
699 img_i2c_atomic_op(i2c, next_cmd, next_data); in img_i2c_sequence()
736 int next_cmd = -1; in img_i2c_atomic() local
748 next_cmd = CMD_GEN_STOP; in img_i2c_atomic()
756 next_cmd = CMD_GEN_DATA; in img_i2c_atomic()
761 next_cmd = CMD_RET_ACK; in img_i2c_atomic()
768 next_cmd = CMD_GEN_STOP; in img_i2c_atomic()
770 next_cmd = CMD_RET_DATA; in img_i2c_atomic()
772 next_cmd = CMD_GEN_DATA; in img_i2c_atomic()
779 next_cmd = CMD_GEN_STOP; in img_i2c_atomic()
790 next_cmd = CMD_GEN_ACK; in img_i2c_atomic()
792 next_cmd = CMD_GEN_NACK; in img_i2c_atomic()
797 next_cmd = CMD_RET_DATA; in img_i2c_atomic()
800 next_cmd = CMD_GEN_STOP; in img_i2c_atomic()
804 next_cmd = CMD_GEN_STOP; in img_i2c_atomic()
813 next_cmd = CMD_GEN_STOP; in img_i2c_atomic()
818 if (next_cmd != -1) { in img_i2c_atomic()
820 if (next_cmd == CMD_GEN_STOP && !i2c->msg_status && in img_i2c_atomic()
823 img_i2c_atomic_op(i2c, next_cmd, next_data); in img_i2c_atomic()