Lines Matching refs:current_command
104 sp->current_command->status = IBMASM_CMD_FAILED; in do_exec_command()
105 wake_up(&sp->current_command->wait); in do_exec_command()
106 command_put(sp->current_command); in do_exec_command()
128 if (!sp->current_command) { in ibmasm_exec_command()
129 sp->current_command = cmd; in ibmasm_exec_command()
130 command_get(sp->current_command); in ibmasm_exec_command()
147 sp->current_command = dequeue_command(sp); in exec_next_command()
148 if (sp->current_command) { in exec_next_command()
149 command_get(sp->current_command); in exec_next_command()
177 struct command *cmd = sp->current_command; in ibmasm_receive_command_response()
179 if (!sp->current_command) in ibmasm_receive_command_response()
184 wake_up(&sp->current_command->wait); in ibmasm_receive_command_response()
185 command_put(sp->current_command); in ibmasm_receive_command_response()