Lines Matching refs:deq_state
636 struct cdnsp_dequeue_state *deq_state) in cdnsp_cmd_set_deq() argument
641 if (!deq_state->new_deq_ptr || !deq_state->new_deq_seg) { in cdnsp_cmd_set_deq()
646 cdnsp_queue_new_dequeue_state(pdev, pep, deq_state); in cdnsp_cmd_set_deq()
657 ep_ring = cdnsp_get_transfer_ring(pdev, pep, deq_state->stream_id); in cdnsp_cmd_set_deq()
664 while (ep_ring->dequeue != deq_state->new_deq_ptr) { in cdnsp_cmd_set_deq()
669 if (ep_ring->dequeue == deq_state->new_deq_ptr) in cdnsp_cmd_set_deq()
694 struct cdnsp_dequeue_state deq_state; in cdnsp_remove_request() local
702 memset(&deq_state, 0, sizeof(deq_state)); in cdnsp_remove_request()
724 cur_td, &deq_state); in cdnsp_remove_request()
743 ret = cdnsp_cmd_set_deq(pdev, pep, &deq_state); in cdnsp_remove_request()
2450 struct cdnsp_dequeue_state *deq_state) in cdnsp_queue_new_dequeue_state() argument
2452 u32 trb_stream_id = STREAM_ID_FOR_TRB(deq_state->stream_id); in cdnsp_queue_new_dequeue_state()
2458 addr = cdnsp_trb_virt_to_dma(deq_state->new_deq_seg, in cdnsp_queue_new_dequeue_state()
2459 deq_state->new_deq_ptr); in cdnsp_queue_new_dequeue_state()
2461 if (deq_state->stream_id) in cdnsp_queue_new_dequeue_state()
2465 deq_state->new_cycle_state, upper_32_bits(addr), in cdnsp_queue_new_dequeue_state()