Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ Powered
Method
Powered
Kernel/include/xhci.h:178–180 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
176
uint32_t portHardwareLPMCtl; // Port Hardware LPM Control
177
178
inline bool Powered(){
179
return portSC & XHCI_PORTSC_PP;
180
}
181
182
inline void PowerOn(){
183
portSC |= XHCI_PORTSC_PP;
Callers
1
InitializePorts
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected