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()
713 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK]; in dwc3_prepare_one_trb()
719 req->start_slot = dep->free_slot & DWC3_TRB_MASK; in dwc3_prepare_one_trb()
724 if (((dep->free_slot & DWC3_TRB_MASK) == DWC3_TRB_NUM - 1) && in dwc3_prepare_one_trb()
796 trbs_left = (dep->busy_slot - dep->free_slot) & DWC3_TRB_MASK; in dwc3_prepare_trbs()
800 max = DWC3_TRB_NUM - (dep->free_slot & DWC3_TRB_MASK); in dwc3_prepare_trbs()
Dcore.h416 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1) macro