Lines Matching refs:trb_comp_code

2173 int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code)  in xhci_is_vendor_info_code()  argument
2175 if (trb_comp_code >= 224 && trb_comp_code <= 255) { in xhci_is_vendor_info_code()
2180 trb_comp_code); in xhci_is_vendor_info_code()
2189 u32 trb_comp_code) in finish_td() argument
2195 switch (trb_comp_code) { in finish_td()
2291 u32 trb_comp_code; in process_ctrl_td() local
2297 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_ctrl_td()
2301 switch (trb_comp_code) { in process_ctrl_td()
2340 if (!xhci_halted_host_endpoint(ep_ctx, trb_comp_code)) in process_ctrl_td()
2343 trb_comp_code, ep->ep_index); in process_ctrl_td()
2375 return finish_td(xhci, ep, ep_ring, td, trb_comp_code); in process_ctrl_td()
2388 u32 trb_comp_code; in process_isoc_td() local
2393 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_isoc_td()
2404 switch (trb_comp_code) { in process_isoc_td()
2480 return finish_td(xhci, ep, ep_ring, td, trb_comp_code); in process_isoc_td()
2516 u32 trb_comp_code; in process_bulk_intr_td() local
2520 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in process_bulk_intr_td()
2525 switch (trb_comp_code) { in process_bulk_intr_td()
2575 return finish_td(xhci, ep, ep_ring, td, trb_comp_code); in process_bulk_intr_td()
2580 u32 trb_comp_code) in handle_transferless_tx_event() argument
2582 switch (trb_comp_code) { in handle_transferless_tx_event()
2599 trb_comp_code, ep->vdev->slot_id, ep->ep_index); in handle_transferless_tx_event()
2624 u32 trb_comp_code; in handle_tx_event() local
2628 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); in handle_tx_event()
2648 return handle_transferless_tx_event(xhci, ep, trb_comp_code); in handle_tx_event()
2651 switch (trb_comp_code) { in handle_tx_event()
2657 trb_comp_code = COMP_SHORT_PACKET; in handle_tx_event()
2766 if (xhci_is_vendor_info_code(xhci, trb_comp_code)) { in handle_tx_event()
2772 trb_comp_code, slot_id, ep_index); in handle_tx_event()
2808 if (trb_comp_code != COMP_STOPPED && in handle_tx_event()
2809 trb_comp_code != COMP_STOPPED_LENGTH_INVALID && in handle_tx_event()
2847 if (trb_comp_code == COMP_STOPPED || in handle_tx_event()
2848 trb_comp_code == COMP_STOPPED_LENGTH_INVALID) { in handle_tx_event()
2865 ep_index, trb_comp_code); in handle_tx_event()
2886 if (trb_comp_code == COMP_SHORT_PACKET) in handle_tx_event()
2916 if (xhci_halted_host_endpoint(ep_ctx, trb_comp_code)) in handle_tx_event()