Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/dwc3/
Dgadget.c327 u32 offset = (char *) trb - (char *) dep->trb_pool; in dwc3_trb_dma_offset()
334 if (dep->trb_pool) in dwc3_alloc_trb_pool()
340 dep->trb_pool = dma_alloc_coherent(sizeof(struct dwc3_trb) * in dwc3_alloc_trb_pool()
343 if (!dep->trb_pool) { in dwc3_alloc_trb_pool()
354 dma_free_coherent(dep->trb_pool); in dwc3_free_trb_pool()
356 dep->trb_pool = NULL; in dwc3_free_trb_pool()
508 trb_st_hw = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
510 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()
712 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK]; in dwc3_prepare_one_trb()
1769 trb = &dep->trb_pool[slot]; in dwc3_cleanup_done_reqs()
Dcore.h437 struct dwc3_trb *trb_pool; member