Lines Matching refs:stream_id
389 unsigned int stream_id) in xhci_ring_ep_doorbell() argument
404 writel(DB_VALUE(ep_index, stream_id), db_addr); in xhci_ring_ep_doorbell()
415 unsigned int stream_id; in ring_doorbell_for_active_rings() local
427 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
428 stream_id++) { in ring_doorbell_for_active_rings()
430 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
432 stream_id); in ring_doorbell_for_active_rings()
442 unsigned int stream_id) in xhci_triad_to_transfer_ring() argument
451 if (stream_id == 0) { in xhci_triad_to_transfer_ring()
459 if (stream_id < ep->stream_info->num_streams) in xhci_triad_to_transfer_ring()
460 return ep->stream_info->stream_rings[stream_id]; in xhci_triad_to_transfer_ring()
468 stream_id); in xhci_triad_to_transfer_ring()
480 unsigned int ep_index, unsigned int stream_id) in xhci_get_hw_deq() argument
489 st_ctx = &ep->stream_info->stream_ctx_array[stream_id]; in xhci_get_hw_deq()
516 unsigned int stream_id, struct xhci_td *cur_td, in xhci_find_new_dequeue_state() argument
530 ep_index, stream_id); in xhci_find_new_dequeue_state()
534 stream_id); in xhci_find_new_dequeue_state()
541 hw_dequeue = xhci_get_hw_deq(xhci, dev, ep_index, stream_id); in xhci_find_new_dequeue_state()
545 state->stream_id = stream_id; in xhci_find_new_dequeue_state()
752 cur_td->urb->stream_id); in xhci_handle_cmd_stop_ep()
760 cur_td->urb->stream_id); in xhci_handle_cmd_stop_ep()
766 cur_td->urb->stream_id, in xhci_handle_cmd_stop_ep()
854 int stream_id; in xhci_kill_endpoint_urbs() local
856 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in xhci_kill_endpoint_urbs()
857 stream_id++) { in xhci_kill_endpoint_urbs()
858 ring = ep->stream_info->stream_rings[stream_id]; in xhci_kill_endpoint_urbs()
864 slot_id, ep_index, stream_id); in xhci_kill_endpoint_urbs()
1028 unsigned int stream_id; in xhci_handle_cmd_set_deq() local
1036 stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2])); in xhci_handle_cmd_set_deq()
1040 ep_ring = xhci_stream_id_to_ring(dev, ep_index, stream_id); in xhci_handle_cmd_set_deq()
1043 stream_id); in xhci_handle_cmd_set_deq()
1090 &ep->stream_info->stream_ctx_array[stream_id]; in xhci_handle_cmd_set_deq()
1743 unsigned int stream_id, struct xhci_td *td, in xhci_cleanup_halted_endpoint() argument
1758 xhci_cleanup_stalled_ring(xhci, ep_index, stream_id, td); in xhci_cleanup_halted_endpoint()
1885 ep_ring->stream_id, td, EP_HARD_RESET); in finish_td()
2510 ep_ring->stream_id, in handle_tx_event()
2842 unsigned int stream_id, in prepare_transfer() argument
2854 ep_ring = xhci_stream_id_to_ring(xdev, ep_index, stream_id); in prepare_transfer()
2857 stream_id); in prepare_transfer()
2946 unsigned int ep_index, unsigned int stream_id, int start_cycle, in giveback_first_trb() argument
2958 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, stream_id); in giveback_first_trb()
3152 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3254 ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3262 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_bulk_tx()
3302 ep_index, urb->stream_id, in xhci_queue_ctrl_tx()
3590 urb->stream_id, trbs_per_td, urb, i, mem_flags); in xhci_queue_isoc_tx()
3696 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id, in xhci_queue_isoc_tx()
3934 u32 trb_stream_id = STREAM_ID_FOR_TRB(deq_state->stream_id); in xhci_queue_new_dequeue_state()
3972 if (deq_state->stream_id) in xhci_queue_new_dequeue_state()