Lines Matching refs:current_command
90 sp->current_command->status = IBMASM_CMD_FAILED; in do_exec_command()
91 wake_up(&sp->current_command->wait); in do_exec_command()
92 command_put(sp->current_command); in do_exec_command()
114 if (!sp->current_command) { in ibmasm_exec_command()
115 sp->current_command = cmd; in ibmasm_exec_command()
116 command_get(sp->current_command); in ibmasm_exec_command()
133 sp->current_command = dequeue_command(sp); in exec_next_command()
134 if (sp->current_command) { in exec_next_command()
135 command_get(sp->current_command); in exec_next_command()
163 struct command *cmd = sp->current_command; in ibmasm_receive_command_response()
165 if (!sp->current_command) in ibmasm_receive_command_response()
170 wake_up(&sp->current_command->wait); in ibmasm_receive_command_response()
171 command_put(sp->current_command); in ibmasm_receive_command_response()