Lines Matching refs:stream_id
328 unsigned int stream_id) in xhci_ring_ep_doorbell() argument
343 writel(DB_VALUE(ep_index, stream_id), db_addr); in xhci_ring_ep_doorbell()
354 unsigned int stream_id; in ring_doorbell_for_active_rings() local
366 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
367 stream_id++) { in ring_doorbell_for_active_rings()
369 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
371 stream_id); in ring_doorbell_for_active_rings()
377 unsigned int stream_id) in xhci_triad_to_transfer_ring() argument
386 if (stream_id == 0) { in xhci_triad_to_transfer_ring()
394 if (stream_id < ep->stream_info->num_streams) in xhci_triad_to_transfer_ring()
395 return ep->stream_info->stream_rings[stream_id]; in xhci_triad_to_transfer_ring()
403 stream_id); in xhci_triad_to_transfer_ring()
415 xhci_get_endpoint_index(&urb->ep->desc), urb->stream_id); in xhci_urb_to_transfer_ring()
438 unsigned int stream_id, struct xhci_td *cur_td, in xhci_find_new_dequeue_state() argument
452 ep_index, stream_id); in xhci_find_new_dequeue_state()
456 stream_id); in xhci_find_new_dequeue_state()
466 &ep->stream_info->stream_ctx_array[stream_id]; in xhci_find_new_dequeue_state()
694 cur_td->urb->stream_id); in xhci_handle_cmd_stop_ep()
703 cur_td->urb->stream_id, in xhci_handle_cmd_stop_ep()
721 ep->stopped_td->urb->stream_id, &deq_state); in xhci_handle_cmd_stop_ep()
781 int stream_id; in xhci_kill_endpoint_urbs() local
783 for (stream_id = 0; stream_id < ep->stream_info->num_streams; in xhci_kill_endpoint_urbs()
784 stream_id++) { in xhci_kill_endpoint_urbs()
787 slot_id, ep_index, stream_id + 1); in xhci_kill_endpoint_urbs()
789 ep->stream_info->stream_rings[stream_id]); in xhci_kill_endpoint_urbs()
957 unsigned int stream_id; in xhci_handle_cmd_set_deq() local
965 stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2])); in xhci_handle_cmd_set_deq()
969 ep_ring = xhci_stream_id_to_ring(dev, ep_index, stream_id); in xhci_handle_cmd_set_deq()
972 stream_id); in xhci_handle_cmd_set_deq()
1018 &ep->stream_info->stream_ctx_array[stream_id]; in xhci_handle_cmd_set_deq()
1736 unsigned int stream_id, in xhci_cleanup_halted_endpoint() argument
1746 ep->stopped_stream = stream_id; in xhci_cleanup_halted_endpoint()
1844 ep_ring->stream_id, td, event_trb); in finish_td()
2892 unsigned int stream_id, in prepare_transfer() argument
2904 ep_ring = xhci_stream_id_to_ring(xdev, ep_index, stream_id); in prepare_transfer()
2907 stream_id); in prepare_transfer()
2990 unsigned int ep_index, unsigned int stream_id, int start_cycle, in giveback_first_trb() argument
3002 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, stream_id); in giveback_first_trb()
3114 ep_index, urb->stream_id, in queue_bulk_sg_tx()
3128 ep_index, urb->stream_id, in queue_bulk_sg_tx()
3249 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in queue_bulk_sg_tx()
3299 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3313 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3401 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3441 ep_index, urb->stream_id, in xhci_queue_ctrl_tx()
3751 urb->stream_id, trbs_per_td, urb, i, mem_flags); in xhci_queue_isoc_tx()
3863 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_isoc_tx()
4118 unsigned int stream_id, in xhci_queue_new_dequeue_state() argument
4124 u32 trb_stream_id = STREAM_ID_FOR_TRB(stream_id); in xhci_queue_new_dequeue_state()
4164 if (stream_id) in xhci_queue_new_dequeue_state()