Searched refs:reset_device_cmd (Results 1 – 1 of 1) sorted by relevance
2275 struct xhci_command *reset_device_cmd; in xhci_discover_or_reset_device() local2317 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()[all …]