Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/dwc3/
Dgadget.c322 u32 offset = (char *) trb - (char *) dep->trb_pool; in dwc3_trb_dma_offset()
331 if (dep->trb_pool) in dwc3_alloc_trb_pool()
337 dep->trb_pool = dma_alloc_coherent(dwc->dev, in dwc3_alloc_trb_pool()
340 if (!dep->trb_pool) { in dwc3_alloc_trb_pool()
354 dep->trb_pool, dep->trb_pool_dma); in dwc3_free_trb_pool()
356 dep->trb_pool = NULL; in dwc3_free_trb_pool()
491 trb_st_hw = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
493 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()
698 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK]; in dwc3_prepare_one_trb()
Dcore.h360 struct dwc3_trb *trb_pool; member