Lines Matching refs:trb_comp_code
1764 unsigned int trb_comp_code) in xhci_requires_manual_halt_cleanup() argument
1767 if (trb_comp_code == COMP_TX_ERR || in xhci_requires_manual_halt_cleanup()
1768 trb_comp_code == COMP_BABBLE || in xhci_requires_manual_halt_cleanup()
1769 trb_comp_code == COMP_SPLIT_ERR) in xhci_requires_manual_halt_cleanup()
1783 int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code) in xhci_is_vendor_info_code() argument
1785 if (trb_comp_code >= 224 && trb_comp_code <= 255) { in xhci_is_vendor_info_code()
1790 trb_comp_code); in xhci_is_vendor_info_code()
1813 u32 trb_comp_code; in finish_td() local
1820 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in finish_td()
1825 if (trb_comp_code == COMP_STOP_INVAL || in finish_td()
1826 trb_comp_code == COMP_STOP || in finish_td()
1827 trb_comp_code == COMP_STOP_SHORT) { in finish_td()
1835 if (trb_comp_code == COMP_STALL || in finish_td()
1837 trb_comp_code)) { in finish_td()
1905 u32 trb_comp_code; in process_ctrl_td() local
1912 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_ctrl_td()
1914 switch (trb_comp_code) { in process_ctrl_td()
1953 ep_ctx, trb_comp_code)) in process_ctrl_td()
1957 trb_comp_code, ep_index); in process_ctrl_td()
2025 u32 trb_comp_code; in process_isoc_td() local
2029 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_isoc_td()
2035 switch (trb_comp_code) { in process_isoc_td()
2042 trb_comp_code = COMP_SHORT_TX; in process_isoc_td()
2077 if (trb_comp_code == COMP_SUCCESS || skip_td) { in process_isoc_td()
2080 } else if (trb_comp_code == COMP_STOP_SHORT) { in process_isoc_td()
2095 if (trb_comp_code != COMP_STOP_INVAL) { in process_isoc_td()
2142 u32 trb_comp_code; in process_bulk_intr_td() local
2145 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_bulk_intr_td()
2147 switch (trb_comp_code) { in process_bulk_intr_td()
2159 trb_comp_code = COMP_SHORT_TX; in process_bulk_intr_td()
2175 if (trb_comp_code == COMP_SHORT_TX) in process_bulk_intr_td()
2182 if (trb_comp_code == COMP_STOP_SHORT) { in process_bulk_intr_td()
2242 if (trb_comp_code != COMP_STOP_INVAL) in process_bulk_intr_td()
2275 u32 trb_comp_code; in handle_tx_event() local
2327 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in handle_tx_event()
2329 switch (trb_comp_code) { in handle_tx_event()
2337 trb_comp_code = COMP_SHORT_TX; in handle_tx_event()
2420 if (xhci_is_vendor_info_code(xhci, trb_comp_code)) { in handle_tx_event()
2425 trb_comp_code); in handle_tx_event()
2439 if (!(trb_comp_code == COMP_STOP || in handle_tx_event()
2440 trb_comp_code == COMP_STOP_INVAL)) { in handle_tx_event()
2483 if (!event_seg && (trb_comp_code == COMP_STOP || in handle_tx_event()
2484 trb_comp_code == COMP_STOP_INVAL)) { in handle_tx_event()
2507 trb_comp_code); in handle_tx_event()
2517 if (trb_comp_code == COMP_SHORT_TX) in handle_tx_event()
2558 trb_comp_code != COMP_MISSED_INT && in handle_tx_event()
2559 trb_comp_code != COMP_PING_ERR; in handle_tx_event()