Lines Matching refs:stream_id
278 unsigned int stream_id) in cdnsp_ring_ep_doorbell() argument
303 db_value = DB_VALUE_EP0_OUT(pep->idx, stream_id); in cdnsp_ring_ep_doorbell()
305 db_value = DB_VALUE(pep->idx, stream_id); in cdnsp_ring_ep_doorbell()
307 trace_cdnsp_tr_drbl(pep, stream_id); in cdnsp_ring_ep_doorbell()
324 unsigned int stream_id) in cdnsp_get_transfer_ring() argument
329 if (stream_id == 0 || stream_id >= pep->stream_info.num_streams) { in cdnsp_get_transfer_ring()
331 pep->name, stream_id); in cdnsp_get_transfer_ring()
335 return pep->stream_info.stream_rings[stream_id]; in cdnsp_get_transfer_ring()
343 preq->request.stream_id); in cdnsp_request_to_transfer_ring()
351 unsigned int stream_id; in cdnsp_ring_doorbell_for_active_rings() local
366 for (stream_id = 1; stream_id < stream_info->num_streams; stream_id++) { in cdnsp_ring_doorbell_for_active_rings()
373 ep_ring = cdnsp_get_transfer_ring(pdev, pep, stream_id); in cdnsp_ring_doorbell_for_active_rings()
385 ret = cdnsp_ring_ep_doorbell(pdev, pep, stream_id); in cdnsp_ring_doorbell_for_active_rings()
400 unsigned int stream_id) in cdnsp_get_hw_deq() argument
405 pep = &pdev->eps[stream_id]; in cdnsp_get_hw_deq()
408 st_ctx = &pep->stream_info.stream_ctx_array[stream_id]; in cdnsp_get_hw_deq()
432 unsigned int stream_id, in cdnsp_find_new_dequeue_state() argument
443 ep_ring = cdnsp_get_transfer_ring(pdev, pep, stream_id); in cdnsp_find_new_dequeue_state()
451 hw_dequeue = cdnsp_get_hw_deq(pdev, pep->idx, stream_id); in cdnsp_find_new_dequeue_state()
455 state->stream_id = stream_id; in cdnsp_find_new_dequeue_state()
657 ep_ring = cdnsp_get_transfer_ring(pdev, pep, deq_state->stream_id); in cdnsp_cmd_set_deq()
715 hw_deq = cdnsp_get_hw_deq(pdev, pep->idx, preq->request.stream_id); in cdnsp_remove_request()
722 cdnsp_find_new_dequeue_state(pdev, pep, preq->request.stream_id, in cdnsp_remove_request()
965 unsigned int stream_id, in cdnsp_giveback_first_trb() argument
982 trace_cdnsp_wait_for_prime(pep, stream_id); in cdnsp_giveback_first_trb()
986 return cdnsp_ring_ep_doorbell(pdev, pep, stream_id); in cdnsp_giveback_first_trb()
1669 preq->request.stream_id); in cdnsp_prepare_transfer()
1998 ret = cdnsp_giveback_first_trb(pdev, pep, preq->request.stream_id, in cdnsp_queue_bulk_tx()
2097 cdnsp_ring_ep_doorbell(pdev, pep, preq->request.stream_id); in cdnsp_queue_ctrl_tx()
2299 cdnsp_giveback_first_trb(pdev, preq->pep, preq->request.stream_id, in cdnsp_queue_isoc_tx()
2422 u32 trb_stream_id = STREAM_ID_FOR_TRB(deq_state->stream_id); in cdnsp_queue_new_dequeue_state()
2431 if (deq_state->stream_id) in cdnsp_queue_new_dequeue_state()