Searched refs:DWC3_MASK (Results 1 - 2 of 2) sorted by relevance
/fuchsia/zircon/system/dev/usb/dwc3/ |
H A D | dwc3-regs.h | 16 #define DWC3_MASK(start, count) (((1 << (count)) - 1) << (start)) macro 17 #define DWC3_GET_BITS32(src, start, count) ((DWC3_READ32(src) & DWC3_MASK(start, count)) >> (start)) 19 DWC3_WRITE32(dest, (DWC3_READ32(dest) & ~DWC3_MASK(start, count)) | \ 20 (((value) << (start)) & DWC3_MASK(start, count)))
|
H A D | dwc3.c | 110 temp &= ~DWC3_MASK(DCFG_NUMP_START, DCFG_NUMP_BITS); 112 temp &= ~DWC3_MASK(DCFG_DEVSPD_START, DCFG_DEVSPD_BITS); 114 temp &= ~DWC3_MASK(DCFG_DEVADDR_START, DCFG_DEVADDR_BITS); // clear address
|
Completed in 76 milliseconds