Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/dwc3/
Dgadget.c250 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()
801 if (((dep->free_slot & DWC3_TRB_MASK) == DWC3_TRB_NUM - 1) && in dwc3_prepare_one_trb()
870 BUILD_BUG_ON_NOT_POWER_OF_2(DWC3_TRB_NUM); in dwc3_prepare_trbs()
877 max = DWC3_TRB_NUM - (dep->free_slot & DWC3_TRB_MASK); in dwc3_prepare_trbs()
890 trbs_left = DWC3_TRB_NUM; in dwc3_prepare_trbs()
1933 if ((slot == DWC3_TRB_NUM - 1) && in dwc3_cleanup_done_reqs()
1936 slot %= DWC3_TRB_NUM; in dwc3_cleanup_done_reqs()
Dcore.h437 #define DWC3_TRB_NUM 32 macro
438 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1)