func: static void xhci_wakeup_endpoint(USBBus *bus, USBEndpoint unsigned int stream) XHCIState * xhci = container_of ( bus , XHCIState , bus ) ; int slotid ; slotid = ep -> dev -> addr; if ( slotid == 0 || ! xhci -> slots [ slotid - 1 ] . enabled )  xhci_kick_ep ( xhci , slotid , xhci_find_epid ( ep ) , stream ); static void xhci_kick_ep(XHCIState *xhci, unsigned int unsigned int epid, unsigned int streamid) XHCIEPContext * epctx ; if ( ! xhci -> slots [ slotid - 1 ] . enabled )  epctx = xhci -> slots [ slotid - 1 ] . eps [ epid - 1 ]; if ( ! epctx )  if ( ! xhci -> slots [ slotid - 1 ] . uport || ! xhci -> slots [ slotid - 1 ] . uport -> dev || ! xhci -> slots [ slotid - 1 ] . uport -> dev -> attached )  if ( epctx -> retry )  XHCITransfer * xfer = epctx -> retry ; if ( xfer -> timed_xfer )  if ( xfer -> running_retry )  xfer -> timed_xfer = 0; xfer -> running_retry = 1; if ( xfer -> iso_xfer )  if ( xhci_setup_packet ( xfer ) < 0 )  assert ( xfer -> packet . status != USB_RET_NAK ); 