Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/dwc3/
H A Dgadget.c238 DWC3_TRB_NUM- 1) && in dwc3_gadget_giveback()
342 DWC3_TRB_NUM, in dwc3_alloc_trb_pool()
511 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()
724 if (((dep->free_slot & DWC3_TRB_MASK) == DWC3_TRB_NUM - 1) && in dwc3_prepare_one_trb()
805 BUILD_BUG_ON_NOT_POWER_OF_2(DWC3_TRB_NUM); in dwc3_prepare_trbs()
812 max = DWC3_TRB_NUM - (dep->free_slot & DWC3_TRB_MASK); in dwc3_prepare_trbs()
825 trbs_left = DWC3_TRB_NUM; in dwc3_prepare_trbs()
1781 if ((slot == DWC3_TRB_NUM - 1) && in dwc3_cleanup_done_reqs()
1784 slot %= DWC3_TRB_NUM; in dwc3_cleanup_done_reqs()
H A Dcore.h425 #define DWC3_TRB_NUM 32 macro
426 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1)
/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Dgadget.c153 if (*index == (DWC3_TRB_NUM - 1)) in dwc3_ep_inc_trb()
479 sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_alloc_trb_pool()
494 dma_free_coherent(dwc->sysdev, sizeof(struct dwc3_trb) * DWC3_TRB_NUM, in dwc3_free_trb_pool()
1039 sizeof(struct dwc3_trb) * DWC3_TRB_NUM); in __dwc3_gadget_ep_enable()
1044 trb_link = &dep->trb_pool[DWC3_TRB_NUM - 1]; in __dwc3_gadget_ep_enable()
1310 tmp = DWC3_TRB_NUM - 1; in dwc3_ep_prev_trb()
1332 return DWC3_TRB_NUM - 1; in dwc3_calc_trbs_left()
1336 trbs_left &= (DWC3_TRB_NUM - 1); in dwc3_calc_trbs_left()
1662 BUILD_BUG_ON_NOT_POWER_OF_2(DWC3_TRB_NUM); in dwc3_prepare_trbs()
H A Ddebugfs.c809 for (i = 0; i < DWC3_TRB_NUM; i++) { in dwc3_trb_ring_show()
H A Dcore.h679 #define DWC3_TRB_NUM 256 macro