trbs 178 drivers/usb/early/xhci-dbc.c seg->trbs = xdbc_get_page(&seg->dma); trbs 179 drivers/usb/early/xhci-dbc.c if (!seg->trbs) trbs 203 drivers/usb/early/xhci-dbc.c memset(seg->trbs, 0, PAGE_SIZE); trbs 205 drivers/usb/early/xhci-dbc.c ring->enqueue = seg->trbs; trbs 206 drivers/usb/early/xhci-dbc.c ring->dequeue = seg->trbs; trbs 210 drivers/usb/early/xhci-dbc.c link_trb = &seg->trbs[XDBC_TRBS_PER_SEGMENT - 1]; trbs 400 drivers/usb/early/xhci-dbc.c if (ring->enqueue >= &ring->segment->trbs[TRBS_PER_SEGMENT - 1]) { trbs 407 drivers/usb/early/xhci-dbc.c ring->enqueue = ring->segment->trbs; trbs 821 drivers/usb/early/xhci-dbc.c if (xdbc.evt_ring.dequeue == &xdbc.evt_seg.trbs[TRBS_PER_SEGMENT]) { trbs 822 drivers/usb/early/xhci-dbc.c xdbc.evt_ring.dequeue = xdbc.evt_seg.trbs; trbs 110 drivers/usb/early/xhci-dbc.h struct xdbc_trb *trbs; trbs 234 drivers/usb/host/xhci-dbgcap.c ring->enqueue = ring->enq_seg->trbs; trbs 202 drivers/usb/host/xhci-debugfs.c trb = &seg->trbs[i]; trbs 42 drivers/usb/host/xhci-mem.c seg->trbs = dma_pool_zalloc(xhci->segment_pool, flags, &dma); trbs 43 drivers/usb/host/xhci-mem.c if (!seg->trbs) { trbs 52 drivers/usb/host/xhci-mem.c dma_pool_free(xhci->segment_pool, seg->trbs, dma); trbs 60 drivers/usb/host/xhci-mem.c seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); trbs 70 drivers/usb/host/xhci-mem.c if (seg->trbs) { trbs 71 drivers/usb/host/xhci-mem.c dma_pool_free(xhci->segment_pool, seg->trbs, seg->dma); trbs 72 drivers/usb/host/xhci-mem.c seg->trbs = NULL; trbs 108 drivers/usb/host/xhci-mem.c prev->trbs[TRBS_PER_SEGMENT-1].link.segment_ptr = trbs 112 drivers/usb/host/xhci-mem.c val = le32_to_cpu(prev->trbs[TRBS_PER_SEGMENT-1].link.control); trbs 121 drivers/usb/host/xhci-mem.c prev->trbs[TRBS_PER_SEGMENT-1].link.control = cpu_to_le32(val); trbs 145 drivers/usb/host/xhci-mem.c ring->last_seg->trbs[TRBS_PER_SEGMENT-1].link.control trbs 147 drivers/usb/host/xhci-mem.c last->trbs[TRBS_PER_SEGMENT-1].link.control trbs 297 drivers/usb/host/xhci-mem.c ring->enqueue = ring->first_seg->trbs; trbs 390 drivers/usb/host/xhci-mem.c ring->last_seg->trbs[TRBS_PER_SEGMENT - 1].link.control |= trbs 2009 drivers/usb/host/xhci-mem.c .start_trb = xhci->event_ring->first_seg->trbs, trbs 2010 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], trbs 2016 drivers/usb/host/xhci-mem.c .start_trb = xhci->event_ring->first_seg->trbs, trbs 2017 drivers/usb/host/xhci-mem.c .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], trbs 2023 drivers/usb/host/xhci-mem.c .start_trb = xhci->cmd_ring->first_seg->trbs, trbs 2024 drivers/usb/host/xhci-mem.c .end_trb = &xhci->cmd_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], trbs 2030 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[0], trbs 2031 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[3], trbs 2037 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[3], trbs 2038 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[6], trbs 2044 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], trbs 2045 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[1], trbs 2051 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], trbs 2052 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[1], trbs 2058 drivers/usb/host/xhci-mem.c .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], trbs 2059 drivers/usb/host/xhci-mem.c .end_trb = &xhci->event_ring->first_seg->trbs[1], trbs 2072 drivers/usb/host/xhci-mem.c xhci->event_ring->first_seg->trbs, trbs 2073 drivers/usb/host/xhci-mem.c &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], trbs 71 drivers/usb/host/xhci-ring.c if (!seg || !trb || trb < seg->trbs) trbs 74 drivers/usb/host/xhci-ring.c segment_offset = trb - seg->trbs; trbs 92 drivers/usb/host/xhci-ring.c return trb == &seg->trbs[TRBS_PER_SEGMENT - 1]; trbs 146 drivers/usb/host/xhci-ring.c *trb = ((*seg)->trbs); trbs 167 drivers/usb/host/xhci-ring.c ring->dequeue = ring->deq_seg->trbs; trbs 178 drivers/usb/host/xhci-ring.c ring->dequeue = ring->deq_seg->trbs; trbs 248 drivers/usb/host/xhci-ring.c ring->enqueue = ring->enq_seg->trbs; trbs 268 drivers/usb/host/xhci-ring.c num_trbs_in_deq_seg = ring->dequeue - ring->deq_seg->trbs; trbs 1020 drivers/usb/host/xhci-ring.c ep_ring->dequeue = ep_ring->deq_seg->trbs; trbs 1032 drivers/usb/host/xhci-ring.c ep_ring->dequeue = ep_ring->deq_seg->trbs; trbs 1786 drivers/usb/host/xhci-ring.c &cur_seg->trbs[TRBS_PER_SEGMENT - 1]); trbs 1821 drivers/usb/host/xhci-ring.c start_dma = xhci_trb_virt_to_dma(cur_seg, &cur_seg->trbs[0]); trbs 2636 drivers/usb/host/xhci-ring.c ep_trb = &ep_seg->trbs[(ep_trb_dma - ep_seg->dma) / trbs 3005 drivers/usb/host/xhci-ring.c ep_ring->enqueue = ep_ring->enq_seg->trbs; trbs 856 drivers/usb/host/xhci.c memset(seg->trbs, 0, trbs 858 drivers/usb/host/xhci.c seg->trbs[TRBS_PER_SEGMENT - 1].link.control &= trbs 865 drivers/usb/host/xhci.c ring->dequeue = ring->first_seg->trbs; trbs 1523 drivers/usb/host/xhci.h union xhci_trb *trbs;