• Home
  • Raw
  • Download

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()
334 if ((xhci->cmd_ring->dequeue != xhci->cmd_ring->enqueue) && in xhci_handle_stopped_cmd_ring()
346 union xhci_trb *new_deq = xhci->cmd_ring->dequeue; in xhci_abort_cmd_ring()
612 new_deq = ep_ring->dequeue; in xhci_find_new_dequeue_state()
660 if (new_deq == ep->ring->dequeue) { in xhci_find_new_dequeue_state()
1087 dequeue_temp = ep_ring->dequeue; in update_ring_for_set_deq_completion()
1095 if (trb_is_link(ep_ring->dequeue)) { in update_ring_for_set_deq_completion()
1097 ep_ring->dequeue = ep_ring->deq_seg->trbs; in update_ring_for_set_deq_completion()
1100 while (ep_ring->dequeue != dev->eps[ep_index].queued_deq_ptr) { in update_ring_for_set_deq_completion()
1103 ep_ring->dequeue++; in update_ring_for_set_deq_completion()
1104 if (trb_is_link(ep_ring->dequeue)) { in update_ring_for_set_deq_completion()
1105 if (ep_ring->dequeue == in update_ring_for_set_deq_completion()
1109 ep_ring->dequeue = ep_ring->deq_seg->trbs; in update_ring_for_set_deq_completion()
1111 if (ep_ring->dequeue == dequeue_temp) { in update_ring_for_set_deq_completion()
1485 cmd_trb = xhci->cmd_ring->dequeue; in handle_cmd_completion()
1513 if (cmd->command_trb != xhci->cmd_ring->dequeue) { in handle_cmd_completion()
2090 while (ep_ring->dequeue != td->last_trb) in finish_td()
2103 union xhci_trb *trb = ring->dequeue; in sum_trb_lengths()
2323 while (ep_ring->dequeue != td->last_trb) in skip_isoc_td()
2668 ep_seg = trb_in_td(xhci, ep_ring->deq_seg, ep_ring->dequeue, in handle_tx_event()
2703 ep_ring->dequeue, td->last_trb, in handle_tx_event()
2781 xhci->event_ring->dequeue), in handle_tx_event()
2802 if (!xhci->event_ring || !xhci->event_ring->dequeue) { in xhci_handle_event()
2807 event = xhci->event_ring->dequeue; in xhci_handle_event()
2878 if (event_ring_deq != xhci->event_ring->dequeue) { in xhci_update_erst_dequeue()
2880 xhci->event_ring->dequeue); in xhci_update_erst_dequeue()
2964 event_ring_deq = xhci->event_ring->dequeue; in xhci_irq()