Lines Matching refs:trb_comp_code

2104 		unsigned int trb_comp_code)  in xhci_requires_manual_halt_cleanup()  argument
2107 if (trb_comp_code == COMP_USB_TRANSACTION_ERROR || in xhci_requires_manual_halt_cleanup()
2108 trb_comp_code == COMP_BABBLE_DETECTED_ERROR || in xhci_requires_manual_halt_cleanup()
2109 trb_comp_code == COMP_SPLIT_TRANSACTION_ERROR) in xhci_requires_manual_halt_cleanup()
2122 int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code) in xhci_is_vendor_info_code() argument
2124 if (trb_comp_code >= 224 && trb_comp_code <= 255) { in xhci_is_vendor_info_code()
2129 trb_comp_code); in xhci_is_vendor_info_code()
2138 u32 trb_comp_code) in finish_td() argument
2144 switch (trb_comp_code) { in finish_td()
2243 u32 trb_comp_code; in process_ctrl_td() local
2249 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_ctrl_td()
2253 switch (trb_comp_code) { in process_ctrl_td()
2293 ep_ctx, trb_comp_code)) in process_ctrl_td()
2296 trb_comp_code, ep->ep_index); in process_ctrl_td()
2328 return finish_td(xhci, ep, ep_ring, td, trb_comp_code); in process_ctrl_td()
2341 u32 trb_comp_code; in process_isoc_td() local
2346 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_isoc_td()
2357 switch (trb_comp_code) { in process_isoc_td()
2413 return finish_td(xhci, ep, ep_ring, td, trb_comp_code); in process_isoc_td()
2450 u32 trb_comp_code; in process_bulk_intr_td() local
2454 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_bulk_intr_td()
2459 switch (trb_comp_code) { in process_bulk_intr_td()
2514 return finish_td(xhci, ep, ep_ring, td, trb_comp_code); in process_bulk_intr_td()
2536 u32 trb_comp_code; in handle_tx_event() local
2542 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in handle_tx_event()
2563 switch (trb_comp_code) { in handle_tx_event()
2589 switch (trb_comp_code) { in handle_tx_event()
2598 trb_comp_code = COMP_SHORT_PACKET; in handle_tx_event()
2714 if (xhci_is_vendor_info_code(xhci, trb_comp_code)) { in handle_tx_event()
2720 trb_comp_code, slot_id, ep_index); in handle_tx_event()
2737 if (!(trb_comp_code == COMP_STOPPED || in handle_tx_event()
2738 trb_comp_code == COMP_STOPPED_LENGTH_INVALID || in handle_tx_event()
2749 if (trb_comp_code == COMP_STALL_ERROR || in handle_tx_event()
2751 trb_comp_code)) { in handle_tx_event()
2785 if (!ep_seg && (trb_comp_code == COMP_STOPPED || in handle_tx_event()
2786 trb_comp_code == COMP_STOPPED_LENGTH_INVALID)) { in handle_tx_event()
2807 trb_comp_code); in handle_tx_event()
2817 if (trb_comp_code == COMP_SHORT_PACKET) in handle_tx_event()
2844 if (trb_comp_code == COMP_STALL_ERROR || in handle_tx_event()
2846 trb_comp_code)) in handle_tx_event()
2864 trb_comp_code != COMP_MISSED_SERVICE_ERROR && in handle_tx_event()
2865 trb_comp_code != COMP_NO_PING_RESPONSE_ERROR; in handle_tx_event()