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()
325 unsigned int stream_id) in cdnsp_get_transfer_ring() argument
330 if (stream_id == 0 || stream_id >= pep->stream_info.num_streams) { in cdnsp_get_transfer_ring()
332 pep->name, stream_id); in cdnsp_get_transfer_ring()
336 return pep->stream_info.stream_rings[stream_id]; in cdnsp_get_transfer_ring()
344 preq->request.stream_id); in cdnsp_request_to_transfer_ring()
352 unsigned int stream_id; in cdnsp_ring_doorbell_for_active_rings() local
367 for (stream_id = 1; stream_id < stream_info->num_streams; stream_id++) { in cdnsp_ring_doorbell_for_active_rings()
374 ep_ring = cdnsp_get_transfer_ring(pdev, pep, stream_id); in cdnsp_ring_doorbell_for_active_rings()
386 ret = cdnsp_ring_ep_doorbell(pdev, pep, stream_id); in cdnsp_ring_doorbell_for_active_rings()
401 unsigned int stream_id) in cdnsp_get_hw_deq() argument
409 st_ctx = &pep->stream_info.stream_ctx_array[stream_id]; in cdnsp_get_hw_deq()
433 unsigned int stream_id, in cdnsp_find_new_dequeue_state() argument
444 ep_ring = cdnsp_get_transfer_ring(pdev, pep, stream_id); in cdnsp_find_new_dequeue_state()
452 hw_dequeue = cdnsp_get_hw_deq(pdev, pep->idx, stream_id); in cdnsp_find_new_dequeue_state()
456 state->stream_id = stream_id; in cdnsp_find_new_dequeue_state()
658 ep_ring = cdnsp_get_transfer_ring(pdev, pep, deq_state->stream_id); in cdnsp_cmd_set_deq()
716 hw_deq = cdnsp_get_hw_deq(pdev, pep->idx, preq->request.stream_id); in cdnsp_remove_request()
724 cdnsp_find_new_dequeue_state(pdev, pep, preq->request.stream_id, in cdnsp_remove_request()
970 unsigned int stream_id, in cdnsp_giveback_first_trb() argument
987 trace_cdnsp_wait_for_prime(pep, stream_id); in cdnsp_giveback_first_trb()
991 return cdnsp_ring_ep_doorbell(pdev, pep, stream_id); in cdnsp_giveback_first_trb()
1684 preq->request.stream_id); in cdnsp_prepare_transfer()
2036 ret = cdnsp_giveback_first_trb(pdev, pep, preq->request.stream_id, in cdnsp_queue_bulk_tx()
2135 cdnsp_ring_ep_doorbell(pdev, pep, preq->request.stream_id); in cdnsp_queue_ctrl_tx()
2356 cdnsp_giveback_first_trb(pdev, preq->pep, preq->request.stream_id, in cdnsp_queue_isoc_tx()
2455 u32 trb_stream_id = STREAM_ID_FOR_TRB(deq_state->stream_id); in cdnsp_queue_new_dequeue_state()
2464 if (deq_state->stream_id) in cdnsp_queue_new_dequeue_state()