Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ MaxSlots
Method
MaxSlots
Kernel/include/xhci.h:96–98 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
uint32_t hccParams2;
95
96
inline uint8_t MaxSlots(){ // Number of Device Slots
97
return hcsParams1 & 0xFF;
98
}
99
100
inline uint16_t MaxIntrs(){ // Number of Interrupters
101
return (hcsParams1 >> 8) & 0x3FF;
Callers
1
XHCIController
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected