Lines Matching full:command
34 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) in ibmasm_new_command()
36 struct command *cmd; in ibmasm_new_command()
41 cmd = kzalloc(sizeof(struct command), GFP_KERNEL); in ibmasm_new_command()
61 dbg("command count: %d\n", atomic_read(&command_count)); in ibmasm_new_command()
68 struct command *cmd = to_command(kref); in ibmasm_free_command()
72 dbg("command count: %d\n", atomic_read(&command_count)); in ibmasm_free_command()
77 static void enqueue_command(struct service_processor *sp, struct command *cmd) in enqueue_command()
82 static struct command *dequeue_command(struct service_processor *sp) in dequeue_command()
84 struct command *cmd; in dequeue_command()
92 cmd = list_entry(next, struct command, queue_node); in dequeue_command()
113 * send a command to a service processor
114 * Commands are executed sequentially. One command (sp->current_command)
119 void ibmasm_exec_command(struct service_processor *sp, struct command *cmd) in ibmasm_exec_command()
158 * Sleep until a command has failed or a response has been received
159 * and the command status been updated by the interrupt handler.
162 void ibmasm_wait_for_response(struct command *cmd, int timeout) in ibmasm_wait_for_response()
172 * called by the interrupt handler when a dot command of type command_response
177 struct command *cmd = sp->current_command; in ibmasm_receive_command_response()