Home
last modified time | relevance | path

Searched refs:trb_pool (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/usb/dwc3/
Dgadget.c427 u32 offset = (char *) trb - (char *) dep->trb_pool; in dwc3_trb_dma_offset()
436 if (dep->trb_pool) in dwc3_alloc_trb_pool()
439 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
442 if (!dep->trb_pool) { in dwc3_alloc_trb_pool()
456 dep->trb_pool, dep->trb_pool_dma); in dwc3_free_trb_pool()
458 dep->trb_pool = NULL; in dwc3_free_trb_pool()
649 memset(dep->trb_pool, 0, in __dwc3_gadget_ep_enable()
653 trb_st_hw = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
655 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()
674 trb = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
[all …]
Ddebugfs.c656 struct dwc3_trb *trb = &dep->trb_pool[i]; in dwc3_trb_ring_show()
Dcore.h670 struct dwc3_trb *trb_pool; member
/Linux-v4.19/drivers/usb/gadget/udc/
Dmv_u3d.h258 struct dma_pool *trb_pool; /* for TRB data structure */ member
Dmv_u3d_core.c193 dma_pool_free(u3d->trb_pool, in mv_u3d_done()
292 trb_hw = dma_pool_alloc(u3d->trb_pool, GFP_ATOMIC, dma); in mv_u3d_build_trb_one()
1758 dma_pool_destroy(u3d->trb_pool); in mv_u3d_remove()
1882 u3d->trb_pool = dma_pool_create("u3d_trb", in mv_u3d_probe()
1888 if (!u3d->trb_pool) { in mv_u3d_probe()
1974 dma_pool_destroy(u3d->trb_pool); in mv_u3d_probe()