Home
last modified time | relevance | path

Searched refs:TRB_SEGMENT_SIZE (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/usb/host/
H A Dxhci-sideband.c29 sz = ring->num_segs * TRB_SEGMENT_SIZE; in xhci_ring_to_sgtable()
52 TRB_SEGMENT_SIZE); in xhci_ring_to_sgtable()
H A Dxhci-dbgcap.c53 dma_free_coherent(dev, TRB_SEGMENT_SIZE, in dbc_ring_free()
468 memset(seg->trbs, 0, TRB_SEGMENT_SIZE); in xhci_dbc_ring_init()
521 seg->trbs = dma_alloc_coherent(dev, TRB_SEGMENT_SIZE, &dma, flags); in xhci_dbc_ring_alloc()
H A Dxhci-mem.c2429 TRB_SEGMENT_SIZE * 2, TRB_SEGMENT_SIZE * 2, xhci->page_size * 2); in xhci_mem_init()
2432 TRB_SEGMENT_SIZE, TRB_SEGMENT_SIZE, xhci->page_size); in xhci_mem_init()
H A Dxhci.h1262 #define TRB_SEGMENT_SIZE (TRBS_PER_SEGMENT*16) macro
1263 #define TRB_SEGMENT_SHIFT (ilog2(TRB_SEGMENT_SIZE))
H A Dxhci-ring.c92 if (in_range(dma, seg->dma, TRB_SEGMENT_SIZE)) { in xhci_dma_to_trb()
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.h1161 #define TRB_SEGMENT_SIZE (TRBS_PER_SEGMENT * 16) macro
1162 #define TRB_SEGMENT_SHIFT (ilog2(TRB_SEGMENT_SIZE))
H A Dcdnsp-mem.c1248 TRB_SEGMENT_SIZE, TRB_SEGMENT_SIZE, in cdnsp_mem_init()