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()
331 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && in xhci_handle_stopped_cmd_ring()
2746 trb = &ring->enqueue->generic; in queue_trb()
2813 while (trb_is_link(ep_ring->enqueue)) { in prepare_ring()
2820 ep_ring->enqueue->link.control &= in prepare_ring()
2823 ep_ring->enqueue->link.control |= in prepare_ring()
2827 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in prepare_ring()
2830 if (link_trb_toggles_cycle(ep_ring->enqueue)) in prepare_ring()
2834 ep_ring->enqueue = ep_ring->enq_seg->trbs; in prepare_ring()
2882 td->first_trb = ep_ring->enqueue; in prepare_transfer()
3170 start_trb = &ring->enqueue->generic; in xhci_queue_bulk_tx()
3199 if (trb_is_link(ring->enqueue + 1)) { in xhci_queue_bulk_tx()
3213 td->last_trb = ring->enqueue; in xhci_queue_bulk_tx()
3256 urb_priv->td[1].last_trb = ring->enqueue; in xhci_queue_bulk_tx()
3315 start_trb = &ep_ring->enqueue->generic; in xhci_queue_ctrl_tx()
3370 td->last_trb = ep_ring->enqueue; in xhci_queue_ctrl_tx()
3562 start_trb = &ep_ring->enqueue->generic; in xhci_queue_isoc_tx()
3639 td->last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
3710 urb_priv->td[0].last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
3715 ep_ring->enqueue = urb_priv->td[0].first_trb; in xhci_queue_isoc_tx()
3841 cmd->command_trb = xhci->cmd_ring->enqueue; in queue_command()