Home
last modified time | relevance | path

Searched refs:new_deq (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/host/
H A Dxhci-ring.c493 union xhci_trb *new_deq = xhci->cmd_ring->dequeue; in xhci_abort_cmd_ring() local
509 next_trb(&new_seg, &new_deq); in xhci_abort_cmd_ring()
510 if (trb_is_link(new_deq)) in xhci_abort_cmd_ring()
511 next_trb(&new_seg, &new_deq); in xhci_abort_cmd_ring()
513 crcr = xhci_trb_virt_to_dma(new_seg, new_deq); in xhci_abort_cmd_ring()
698 union xhci_trb *new_deq; in xhci_move_dequeue_past_td() local
717 new_deq = ep_ring->dequeue; in xhci_move_dequeue_past_td()
726 if (!hw_dequeue_found && xhci_trb_virt_to_dma(new_seg, new_deq) in xhci_move_dequeue_past_td()
732 if (new_deq == td->end_trb) in xhci_move_dequeue_past_td()
735 if (td_last_trb_found && trb_is_link(new_deq) && in xhci_move_dequeue_past_td()
[all …]
/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c440 union cdnsp_trb *new_deq; in cdnsp_find_new_dequeue_state() local
454 new_deq = ep_ring->dequeue; in cdnsp_find_new_dequeue_state()
465 if (!cycle_found && cdnsp_trb_virt_to_dma(new_seg, new_deq) in cdnsp_find_new_dequeue_state()
473 if (new_deq == cur_td->last_trb) in cdnsp_find_new_dequeue_state()
476 if (cycle_found && cdnsp_trb_is_link(new_deq) && in cdnsp_find_new_dequeue_state()
477 cdnsp_link_trb_toggles_cycle(new_deq)) in cdnsp_find_new_dequeue_state()
480 cdnsp_next_trb(pdev, ep_ring, &new_seg, &new_deq); in cdnsp_find_new_dequeue_state()
483 if (new_deq == pep->ring->dequeue) { in cdnsp_find_new_dequeue_state()
494 state->new_deq_ptr = new_deq; in cdnsp_find_new_dequeue_state()