Lines Matching refs:stream_id
392 unsigned int stream_id) in xhci_ring_ep_doorbell() argument
408 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell()
410 writel(DB_VALUE(ep_index, stream_id), db_addr); in xhci_ring_ep_doorbell()
421 unsigned int stream_id; in ring_doorbell_for_active_rings() local
433 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
434 stream_id++) { in ring_doorbell_for_active_rings()
436 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
438 stream_id); in ring_doorbell_for_active_rings()
455 unsigned int stream_id) in xhci_triad_to_transfer_ring() argument
464 if (stream_id == 0) { in xhci_triad_to_transfer_ring()
472 if (stream_id < ep->stream_info->num_streams) in xhci_triad_to_transfer_ring()
473 return ep->stream_info->stream_rings[stream_id]; in xhci_triad_to_transfer_ring()
481 stream_id); in xhci_triad_to_transfer_ring()
493 unsigned int ep_index, unsigned int stream_id) in xhci_get_hw_deq() argument
502 st_ctx = &ep->stream_info->stream_ctx_array[stream_id]; in xhci_get_hw_deq()
529 unsigned int stream_id, struct xhci_td *cur_td, in xhci_find_new_dequeue_state() argument
543 ep_index, stream_id); in xhci_find_new_dequeue_state()
547 stream_id); in xhci_find_new_dequeue_state()
571 hw_dequeue = xhci_get_hw_deq(xhci, dev, ep_index, stream_id); in xhci_find_new_dequeue_state()
575 state->stream_id = stream_id; in xhci_find_new_dequeue_state()
785 cur_td->urb->stream_id); in xhci_handle_cmd_stop_ep()
793 cur_td->urb->stream_id); in xhci_handle_cmd_stop_ep()
799 cur_td->urb->stream_id, in xhci_handle_cmd_stop_ep()
887 int stream_id; in xhci_kill_endpoint_urbs() local
889 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in xhci_kill_endpoint_urbs()
890 stream_id++) { in xhci_kill_endpoint_urbs()
891 ring = ep->stream_info->stream_rings[stream_id]; in xhci_kill_endpoint_urbs()
897 slot_id, ep_index, stream_id); in xhci_kill_endpoint_urbs()
1065 unsigned int stream_id; in xhci_handle_cmd_set_deq() local
1073 stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2])); in xhci_handle_cmd_set_deq()
1077 ep_ring = xhci_stream_id_to_ring(dev, ep_index, stream_id); in xhci_handle_cmd_set_deq()
1080 stream_id); in xhci_handle_cmd_set_deq()
1127 &ep->stream_info->stream_ctx_array[stream_id]; in xhci_handle_cmd_set_deq()
1854 unsigned int stream_id, struct xhci_td *td, in xhci_cleanup_halted_endpoint() argument
1877 xhci_cleanup_stalled_ring(xhci, slot_id, ep_index, stream_id, in xhci_cleanup_halted_endpoint()
2012 ep_ring->stream_id, td, EP_HARD_RESET); in finish_td()
2310 ep_ring->stream_id, td, EP_SOFT_RESET); in process_bulk_intr_td()
2572 ep_ring->stream_id, in handle_tx_event()
2667 ep_ring->stream_id, in handle_tx_event()
3025 unsigned int stream_id, in prepare_transfer() argument
3037 ep_ring = xhci_stream_id_to_ring(xdev, ep_index, stream_id); in prepare_transfer()
3040 stream_id); in prepare_transfer()
3129 unsigned int ep_index, unsigned int stream_id, int start_cycle, in giveback_first_trb() argument
3141 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, stream_id); in giveback_first_trb()
3340 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3449 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3457 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3497 ep_index, urb->stream_id, in xhci_queue_ctrl_tx()
3813 urb->stream_id, trbs_per_td, urb, i, mem_flags); in xhci_queue_isoc_tx()
3916 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_isoc_tx()
4154 u32 trb_stream_id = STREAM_ID_FOR_TRB(deq_state->stream_id); in xhci_queue_new_dequeue_state()
4192 if (deq_state->stream_id) in xhci_queue_new_dequeue_state()