Lines Matching refs:deq_seg
170 if (!last_trb_on_seg(ring->deq_seg, ring->dequeue)) { in inc_deq()
174 if (last_trb_on_ring(ring, ring->deq_seg, ring->dequeue)) in inc_deq()
176 ring->deq_seg = ring->deq_seg->next; in inc_deq()
177 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
183 if (last_trb_on_seg(ring->deq_seg, ring->dequeue)) in inc_deq()
190 ring->deq_seg = ring->deq_seg->next; in inc_deq()
191 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
303 if (ring->deq_seg == enq_seg && ring->dequeue >= enq) in xhci_num_trbs_free()
351 if (seg == ring->deq_seg) { in xhci_ring_expansion_needed()
432 struct xhci_segment *new_seg = xhci->cmd_ring->deq_seg; in xhci_abort_cmd_ring()
657 new_seg = ep_ring->deq_seg; in xhci_move_dequeue_past_td()
1304 ep_ring->deq_seg = ep_ring->deq_seg->next; in update_ring_for_set_deq_completion()
1305 ep_ring->dequeue = ep_ring->deq_seg->trbs; in update_ring_for_set_deq_completion()
1315 ep_ring->deq_seg = ep_ring->deq_seg->next; in update_ring_for_set_deq_completion()
1316 ep_ring->dequeue = ep_ring->deq_seg->trbs; in update_ring_for_set_deq_completion()
1729 cmd_dequeue_dma = xhci_trb_virt_to_dma(xhci->cmd_ring->deq_seg, in handle_cmd_completion()
2262 ep_ring->deq_seg = td->last_trb_seg; in finish_td()
2274 struct xhci_segment *seg = ring->deq_seg; in sum_trb_lengths()
2502 ep->ring->deq_seg = td->last_trb_seg; in skip_isoc_td()
2796 ep_ring->deq_seg = td->last_trb_seg; in handle_tx_event()
2924 ir->event_ring->deq_seg, in handle_tx_event()
2995 deq = xhci_trb_virt_to_dma(ir->event_ring->deq_seg, in xhci_update_erst_dequeue()
3007 temp_64 = ir->event_ring->deq_seg->num & ERST_DESI_MASK; in xhci_update_erst_dequeue()