Lines Matching refs:trb_pool
466 u32 offset = (char *) trb - (char *) dep->trb_pool; in dwc3_trb_dma_offset()
475 if (dep->trb_pool) in dwc3_alloc_trb_pool()
478 dep->trb_pool = dma_alloc_coherent(dwc->sysdev, in dwc3_alloc_trb_pool()
481 if (!dep->trb_pool) { in dwc3_alloc_trb_pool()
495 dep->trb_pool, dep->trb_pool_dma); in dwc3_free_trb_pool()
497 dep->trb_pool = NULL; in dwc3_free_trb_pool()
1038 memset(dep->trb_pool, 0, in __dwc3_gadget_ep_enable()
1042 trb_st_hw = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
1044 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()
1063 trb = &dep->trb_pool[0]; in __dwc3_gadget_ep_enable()
1312 return &dep->trb_pool[tmp - 1]; in dwc3_ep_prev_trb()
1376 trb = &dep->trb_pool[dep->trb_enqueue]; in dwc3_prepare_one_trb()
2146 trb = &dep->trb_pool[dep->trb_dequeue]; in dwc3_gadget_ep_skip_trbs()
3458 struct dwc3_trb *trb = &dep->trb_pool[dep->trb_dequeue]; in dwc3_gadget_ep_reclaim_trb_sg()
3466 trb = &dep->trb_pool[dep->trb_dequeue]; in dwc3_gadget_ep_reclaim_trb_sg()
3484 struct dwc3_trb *trb = &dep->trb_pool[dep->trb_dequeue]; in dwc3_gadget_ep_reclaim_trb_linear()