Home
last modified time | relevance | path

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

/drivers/usb/dwc3/
Dgadget.c251 DWC3_TRB_NUM- 1) && in dwc3_gadget_giveback()
382 sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_alloc_trb_pool()
397 dma_free_coherent(dwc->dev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
607 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()
829 if (((dep->free_slot & DWC3_TRB_MASK) == DWC3_TRB_NUM - 1) && in dwc3_prepare_one_trb()
898 BUILD_BUG_ON_NOT_POWER_OF_2(DWC3_TRB_NUM); in dwc3_prepare_trbs()
905 max = DWC3_TRB_NUM - (dep->free_slot & DWC3_TRB_MASK); in dwc3_prepare_trbs()
918 trbs_left = DWC3_TRB_NUM; in dwc3_prepare_trbs()
1991 if ((slot == DWC3_TRB_NUM - 1) && in dwc3_cleanup_done_reqs()
1994 slot %= DWC3_TRB_NUM; in dwc3_cleanup_done_reqs()
Dcore.h438 #define DWC3_TRB_NUM 32 macro
439 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1)