Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ Enabled
Method
Enabled
Kernel/include/xhci.h:194–196 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
192
}
193
194
inline bool Enabled(){
195
return portSC & XHCI_PORTSC_PED;
196
}
197
198
inline bool Connected(){
199
return portSC & XHCI_PORTSC_CCS;
Callers
1
InitializePorts
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected