Lines Matching refs:stream_id

483 		unsigned int stream_id)
499 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id));
501 writel(DB_VALUE(ep_index, stream_id), db_addr);
511 unsigned int stream_id;
523 for (stream_id = 1; stream_id < ep->stream_info->num_streams;
524 stream_id++) {
526 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list))
528 stream_id);
561 unsigned int stream_id)
570 if (stream_id == 0 || stream_id >= ep->stream_info->num_streams) {
571 xhci_warn(xhci, "Invalid stream_id %u request for slot_id %u ep_index %u\n",
572 stream_id, ep->vdev->slot_id, ep->ep_index);
576 return ep->stream_info->stream_rings[stream_id];
579 /* Get the right ring for the given slot_id, ep_index and stream_id.
585 unsigned int stream_id)
593 return xhci_virt_ep_to_ring(xhci, ep, stream_id);
604 unsigned int ep_index, unsigned int stream_id)
613 st_ctx = &ep->stream_info->stream_ctx_array[stream_id];
622 unsigned int stream_id, struct xhci_td *td)
639 ep_index, stream_id);
642 stream_id);
665 hw_dequeue = xhci_get_hw_deq(xhci, dev, ep_index, stream_id);
723 if (stream_id)
728 STREAM_ID_FOR_TRB(stream_id), SLOT_ID_FOR_TRB(slot_id) |
997 td->urb->stream_id, td->urb);
1002 td->urb, td->urb->stream_id);
1012 td->urb->stream_id);
1028 td->urb->stream_id, td->urb,
1029 cached_td->urb->stream_id, cached_td->urb);
1044 cached_td->urb->stream_id,
1209 int stream_id;
1211 for (stream_id = 1; stream_id < ep->stream_info->num_streams;
1212 stream_id++) {
1213 ring = ep->stream_info->stream_rings[stream_id];
1219 slot_id, ep_index, stream_id);
1324 unsigned int stream_id;
1332 stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2]));
1337 ep_ring = xhci_virt_ep_to_ring(xhci, ep, stream_id);
1340 stream_id);
1387 &ep->stream_info->stream_ctx_array[stream_id];
3307 unsigned int stream_id,
3320 stream_id);
3323 stream_id);
3412 unsigned int ep_index, unsigned int stream_id, int start_cycle,
3424 xhci_ring_ep_doorbell(xhci, slot_id, ep_index, stream_id);
3627 ep_index, urb->stream_id,
3736 ep_index, urb->stream_id,
3746 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id,
3786 ep_index, urb->stream_id,
4104 urb->stream_id, trbs_per_td, urb, i, mem_flags);
4208 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id,