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()
2856 trb = &ring->enqueue->generic; in queue_trb()
2923 while (trb_is_link(ep_ring->enqueue)) { in prepare_ring()
2930 ep_ring->enqueue->link.control &= in prepare_ring()
2933 ep_ring->enqueue->link.control |= in prepare_ring()
2937 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in prepare_ring()
2940 if (link_trb_toggles_cycle(ep_ring->enqueue)) in prepare_ring()
2944 ep_ring->enqueue = ep_ring->enq_seg->trbs; in prepare_ring()
2992 td->first_trb = ep_ring->enqueue; in prepare_transfer()
3285 start_trb = &ring->enqueue->generic; in xhci_queue_bulk_tx()
3314 if (trb_is_link(ring->enqueue + 1)) { in xhci_queue_bulk_tx()
3328 td->last_trb = ring->enqueue; in xhci_queue_bulk_tx()
3378 urb_priv->td[1].last_trb = ring->enqueue; in xhci_queue_bulk_tx()
3437 start_trb = &ep_ring->enqueue->generic; in xhci_queue_ctrl_tx()
3502 td->last_trb = ep_ring->enqueue; in xhci_queue_ctrl_tx()
3694 start_trb = &ep_ring->enqueue->generic; in xhci_queue_isoc_tx()
3771 td->last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
3842 urb_priv->td[0].last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
3847 ep_ring->enqueue = urb_priv->td[0].first_trb; in xhci_queue_isoc_tx()
3973 cmd->command_trb = xhci->cmd_ring->enqueue; in queue_command()