Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/dwc3/
H A Dgadget.c326 u32 offset = (char *) trb - (char *) dep->trb_pool; in dwc3_trb_dma_offset()
333 if (dep->trb_pool) in dwc3_alloc_trb_pool()
339 dep->trb_pool = dma_alloc_coherent(sizeof(struct dwc3_trb) * in dwc3_alloc_trb_pool()
342 if (!dep->trb_pool) { in dwc3_alloc_trb_pool()
353 dma_free_coherent(dep->trb_pool); in dwc3_free_trb_pool()
355 dep->trb_pool = NULL; in dwc3_free_trb_pool()
507 trb_st_hw = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
509 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()
711 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK]; in dwc3_prepare_one_trb()
1768 trb = &dep->trb_pool[slot]; in dwc3_cleanup_done_reqs()
H A Dcore.h437 struct dwc3_trb *trb_pool; member