Lines Matching refs:enqueue
210 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in inc_enq()
212 if (!trb_is_link(ring->enqueue)) in inc_enq()
214 next = ++(ring->enqueue); in inc_enq()
248 ring->enqueue = ring->enq_seg->trbs; in inc_enq()
249 next = ring->enqueue; in inc_enq()
334 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && in xhci_handle_stopped_cmd_ring()
558 state->new_deq_ptr = ep_ring->enqueue; in xhci_find_new_dequeue_state()
2929 trb = &ring->enqueue->generic; in queue_trb()
2996 while (trb_is_link(ep_ring->enqueue)) { in prepare_ring()
3003 ep_ring->enqueue->link.control &= in prepare_ring()
3006 ep_ring->enqueue->link.control |= in prepare_ring()
3010 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in prepare_ring()
3013 if (link_trb_toggles_cycle(ep_ring->enqueue)) in prepare_ring()
3017 ep_ring->enqueue = ep_ring->enq_seg->trbs; in prepare_ring()
3065 td->first_trb = ep_ring->enqueue; in prepare_transfer()
3358 start_trb = &ring->enqueue->generic; in xhci_queue_bulk_tx()
3387 if (trb_is_link(ring->enqueue + 1)) { in xhci_queue_bulk_tx()
3401 td->last_trb = ring->enqueue; in xhci_queue_bulk_tx()
3451 urb_priv->td[1].last_trb = ring->enqueue; in xhci_queue_bulk_tx()
3510 start_trb = &ep_ring->enqueue->generic; in xhci_queue_ctrl_tx()
3575 td->last_trb = ep_ring->enqueue; in xhci_queue_ctrl_tx()
3785 start_trb = &ep_ring->enqueue->generic; in xhci_queue_isoc_tx()
3862 td->last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
3930 urb_priv->td[0].last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
3935 ep_ring->enqueue = urb_priv->td[0].first_trb; in xhci_queue_isoc_tx()
4061 cmd->command_trb = xhci->cmd_ring->enqueue; in queue_command()