Lines Matching refs:stream_id

493 		unsigned int stream_id)  in xhci_ring_ep_doorbell()  argument
509 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell()
511 writel(DB_VALUE(ep_index, stream_id), db_addr); in xhci_ring_ep_doorbell()
521 unsigned int stream_id; in ring_doorbell_for_active_rings() local
533 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
534 stream_id++) { in ring_doorbell_for_active_rings()
536 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
538 stream_id); in ring_doorbell_for_active_rings()
571 unsigned int stream_id) in xhci_virt_ep_to_ring() argument
580 if (stream_id == 0 || stream_id >= ep->stream_info->num_streams) { in xhci_virt_ep_to_ring()
582 stream_id, ep->vdev->slot_id, ep->ep_index); in xhci_virt_ep_to_ring()
586 return ep->stream_info->stream_rings[stream_id]; in xhci_virt_ep_to_ring()
595 unsigned int stream_id) in xhci_triad_to_transfer_ring() argument
603 return xhci_virt_ep_to_ring(xhci, ep, stream_id); in xhci_triad_to_transfer_ring()
614 unsigned int ep_index, unsigned int stream_id) in xhci_get_hw_deq() argument
623 st_ctx = &ep->stream_info->stream_ctx_array[stream_id]; in xhci_get_hw_deq()
632 unsigned int stream_id, struct xhci_td *td) in xhci_move_dequeue_past_td() argument
649 ep_index, stream_id); in xhci_move_dequeue_past_td()
652 stream_id); in xhci_move_dequeue_past_td()
656 hw_dequeue = xhci_get_hw_deq(xhci, dev, ep_index, stream_id); in xhci_move_dequeue_past_td()
712 if (stream_id) in xhci_move_dequeue_past_td()
717 STREAM_ID_FOR_TRB(stream_id), SLOT_ID_FOR_TRB(slot_id) | in xhci_move_dequeue_past_td()
982 td->urb->stream_id, td->urb); in xhci_invalidate_cancelled_tds()
987 td->urb, td->urb->stream_id); in xhci_invalidate_cancelled_tds()
997 td->urb->stream_id); in xhci_invalidate_cancelled_tds()
1009 if (cached_td->urb->stream_id != td->urb->stream_id) { in xhci_invalidate_cancelled_tds()
1013 td->urb->stream_id, td->urb); in xhci_invalidate_cancelled_tds()
1022 td->urb->stream_id); in xhci_invalidate_cancelled_tds()
1042 cached_td->urb->stream_id, in xhci_invalidate_cancelled_tds()
1221 int stream_id; in xhci_kill_endpoint_urbs() local
1223 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in xhci_kill_endpoint_urbs()
1224 stream_id++) { in xhci_kill_endpoint_urbs()
1225 ring = ep->stream_info->stream_rings[stream_id]; in xhci_kill_endpoint_urbs()
1231 slot_id, ep_index, stream_id); in xhci_kill_endpoint_urbs()
1336 unsigned int stream_id; in xhci_handle_cmd_set_deq() local
1345 stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2])); in xhci_handle_cmd_set_deq()
1350 ep_ring = xhci_virt_ep_to_ring(xhci, ep, stream_id); in xhci_handle_cmd_set_deq()
1353 stream_id); in xhci_handle_cmd_set_deq()
1400 &ep->stream_info->stream_ctx_array[stream_id]; in xhci_handle_cmd_set_deq()
3264 unsigned int stream_id, in prepare_transfer() argument
3277 stream_id); in prepare_transfer()
3280 stream_id); in prepare_transfer()
3369 unsigned int ep_index, unsigned int stream_id, int start_cycle, in giveback_first_trb() argument
3381 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, stream_id); in giveback_first_trb()
3583 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3691 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3700 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3740 ep_index, urb->stream_id, in xhci_queue_ctrl_tx()
4056 urb->stream_id, trbs_per_td, urb, i, mem_flags); in xhci_queue_isoc_tx()
4159 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_isoc_tx()