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()
1598 trb = &ring->enqueue->generic; in cdnsp_queue_trb()
1646 while (cdnsp_trb_is_link(ep_ring->enqueue)) { in cdnsp_prepare_ring()
1647 ep_ring->enqueue->link.control |= cpu_to_le32(TRB_CHAIN); in cdnsp_prepare_ring()
1650 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in cdnsp_prepare_ring()
1653 if (cdnsp_link_trb_toggles_cycle(ep_ring->enqueue)) in cdnsp_prepare_ring()
1656 ep_ring->enqueue = ep_ring->enq_seg->trbs; in cdnsp_prepare_ring()
1688 preq->td.first_trb = ep_ring->enqueue; in cdnsp_prepare_transfer()
1902 start_trb = &ring->enqueue->generic; in cdnsp_queue_bulk_tx()
1932 if (cdnsp_trb_is_link(ring->enqueue + 1)) { in cdnsp_queue_bulk_tx()
1950 preq->td.last_trb = ring->enqueue; in cdnsp_queue_bulk_tx()
2044 preq->td.last_trb = ep_ring->enqueue; in cdnsp_queue_ctrl_tx()
2180 start_trb = &ep_ring->enqueue->generic; in cdnsp_queue_isoc_tx()
2247 preq->td.last_trb = ep_ring->enqueue; in cdnsp_queue_isoc_tx()
2284 preq->td.last_trb = ep_ring->enqueue; in cdnsp_queue_isoc_tx()
2289 ep_ring->enqueue = preq->td.first_trb; in cdnsp_queue_isoc_tx()
2333 pdev->cmd.command_trb = pdev->cmd_ring->enqueue; in cdnsp_queue_command()