Lines Matching refs:event
455 union xhci_trb *event; in xhci_configure_endpoints() local
463 event = xhci_wait_for_event(ctrl, TRB_COMPLETION); in xhci_configure_endpoints()
464 if (!event) in xhci_configure_endpoints()
467 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) in xhci_configure_endpoints()
470 switch (GET_COMP_CODE(le32_to_cpu(event->event_cmd.status))) { in xhci_configure_endpoints()
478 GET_COMP_CODE(le32_to_cpu(event->event_cmd.status))); in xhci_configure_endpoints()
636 union xhci_trb *event; in xhci_address_device() local
652 event = xhci_wait_for_event(ctrl, TRB_COMPLETION); in xhci_address_device()
653 if (!event) in xhci_address_device()
656 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) != slot_id); in xhci_address_device()
658 switch (GET_COMP_CODE(le32_to_cpu(event->event_cmd.status))) { in xhci_address_device()
680 GET_COMP_CODE(le32_to_cpu(event->event_cmd.status))); in xhci_address_device()
716 union xhci_trb *event; in _xhci_alloc_device() local
730 event = xhci_wait_for_event(ctrl, TRB_COMPLETION); in _xhci_alloc_device()
731 if (!event) in _xhci_alloc_device()
734 BUG_ON(GET_COMP_CODE(le32_to_cpu(event->event_cmd.status)) in _xhci_alloc_device()
737 udev->slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)); in _xhci_alloc_device()