Lines Matching refs:trbs
71 if (!seg || !trb || trb < seg->trbs) in xhci_trb_virt_to_dma()
74 segment_offset = trb - seg->trbs; in xhci_trb_virt_to_dma()
92 return trb == &seg->trbs[TRBS_PER_SEGMENT - 1]; in last_trb_on_seg()
146 *trb = ((*seg)->trbs); in next_trb()
167 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
178 ring->dequeue = ring->deq_seg->trbs; in inc_deq()
248 ring->enqueue = ring->enq_seg->trbs; in inc_enq()
268 num_trbs_in_deq_seg = ring->dequeue - ring->deq_seg->trbs; in room_on_ring()
627 halted_trb = &halted_seg->trbs[index]; in xhci_find_new_dequeue_state()
1097 ep_ring->dequeue = ep_ring->deq_seg->trbs; in update_ring_for_set_deq_completion()
1109 ep_ring->dequeue = ep_ring->deq_seg->trbs; in update_ring_for_set_deq_completion()
1869 &cur_seg->trbs[TRBS_PER_SEGMENT - 1]); in trb_in_td()
1904 start_dma = xhci_trb_virt_to_dma(cur_seg, &cur_seg->trbs[0]); in trb_in_td()
2723 ep_trb = &ep_seg->trbs[(ep_trb_dma - ep_seg->dma) / in handle_tx_event()
3094 ep_ring->enqueue = ep_ring->enq_seg->trbs; in prepare_ring()