Lines Matching refs:trb_comp_code
1891 unsigned int trb_comp_code) in xhci_requires_manual_halt_cleanup() argument
1894 if (trb_comp_code == COMP_USB_TRANSACTION_ERROR || in xhci_requires_manual_halt_cleanup()
1895 trb_comp_code == COMP_BABBLE_DETECTED_ERROR || in xhci_requires_manual_halt_cleanup()
1896 trb_comp_code == COMP_SPLIT_TRANSACTION_ERROR) in xhci_requires_manual_halt_cleanup()
1909 int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code) in xhci_is_vendor_info_code() argument
1911 if (trb_comp_code >= 224 && trb_comp_code <= 255) { in xhci_is_vendor_info_code()
1916 trb_comp_code); in xhci_is_vendor_info_code()
1977 u32 trb_comp_code; in finish_td() local
1985 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in finish_td()
1987 if (trb_comp_code == COMP_STOPPED_LENGTH_INVALID || in finish_td()
1988 trb_comp_code == COMP_STOPPED || in finish_td()
1989 trb_comp_code == COMP_STOPPED_SHORT_PACKET) { in finish_td()
1996 if (trb_comp_code == COMP_STALL_ERROR || in finish_td()
1998 trb_comp_code)) { in finish_td()
2009 if ((ep_index != 0) || (trb_comp_code != COMP_STALL_ERROR)) in finish_td()
2049 u32 trb_comp_code; in process_ctrl_td() local
2058 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_ctrl_td()
2062 switch (trb_comp_code) { in process_ctrl_td()
2102 ep_ctx, trb_comp_code)) in process_ctrl_td()
2105 trb_comp_code, ep_index); in process_ctrl_td()
2151 u32 trb_comp_code; in process_isoc_td() local
2157 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_isoc_td()
2168 switch (trb_comp_code) { in process_isoc_td()
2264 u32 trb_comp_code; in process_bulk_intr_td() local
2273 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_bulk_intr_td()
2278 switch (trb_comp_code) { in process_bulk_intr_td()
2352 u32 trb_comp_code; in handle_tx_event() local
2358 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in handle_tx_event()
2381 switch (trb_comp_code) { in handle_tx_event()
2407 switch (trb_comp_code) { in handle_tx_event()
2416 trb_comp_code = COMP_SHORT_PACKET; in handle_tx_event()
2532 if (xhci_is_vendor_info_code(xhci, trb_comp_code)) { in handle_tx_event()
2538 trb_comp_code, slot_id, ep_index); in handle_tx_event()
2555 if (!(trb_comp_code == COMP_STOPPED || in handle_tx_event()
2556 trb_comp_code == COMP_STOPPED_LENGTH_INVALID || in handle_tx_event()
2567 if (trb_comp_code == COMP_STALL_ERROR || in handle_tx_event()
2569 trb_comp_code)) { in handle_tx_event()
2604 if (!ep_seg && (trb_comp_code == COMP_STOPPED || in handle_tx_event()
2605 trb_comp_code == COMP_STOPPED_LENGTH_INVALID)) { in handle_tx_event()
2626 trb_comp_code); in handle_tx_event()
2636 if (trb_comp_code == COMP_SHORT_PACKET) in handle_tx_event()
2662 if (trb_comp_code == COMP_STALL_ERROR || in handle_tx_event()
2664 trb_comp_code)) in handle_tx_event()
2682 trb_comp_code != COMP_MISSED_SERVICE_ERROR && in handle_tx_event()
2683 trb_comp_code != COMP_NO_PING_RESPONSE_ERROR; in handle_tx_event()