Lines Matching refs:current_cmd
360 xhci->current_cmd = cur_cmd; in xhci_handle_stopped_cmd_ring()
1558 xhci->current_cmd = NULL; in xhci_cleanup_command_queue()
1580 if (!xhci->current_cmd || delayed_work_pending(&xhci->cmd_timer)) { in xhci_handle_command_timeout()
1585 cmd_field3 = le32_to_cpu(xhci->current_cmd->command_trb->generic.field[3]); in xhci_handle_command_timeout()
1606 xhci->current_cmd->status = COMP_COMMAND_ABORTED; in xhci_handle_command_timeout()
1634 xhci_handle_stopped_cmd_ring(xhci, xhci->current_cmd); in xhci_handle_command_timeout()
1701 if (xhci->current_cmd == cmd) in handle_cmd_completion()
1702 xhci->current_cmd = NULL; in handle_cmd_completion()
1765 xhci->current_cmd = list_first_entry(&cmd->cmd_list, in handle_cmd_completion()
1768 } else if (xhci->current_cmd == cmd) { in handle_cmd_completion()
1769 xhci->current_cmd = NULL; in handle_cmd_completion()
4287 xhci->current_cmd = cmd; in queue_command()