Lines Matching refs:enqueue
194 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in cdnsp_inc_enq()
197 if (!cdnsp_trb_is_link(ring->enqueue)) in cdnsp_inc_enq()
199 next = ++(ring->enqueue); in cdnsp_inc_enq()
225 ring->enqueue = ring->enq_seg->trbs; in cdnsp_inc_enq()
226 next = ring->enqueue; in cdnsp_inc_enq()
1605 trb = &ring->enqueue->generic; in cdnsp_queue_trb()
1653 while (cdnsp_trb_is_link(ep_ring->enqueue)) { in cdnsp_prepare_ring()
1654 ep_ring->enqueue->link.control |= cpu_to_le32(TRB_CHAIN); in cdnsp_prepare_ring()
1657 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in cdnsp_prepare_ring()
1660 if (cdnsp_link_trb_toggles_cycle(ep_ring->enqueue)) in cdnsp_prepare_ring()
1663 ep_ring->enqueue = ep_ring->enq_seg->trbs; in cdnsp_prepare_ring()
1695 preq->td.first_trb = ep_ring->enqueue; in cdnsp_prepare_transfer()
1909 start_trb = &ring->enqueue->generic; in cdnsp_queue_bulk_tx()
1939 if (cdnsp_trb_is_link(ring->enqueue + 1)) { in cdnsp_queue_bulk_tx()
1959 preq->td.last_trb = ring->enqueue; in cdnsp_queue_bulk_tx()
2077 preq->td.last_trb = ep_ring->enqueue; in cdnsp_queue_ctrl_tx()
2235 start_trb = &ep_ring->enqueue->generic; in cdnsp_queue_isoc_tx()
2298 preq->td.last_trb = ep_ring->enqueue; in cdnsp_queue_isoc_tx()
2350 preq->td.last_trb = ep_ring->enqueue; in cdnsp_queue_isoc_tx()
2355 ep_ring->enqueue = preq->td.first_trb; in cdnsp_queue_isoc_tx()
2375 pdev->cmd.command_trb = pdev->cmd_ring->enqueue; in cdnsp_queue_command()