Lines Matching refs:trb_comp_code
1763 unsigned int trb_comp_code) in xhci_requires_manual_halt_cleanup() argument
1766 if (trb_comp_code == COMP_TX_ERR || in xhci_requires_manual_halt_cleanup()
1767 trb_comp_code == COMP_BABBLE || in xhci_requires_manual_halt_cleanup()
1768 trb_comp_code == COMP_SPLIT_ERR) in xhci_requires_manual_halt_cleanup()
1782 int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code) in xhci_is_vendor_info_code() argument
1784 if (trb_comp_code >= 224 && trb_comp_code <= 255) { in xhci_is_vendor_info_code()
1789 trb_comp_code); in xhci_is_vendor_info_code()
1812 u32 trb_comp_code; in finish_td() local
1819 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in finish_td()
1824 if (trb_comp_code == COMP_STOP_INVAL || trb_comp_code == COMP_STOP) { in finish_td()
1832 if (trb_comp_code == COMP_STALL || in finish_td()
1834 trb_comp_code)) { in finish_td()
1902 u32 trb_comp_code; in process_ctrl_td() local
1909 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_ctrl_td()
1911 switch (trb_comp_code) { in process_ctrl_td()
1936 ep_ctx, trb_comp_code)) in process_ctrl_td()
1940 trb_comp_code, ep_index); in process_ctrl_td()
2008 u32 trb_comp_code; in process_isoc_td() local
2012 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_isoc_td()
2018 switch (trb_comp_code) { in process_isoc_td()
2025 trb_comp_code = COMP_SHORT_TX; in process_isoc_td()
2058 if (trb_comp_code == COMP_SUCCESS || skip_td) { in process_isoc_td()
2072 if (trb_comp_code != COMP_STOP_INVAL) { in process_isoc_td()
2119 u32 trb_comp_code; in process_bulk_intr_td() local
2122 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_bulk_intr_td()
2124 switch (trb_comp_code) { in process_bulk_intr_td()
2136 trb_comp_code = COMP_SHORT_TX; in process_bulk_intr_td()
2151 if (trb_comp_code == COMP_SHORT_TX) in process_bulk_intr_td()
2206 if (trb_comp_code != COMP_STOP_INVAL) in process_bulk_intr_td()
2239 u32 trb_comp_code; in handle_tx_event() local
2291 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in handle_tx_event()
2293 switch (trb_comp_code) { in handle_tx_event()
2301 trb_comp_code = COMP_SHORT_TX; in handle_tx_event()
2381 if (xhci_is_vendor_info_code(xhci, trb_comp_code)) { in handle_tx_event()
2386 trb_comp_code); in handle_tx_event()
2400 if (!(trb_comp_code == COMP_STOP || in handle_tx_event()
2401 trb_comp_code == COMP_STOP_INVAL)) { in handle_tx_event()
2444 if (!event_seg && (trb_comp_code == COMP_STOP || in handle_tx_event()
2445 trb_comp_code == COMP_STOP_INVAL)) { in handle_tx_event()
2468 trb_comp_code); in handle_tx_event()
2478 if (trb_comp_code == COMP_SHORT_TX) in handle_tx_event()
2519 trb_comp_code != COMP_MISSED_INT && in handle_tx_event()
2520 trb_comp_code != COMP_PING_ERR; in handle_tx_event()