Lines Matching refs:dequeue

160 		if (!last_trb_on_seg(ring->deq_seg, ring->dequeue)) {  in inc_deq()
161 ring->dequeue++; in inc_deq()
164 if (last_trb_on_ring(ring, ring->deq_seg, ring->dequeue)) in inc_deq()
167 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
172 if (!trb_is_link(ring->dequeue)) { in inc_deq()
173 ring->dequeue++; in inc_deq()
176 while (trb_is_link(ring->dequeue)) { in inc_deq()
178 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
268 num_trbs_in_deq_seg = ring->dequeue - ring->deq_seg->trbs; in room_on_ring()
331 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && in xhci_handle_stopped_cmd_ring()
550 new_deq = ep_ring->dequeue; in xhci_find_new_dequeue_state()
577 if (new_deq == ep->ring->dequeue) { in xhci_find_new_dequeue_state()
992 dequeue_temp = ep_ring->dequeue; in update_ring_for_set_deq_completion()
1000 if (trb_is_link(ep_ring->dequeue)) { in update_ring_for_set_deq_completion()
1002 ep_ring->dequeue = ep_ring->deq_seg->trbs; in update_ring_for_set_deq_completion()
1005 while (ep_ring->dequeue != dev->eps[ep_index].queued_deq_ptr) { in update_ring_for_set_deq_completion()
1008 ep_ring->dequeue++; in update_ring_for_set_deq_completion()
1009 if (trb_is_link(ep_ring->dequeue)) { in update_ring_for_set_deq_completion()
1010 if (ep_ring->dequeue == in update_ring_for_set_deq_completion()
1014 ep_ring->dequeue = ep_ring->deq_seg->trbs; in update_ring_for_set_deq_completion()
1016 if (ep_ring->dequeue == dequeue_temp) { in update_ring_for_set_deq_completion()
1384 cmd_trb = xhci->cmd_ring->dequeue; in handle_cmd_completion()
1412 if (cmd->command_trb != xhci->cmd_ring->dequeue) { in handle_cmd_completion()
1982 while (ep_ring->dequeue != td->last_trb) in finish_td()
1995 union xhci_trb *trb = ring->dequeue; in sum_trb_lengths()
2215 while (ep_ring->dequeue != td->last_trb) in skip_isoc_td()
2546 ep_seg = trb_in_td(xhci, ep_ring->deq_seg, ep_ring->dequeue, in handle_tx_event()
2581 ep_ring->dequeue, td->last_trb, in handle_tx_event()
2659 xhci->event_ring->dequeue), in handle_tx_event()
2680 if (!xhci->event_ring || !xhci->event_ring->dequeue) { in xhci_handle_event()
2685 event = xhci->event_ring->dequeue; in xhci_handle_event()
2806 event_ring_deq = xhci->event_ring->dequeue; in xhci_irq()
2814 if (event_ring_deq != xhci->event_ring->dequeue) { in xhci_irq()
2816 xhci->event_ring->dequeue); in xhci_irq()