Lines Matching refs:new_deq
372 union xhci_trb *new_deq = xhci->cmd_ring->dequeue; in xhci_abort_cmd_ring() local
388 next_trb(xhci, NULL, &new_seg, &new_deq); in xhci_abort_cmd_ring()
389 if (trb_is_link(new_deq)) in xhci_abort_cmd_ring()
390 next_trb(xhci, NULL, &new_seg, &new_deq); in xhci_abort_cmd_ring()
392 crcr = xhci_trb_virt_to_dma(new_seg, new_deq); in xhci_abort_cmd_ring()
578 union xhci_trb *new_deq; in xhci_move_dequeue_past_td() local
606 new_deq = ep_ring->enqueue; in xhci_move_dequeue_past_td()
618 new_deq = ep_ring->dequeue; in xhci_move_dequeue_past_td()
648 if (!cycle_found && xhci_trb_virt_to_dma(new_seg, new_deq) in xhci_move_dequeue_past_td()
654 if (new_deq == td->last_trb) in xhci_move_dequeue_past_td()
657 if (cycle_found && trb_is_link(new_deq) && in xhci_move_dequeue_past_td()
658 link_trb_toggles_cycle(new_deq)) in xhci_move_dequeue_past_td()
661 next_trb(xhci, ep_ring, &new_seg, &new_deq); in xhci_move_dequeue_past_td()
664 if (new_deq == ep->ring->dequeue) { in xhci_move_dequeue_past_td()
674 addr = xhci_trb_virt_to_dma(new_seg, new_deq); in xhci_move_dequeue_past_td()
677 xhci_warn(xhci, "deq seg = %p, deq ptr = %p\n", new_seg, new_deq); in xhci_move_dequeue_past_td()
706 ep->queued_deq_ptr = new_deq; in xhci_move_dequeue_past_td()