Lines Matching refs:stream_id
431 unsigned int stream_id) in xhci_ring_ep_doorbell() argument
447 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell()
449 writel(DB_VALUE(ep_index, stream_id), db_addr); in xhci_ring_ep_doorbell()
459 unsigned int stream_id; in ring_doorbell_for_active_rings() local
471 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
472 stream_id++) { in ring_doorbell_for_active_rings()
474 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
476 stream_id); in ring_doorbell_for_active_rings()
509 unsigned int stream_id) in xhci_virt_ep_to_ring() argument
518 if (stream_id == 0 || stream_id >= ep->stream_info->num_streams) { in xhci_virt_ep_to_ring()
520 stream_id, ep->vdev->slot_id, ep->ep_index); in xhci_virt_ep_to_ring()
524 return ep->stream_info->stream_rings[stream_id]; in xhci_virt_ep_to_ring()
533 unsigned int stream_id) in xhci_triad_to_transfer_ring() argument
541 return xhci_virt_ep_to_ring(xhci, ep, stream_id); in xhci_triad_to_transfer_ring()
552 unsigned int ep_index, unsigned int stream_id) in xhci_get_hw_deq() argument
561 st_ctx = &ep->stream_info->stream_ctx_array[stream_id]; in xhci_get_hw_deq()
570 unsigned int stream_id, struct xhci_td *td) in xhci_move_dequeue_past_td() argument
590 ep_index, stream_id); in xhci_move_dequeue_past_td()
593 stream_id); in xhci_move_dequeue_past_td()
616 hw_dequeue = xhci_get_hw_deq(xhci, dev, ep_index, stream_id); in xhci_move_dequeue_past_td()
694 if (stream_id) in xhci_move_dequeue_past_td()
699 STREAM_ID_FOR_TRB(stream_id), SLOT_ID_FOR_TRB(slot_id) | in xhci_move_dequeue_past_td()
909 struct xhci_virt_ep *ep, unsigned int stream_id, in xhci_handle_halted_endpoint() argument
976 td->urb->stream_id, td->urb); in xhci_invalidate_cancelled_tds()
981 td->urb, td->urb->stream_id); in xhci_invalidate_cancelled_tds()
991 td->urb->stream_id); in xhci_invalidate_cancelled_tds()
1007 td->urb->stream_id, td->urb, in xhci_invalidate_cancelled_tds()
1008 cached_td->urb->stream_id, cached_td->urb); in xhci_invalidate_cancelled_tds()
1025 cached_td->urb->stream_id, in xhci_invalidate_cancelled_tds()
1188 int stream_id; in xhci_kill_endpoint_urbs() local
1190 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in xhci_kill_endpoint_urbs()
1191 stream_id++) { in xhci_kill_endpoint_urbs()
1192 ring = ep->stream_info->stream_rings[stream_id]; in xhci_kill_endpoint_urbs()
1198 slot_id, ep_index, stream_id); in xhci_kill_endpoint_urbs()
1357 unsigned int stream_id; in xhci_handle_cmd_set_deq() local
1365 stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2])); in xhci_handle_cmd_set_deq()
1370 ep_ring = xhci_virt_ep_to_ring(xhci, ep, stream_id); in xhci_handle_cmd_set_deq()
1373 stream_id); in xhci_handle_cmd_set_deq()
1420 &ep->stream_info->stream_ctx_array[stream_id]; in xhci_handle_cmd_set_deq()
2246 xhci_handle_halted_endpoint(xhci, ep, ep_ring->stream_id, td, in finish_td()
2263 xhci_handle_halted_endpoint(xhci, ep, ep_ring->stream_id, td, in finish_td()
2553 xhci_handle_halted_endpoint(xhci, ep, ep_ring->stream_id, td, in process_bulk_intr_td()
2812 ep_ring->stream_id, in handle_tx_event()
2907 ep_ring->stream_id, in handle_tx_event()
3298 unsigned int stream_id, in prepare_transfer() argument
3311 stream_id); in prepare_transfer()
3314 stream_id); in prepare_transfer()
3403 unsigned int ep_index, unsigned int stream_id, int start_cycle, in giveback_first_trb() argument
3415 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, stream_id); in giveback_first_trb()
3618 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3727 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3737 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3777 ep_index, urb->stream_id, in xhci_queue_ctrl_tx()
4095 urb->stream_id, trbs_per_td, urb, i, mem_flags); in xhci_queue_isoc_tx()
4199 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_isoc_tx()