Lines Matching refs:enqueue
121 struct xhci_link_trb *link = &ring->enqueue->link; in enqueue_is_link_trb()
206 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in inc_enq()
209 !last_trb(xhci, ring, ring->enq_seg, ring->enqueue)) in inc_enq()
211 next = ++(ring->enqueue); in inc_enq()
253 ring->enqueue = ring->enq_seg->trbs; in inc_enq()
254 next = ring->enqueue; in inc_enq()
256 addr = (unsigned long long) xhci_trb_virt_to_dma(ring->enq_seg, ring->enqueue); in inc_enq()
1224 if (xhci->cmd_ring->dequeue == xhci->cmd_ring->enqueue) in xhci_cmd_to_noop()
1244 cmd_trb != xhci->cmd_ring->enqueue; in xhci_cmd_to_noop()
1348 if (xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) in handle_stopped_cmd_ring()
2822 trb = &ring->enqueue->generic; in queue_trb()
2890 next = ring->enqueue; in prepare_ring()
2911 ring->enqueue = ring->enq_seg->trbs; in prepare_ring()
2912 next = ring->enqueue; in prepare_ring()
2963 td->first_trb = ep_ring->enqueue; in prepare_transfer()
3168 start_trb = &ep_ring->enqueue->generic; in queue_bulk_sg_tx()
3211 td->last_trb = ep_ring->enqueue; in queue_bulk_sg_tx()
3339 start_trb = &ep_ring->enqueue->generic; in xhci_queue_bulk_tx()
3374 td->last_trb = ep_ring->enqueue; in xhci_queue_bulk_tx()
3469 start_trb = &ep_ring->enqueue->generic; in xhci_queue_ctrl_tx()
3518 td->last_trb = ep_ring->enqueue; in xhci_queue_ctrl_tx()
3638 start_trb = &ep_ring->enqueue->generic; in xhci_queue_isoc_tx()
3710 td->last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
3781 urb_priv->td[0]->last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
3786 ep_ring->enqueue = urb_priv->td[0]->first_trb; in xhci_queue_isoc_tx()