MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / ERSTMax

Method ERSTMax

Kernel/include/xhci.h:112–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 }
111
112 inline uint8_t ERSTMax(){ // Event Ring Segment Table Max
113 return (hcsParams2 >> 4) & 0xF;
114 }
115
116 inline uint16_t MaxScratchpadBuffers(){
117 return (((hcsParams2 >> 21) & 0x1F) << 5) | ((hcsParams2 >> 27) & 0x1F);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected