Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/dwc3/
Dgadget.c237 if (((dep->busy_slot & DWC3_TRB_MASK) == in dwc3_gadget_giveback()
712 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK]; in dwc3_prepare_one_trb()
718 req->start_slot = dep->free_slot & DWC3_TRB_MASK; in dwc3_prepare_one_trb()
723 if (((dep->free_slot & DWC3_TRB_MASK) == DWC3_TRB_NUM - 1) && in dwc3_prepare_one_trb()
795 trbs_left = (dep->busy_slot - dep->free_slot) & DWC3_TRB_MASK; in dwc3_prepare_trbs()
799 max = DWC3_TRB_NUM - (dep->free_slot & DWC3_TRB_MASK); in dwc3_prepare_trbs()
Dcore.h408 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1) macro