Home
last modified time | relevance | path

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

/drivers/usb/dwc3/
Dgadget.c250 if (((dep->busy_slot & DWC3_TRB_MASK) == in dwc3_gadget_giveback()
818 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK]; in dwc3_prepare_one_trb()
824 req->start_slot = dep->free_slot & DWC3_TRB_MASK; in dwc3_prepare_one_trb()
829 if (((dep->free_slot & DWC3_TRB_MASK) == DWC3_TRB_NUM - 1) && in dwc3_prepare_one_trb()
901 trbs_left = (dep->busy_slot - dep->free_slot) & DWC3_TRB_MASK; in dwc3_prepare_trbs()
905 max = DWC3_TRB_NUM - (dep->free_slot & DWC3_TRB_MASK); in dwc3_prepare_trbs()
Dcore.h439 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1) macro