Lines Matching refs:enqueue
223 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in inc_enq()
225 if (!trb_is_link(ring->enqueue)) in inc_enq()
228 if (last_trb_on_seg(ring->enq_seg, ring->enqueue)) { in inc_enq()
233 next = ++(ring->enqueue); in inc_enq()
267 ring->enqueue = ring->enq_seg->trbs; in inc_enq()
268 next = ring->enqueue; in inc_enq()
358 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && in xhci_handle_stopped_cmd_ring()
604 new_deq = ep_ring->enqueue; in xhci_move_dequeue_past_td()
3181 trb = &ring->enqueue->generic; in queue_trb()
3252 while (trb_is_link(ep_ring->enqueue)) { in prepare_ring()
3259 ep_ring->enqueue->link.control &= in prepare_ring()
3262 ep_ring->enqueue->link.control |= in prepare_ring()
3266 ep_ring->enqueue->link.control ^= cpu_to_le32(TRB_CYCLE); in prepare_ring()
3269 if (link_trb_toggles_cycle(ep_ring->enqueue)) in prepare_ring()
3273 ep_ring->enqueue = ep_ring->enq_seg->trbs; in prepare_ring()
3282 if (last_trb_on_seg(ep_ring->enq_seg, ep_ring->enqueue)) { in prepare_ring()
3334 td->first_trb = ep_ring->enqueue; in prepare_transfer()
3631 start_trb = &ring->enqueue->generic; in xhci_queue_bulk_tx()
3660 if (trb_is_link(ring->enqueue + 1)) { in xhci_queue_bulk_tx()
3674 td->last_trb = ring->enqueue; in xhci_queue_bulk_tx()
3724 urb_priv->td[1].last_trb = ring->enqueue; in xhci_queue_bulk_tx()
3786 start_trb = &ep_ring->enqueue->generic; in xhci_queue_ctrl_tx()
3851 td->last_trb = ep_ring->enqueue; in xhci_queue_ctrl_tx()
4062 start_trb = &ep_ring->enqueue->generic; in xhci_queue_isoc_tx()
4139 td->last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
4208 urb_priv->td[0].last_trb = ep_ring->enqueue; in xhci_queue_isoc_tx()
4213 ep_ring->enqueue = urb_priv->td[0].first_trb; in xhci_queue_isoc_tx()
4339 cmd->command_trb = xhci->cmd_ring->enqueue; in queue_command()