Home
last modified time | relevance | path

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

/drivers/usb/dwc3/
Dgadget.c369 u32 offset = (char *) trb - (char *) dep->trb_pool; in dwc3_trb_dma_offset()
378 if (dep->trb_pool) in dwc3_alloc_trb_pool()
381 dep->trb_pool = dma_alloc_coherent(dwc->dev, in dwc3_alloc_trb_pool()
384 if (!dep->trb_pool) { in dwc3_alloc_trb_pool()
398 dep->trb_pool, dep->trb_pool_dma); in dwc3_free_trb_pool()
400 dep->trb_pool = NULL; in dwc3_free_trb_pool()
605 trb_st_hw = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
607 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()
818 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK]; in dwc3_prepare_one_trb()
1995 trb = &dep->trb_pool[slot]; in dwc3_cleanup_done_reqs()
Dcore.h467 struct dwc3_trb *trb_pool; member
/drivers/usb/gadget/udc/
Dmv_u3d_core.c205 dma_pool_free(u3d->trb_pool, in mv_u3d_done()
304 trb_hw = dma_pool_alloc(u3d->trb_pool, GFP_ATOMIC, dma); in mv_u3d_build_trb_one()
1770 dma_pool_destroy(u3d->trb_pool); in mv_u3d_remove()
1889 u3d->trb_pool = dma_pool_create("u3d_trb", in mv_u3d_probe()
1895 if (!u3d->trb_pool) { in mv_u3d_probe()
1982 dma_pool_destroy(u3d->trb_pool); in mv_u3d_probe()
Dmv_u3d.h261 struct dma_pool *trb_pool; /* for TRB data structure */ member