Searched refs:DWC3_TRB_NUM (Results 1 – 2 of 2) sorted by relevance
250 DWC3_TRB_NUM- 1) && in dwc3_gadget_giveback()369 sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_alloc_trb_pool()384 dma_free_coherent(dwc->dev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()579 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()799 if (((dep->free_slot & DWC3_TRB_MASK) == DWC3_TRB_NUM - 1) && in dwc3_prepare_one_trb()868 BUILD_BUG_ON_NOT_POWER_OF_2(DWC3_TRB_NUM); in dwc3_prepare_trbs()875 max = DWC3_TRB_NUM - (dep->free_slot & DWC3_TRB_MASK); in dwc3_prepare_trbs()888 trbs_left = DWC3_TRB_NUM; in dwc3_prepare_trbs()1907 if ((slot == DWC3_TRB_NUM - 1) && in dwc3_cleanup_done_reqs()1910 slot %= DWC3_TRB_NUM; in dwc3_cleanup_done_reqs()
421 #define DWC3_TRB_NUM 32 macro422 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1)