Lines Matching refs:reset_device_cmd
2275 struct xhci_command *reset_device_cmd; in xhci_discover_or_reset_device() local
2317 reset_device_cmd = xhci_alloc_command(xhci, false, true, GFP_NOIO); in xhci_discover_or_reset_device()
2318 if (!reset_device_cmd) { in xhci_discover_or_reset_device()
2325 reset_device_cmd->command_trb = xhci->cmd_ring->enqueue; in xhci_discover_or_reset_device()
2330 if ((reset_device_cmd->command_trb->link.control & TRB_TYPE_BITMASK) in xhci_discover_or_reset_device()
2332 reset_device_cmd->command_trb = in xhci_discover_or_reset_device()
2335 list_add_tail(&reset_device_cmd->cmd_list, &virt_dev->cmd_list); in xhci_discover_or_reset_device()
2339 list_del(&reset_device_cmd->cmd_list); in xhci_discover_or_reset_device()
2348 reset_device_cmd->completion, in xhci_discover_or_reset_device()
2357 if (reset_device_cmd->cmd_list.next != LIST_POISON1) in xhci_discover_or_reset_device()
2358 list_del(&reset_device_cmd->cmd_list); in xhci_discover_or_reset_device()
2368 ret = reset_device_cmd->status; in xhci_discover_or_reset_device()
2412 xhci_free_command(xhci, reset_device_cmd); in xhci_discover_or_reset_device()