Lines Matching refs:trb_comp_code
2164 unsigned int trb_comp_code) in xhci_requires_manual_halt_cleanup() argument
2167 if (trb_comp_code == COMP_USB_TRANSACTION_ERROR || in xhci_requires_manual_halt_cleanup()
2168 trb_comp_code == COMP_BABBLE_DETECTED_ERROR || in xhci_requires_manual_halt_cleanup()
2169 trb_comp_code == COMP_SPLIT_TRANSACTION_ERROR) in xhci_requires_manual_halt_cleanup()
2182 int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code) in xhci_is_vendor_info_code() argument
2184 if (trb_comp_code >= 224 && trb_comp_code <= 255) { in xhci_is_vendor_info_code()
2189 trb_comp_code); in xhci_is_vendor_info_code()
2198 u32 trb_comp_code) in finish_td() argument
2204 switch (trb_comp_code) { in finish_td()
2303 u32 trb_comp_code; in process_ctrl_td() local
2309 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_ctrl_td()
2313 switch (trb_comp_code) { in process_ctrl_td()
2353 ep_ctx, trb_comp_code)) in process_ctrl_td()
2356 trb_comp_code, ep->ep_index); in process_ctrl_td()
2388 return finish_td(xhci, ep, ep_ring, td, trb_comp_code); in process_ctrl_td()
2401 u32 trb_comp_code; in process_isoc_td() local
2406 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_isoc_td()
2417 switch (trb_comp_code) { in process_isoc_td()
2473 return finish_td(xhci, ep, ep_ring, td, trb_comp_code); in process_isoc_td()
2510 u32 trb_comp_code; in process_bulk_intr_td() local
2514 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_bulk_intr_td()
2519 switch (trb_comp_code) { in process_bulk_intr_td()
2574 return finish_td(xhci, ep, ep_ring, td, trb_comp_code); in process_bulk_intr_td()
2596 u32 trb_comp_code; in handle_tx_event() local
2602 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in handle_tx_event()
2623 switch (trb_comp_code) { in handle_tx_event()
2649 switch (trb_comp_code) { in handle_tx_event()
2658 trb_comp_code = COMP_SHORT_PACKET; in handle_tx_event()
2774 if (xhci_is_vendor_info_code(xhci, trb_comp_code)) { in handle_tx_event()
2780 trb_comp_code, slot_id, ep_index); in handle_tx_event()
2797 if (!(trb_comp_code == COMP_STOPPED || in handle_tx_event()
2798 trb_comp_code == COMP_STOPPED_LENGTH_INVALID || in handle_tx_event()
2809 if (trb_comp_code == COMP_STALL_ERROR || in handle_tx_event()
2811 trb_comp_code)) { in handle_tx_event()
2845 if (!ep_seg && (trb_comp_code == COMP_STOPPED || in handle_tx_event()
2846 trb_comp_code == COMP_STOPPED_LENGTH_INVALID)) { in handle_tx_event()
2867 trb_comp_code); in handle_tx_event()
2877 if (trb_comp_code == COMP_SHORT_PACKET) in handle_tx_event()
2904 if (trb_comp_code == COMP_STALL_ERROR || in handle_tx_event()
2906 trb_comp_code)) in handle_tx_event()
2924 trb_comp_code != COMP_MISSED_SERVICE_ERROR && in handle_tx_event()
2925 trb_comp_code != COMP_NO_PING_RESPONSE_ERROR; in handle_tx_event()