Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acidanthera/VirtualSMC
/ functions
Functions
1,006 in github.com/acidanthera/VirtualSMC
⨍
Functions
1,006
◇
Types & classes
260
↓ 183 callers
Function
getShared
* Obtain shared instance for later usage * * @return battery manager shared instance */
Sensors/SMCBatteryManager/BatteryManager.hpp:134
↓ 73 callers
Function
getSmcSuperIO
Sensors/SMCSuperIO/SuperIODevice.hpp:309
↓ 56 callers
Function
valueWithSp
* A convenient method for initializing spXX key value * * @param value floating point value * @param type Apple sp type (see encodeSp) *
VirtualSMCSDK/kern_vsmcapi.hpp:299
↓ 38 callers
Function
valueWithFlt
* A convenient method for initializing flt key value * * @param value floating point value * @see VirtualSMCAPI::valueWithData */
VirtualSMCSDK/kern_vsmcapi.hpp:322
↓ 33 callers
Function
createDevice
Sensors/SMCSuperIO/Devices.cpp:3300
↓ 27 callers
Method
init
VirtualSMC/kern_value.cpp:12
↓ 21 callers
Method
getModelName
Sensors/SMCSuperIO/ECDeviceDebug.cpp:11
↓ 20 callers
Function
valueWithUint16
* A convenient method for initializing Uint16 type key value. * * @param uint16Value an integer of 0..65535 range. * @see VirtualSMCAPI::val
VirtualSMCSDK/kern_vsmcapi.hpp:265
↓ 19 callers
Method
getBuffer
* Get device information buffer * * @param id buffer id * * @return pointer to the buffer */
VirtualSMCSDK/kern_smcinfo.hpp:194
↓ 18 callers
Function
valueWithUint8
* A convenient method for initializing Uint8 type key value. * * @param uint8Value an integer of 0..255 range. * @see VirtualSMCAPI::valueWi
VirtualSMCSDK/kern_vsmcapi.hpp:234
↓ 16 callers
Function
SMCReadKey
Tools/smc-fuzzer/smc_mac.cpp:139
↓ 16 callers
Method
getBufferSize
* Get device information buffer size * * @param id buffer id * * @return buffer size */
VirtualSMCSDK/kern_smcinfo.hpp:224
↓ 13 callers
Function
getTemperatureCount
* This method is optional. */
Sensors/SMCSuperIO/SuperIODevice.hpp:194
↓ 12 callers
Method
getGeneration
* Get device generation based on obtained buffers * * @return device generation */
VirtualSMCSDK/kern_smcinfo.hpp:140
↓ 12 callers
Function
valueWithFp
* A convenient method for initializing fpXX key value * * @param value floating point value * @param type Apple fp type (see encodeFp) *
VirtualSMCSDK/kern_vsmcapi.hpp:311
↓ 10 callers
Function
KeyVM0R
Sensors/SMCSuperIO/SuperIODevice.hpp:101
↓ 10 callers
Function
getKeystore
* Obtain shared keystore, pmio/mmio protocols need it. * Also signals vsmc availability. * * @return true on success */
VirtualSMC/kern_vsmc.hpp:257
↓ 9 callers
Function
getDeviceAddress
* Getters */
Sensors/SMCSuperIO/SuperIODevice.hpp:307
↓ 8 callers
Function
listenPortWord
Sensors/SMCSuperIO/SuperIODevice.hpp:127
↓ 7 callers
Function
KeyTC0P
Sensors/SMCSuperIO/SuperIODevice.hpp:105
↓ 7 callers
Function
KeyTP0P
Sensors/SMCSuperIO/SuperIODevice.hpp:106
↓ 7 callers
Function
KeyVD0R
Sensors/SMCSuperIO/SuperIODevice.hpp:102
↓ 7 callers
Function
deleter
* Deallocate created encryption info */
VirtualSMC/kern_efiend.hpp:148
↓ 7 callers
Method
quickReschedule
Sensors/SMCSuperIO/SMCSuperIO.cpp:103
↓ 7 callers
Function
readMsr
* Read MSR safely as rdmsr64 does not check for GPF * * @param msr MSR register number * @param value value read * * @return true on
Sensors/SMCProcessor/SMCProcessor.hpp:247
↓ 6 callers
Function
KeyF0Ac
Sensors/SMCSuperIO/SuperIODevice.hpp:96
↓ 6 callers
Function
KeyTH0P
Sensors/SMCSuperIO/SuperIODevice.hpp:109
↓ 6 callers
Function
KeyTM0P
Sensors/SMCSuperIO/SuperIODevice.hpp:107
↓ 6 callers
Function
fpe2ToFlt
Tools/smc-fuzzer/smc.cpp:29
↓ 6 callers
Method
generatorRand
* Get next reproducible pseudo-random number based on device info * generatorSeed must be called before using this function * * @return pseud
VirtualSMCSDK/kern_smcinfo.hpp:178
↓ 6 callers
Function
listenPortByte
* Hardware access methods */
Sensors/SMCSuperIO/SuperIODevice.hpp:122
↓ 5 callers
Function
KeyV50R
Sensors/SMCSuperIO/SuperIODevice.hpp:103
↓ 5 callers
Function
SMCWriteKey
Tools/smc-fuzzer/smc_mac.cpp:170
↓ 5 callers
Function
_strtoul
Tools/smc-fuzzer/smc_mac.cpp:17
↓ 5 callers
Method
callPlatformFunction
VirtualSMC/kern_vsmc.cpp:729
↓ 5 callers
Method
externalPowerConnected
Sensors/SMCBatteryManager/BatteryManager.cpp:346
↓ 5 callers
Function
valueWithFlag
* A convenient method for initializing flag type key value. * * @param flagValue a boolean true or false. * @see VirtualSMCAPI::valueWithDat
VirtualSMCSDK/kern_vsmcapi.hpp:224
↓ 4 callers
Function
KeyTG0P
Sensors/SMCSuperIO/SuperIODevice.hpp:108
↓ 4 callers
Function
SMCCall
Tools/smc-fuzzer/smc_mac.cpp:41
↓ 4 callers
Function
create
* Allocate encryption info of a given size */
VirtualSMC/kern_efiend.hpp:141
↓ 4 callers
Method
deinit
Sensors/SMCDellSensors/kern_hooks.cpp:44
↓ 4 callers
Function
getFpIntegral
VirtualSMC/kern_vsmcapi.cpp:118
↓ 4 callers
Function
getSpIntegral
VirtualSMC/kern_vsmcapi.cpp:81
↓ 4 callers
Function
printVal
Tools/smc-fuzzer/smc.cpp:90
↓ 4 callers
Method
quickReschedule
Sensors/SMCProcessor/SMCProcessor.cpp:480
↓ 4 callers
Method
unlocked
VirtualSMC/kern_keys.cpp:189
↓ 3 callers
Function
SMCClose
Tools/smc-fuzzer/smc_mac.cpp:137
↓ 3 callers
Method
batteriesConnected
Sensors/SMCBatteryManager/BatteryManager.cpp:317
↓ 3 callers
Function
encodeFlt
* Encode Apple float fractional format * * @param value source value * * @return value as it is to be written to SMC_DATA field */
VirtualSMCSDK/kern_vsmcapi.hpp:213
↓ 3 callers
Function
getDevicePort
Sensors/SMCSuperIO/SuperIODevice.hpp:308
↓ 3 callers
Method
getLdn
Sensors/SMCSuperIO/Devices.cpp:192
↓ 3 callers
Method
initialize
* Initialize created device instance. */
Sensors/SMCSuperIO/ECDevice.hpp:86
↓ 3 callers
Function
isFirstGeneration
* Reports whether we should avoid using MMIO as early as possible to avoid unnecessary patches. * * @return true for first generation if already
VirtualSMC/kern_vsmc.hpp:275
↓ 3 callers
Function
isServicingReady
* Reports whether instance is available. * * @return true on success */
VirtualSMC/kern_vsmc.hpp:266
↓ 3 callers
Method
postSmcUpdate
Sensors/SMCDellSensors/SMIMonitor.cpp:302
↓ 3 callers
Method
readByteEC
Sensors/SMCSuperIO/ITEDevice.cpp:132
↓ 3 callers
Function
selectLogicalDevice
Sensors/SMCSuperIO/SuperIODevice.hpp:146
↓ 3 callers
Function
setManual
Tools/fanpwmgen/fanpwmgen.cpp:38
↓ 3 callers
Method
setUnlocked
VirtualSMC/kern_keys.cpp:194
↓ 3 callers
Function
set_bit
Sensors/SMCSuperIO/WinbondDevice.cpp:15
↓ 3 callers
Function
smc_read_key
Tools/smcread/smcread.c:350
↓ 3 callers
Function
writePortByte
Sensors/SMCSuperIO/SuperIODevice.hpp:131
↓ 2 callers
Function
AppleVendorKeyGuid
* Apple GUID accessor, move it to Lilu? */
VirtualSMC/kern_efiend.hpp:27
↓ 2 callers
Function
KeyTB0T
Sensors/SMCBatteryManager/SMCBatteryManager.hpp:64
↓ 2 callers
Function
SMCDetectChange
Tools/smc-fuzzer/smc.cpp:230
↓ 2 callers
Function
SMCGetKeys
Tools/smc-fuzzer/smc_mac.cpp:76
↓ 2 callers
Function
SMCOpen
Tools/smc-fuzzer/smc_mac.cpp:100
↓ 2 callers
Function
SMCReadIndexCount
Tools/smc-fuzzer/smc_mac.cpp:61
↓ 2 callers
Function
StatusKeyGuid
VirtualSMC/kern_efiend.hpp:37
↓ 2 callers
Function
_ultostr
Tools/smc-fuzzer/smc_mac.cpp:30
↓ 2 callers
Method
calculateBatteryStatus
Sensors/SMCBatteryManager/ACPIBattery.cpp:483
↓ 2 callers
Method
causeInterrupt
VirtualSMC/kern_vsmc.cpp:703
↓ 2 callers
Method
checkDevices
Sensors/SMCBatteryManager/BatteryManager.cpp:45
↓ 2 callers
Function
deleter
* Used for storing values in evector * * @param inst value to be freed */
VirtualSMCSDK/kern_value.hpp:144
↓ 2 callers
Method
get
VirtualSMC/kern_value.cpp:57
↓ 2 callers
Function
getAttr
Tools/smcread/smcread.c:175
↓ 2 callers
Function
getCurveMax
Sensors/SMCSuperIO/ITEDevice.cpp:185
↓ 2 callers
Method
getInfoByName
VirtualSMC/kern_keystore.cpp:813
↓ 2 callers
Function
getLdn
Sensors/SMCSuperIO/SuperIODevice.hpp:302
↓ 2 callers
Function
getManualValue
Sensors/SMCSuperIO/SuperIODevice.hpp:266
↓ 2 callers
Function
getRpm
Tools/fanpwmgen/fanpwmgen.cpp:69
↓ 2 callers
Function
getTargetValue
Sensors/SMCSuperIO/SuperIODevice.hpp:259
↓ 2 callers
Method
handlePowerOn
Sensors/SMCDellSensors/SMIMonitor.cpp:294
↓ 2 callers
Method
isValid
* Check if the necessary buffer information was supplied previously * * @return true if version info is ok */
VirtualSMCSDK/kern_smcinfo.hpp:249
↓ 2 callers
Method
onKextLoad
VirtualSMC/kern_prov.cpp:178
↓ 2 callers
Method
onPatcherLoad
VirtualSMC/kern_prov.cpp:139
↓ 2 callers
Method
readNameByIndex
VirtualSMC/kern_keystore.cpp:769
↓ 2 callers
Method
readValueByName
VirtualSMC/kern_keystore.cpp:736
↓ 2 callers
Function
rtc_connect
Tools/rtcread/rtcread.c:74
↓ 2 callers
Method
serializable
VirtualSMC/kern_keyvalue.cpp:11
↓ 2 callers
Method
setAddress
VirtualSMC/kern_keys.cpp:246
↓ 2 callers
Method
setInterrupt
VirtualSMC/kern_mmio.cpp:104
↓ 2 callers
Function
setTachometerValue
Sensors/SMCSuperIO/SuperIODevice.hpp:159
↓ 2 callers
Method
updateTargets
Sensors/SMCSuperIO/ITEDevice.cpp:254
↓ 2 callers
Function
usage
Tools/fanpwmgen/fanpwmgen.cpp:27
↓ 2 callers
Method
writeValueByName
VirtualSMC/kern_keystore.cpp:779
↓ 1 callers
Function
KeyB0AC
Sensors/SMCBatteryManager/SMCBatteryManager.hpp:51
↓ 1 callers
Function
KeyB0AV
Sensors/SMCBatteryManager/SMCBatteryManager.hpp:52
↓ 1 callers
Function
KeyB0BI
Sensors/SMCBatteryManager/SMCBatteryManager.hpp:53
↓ 1 callers
Function
KeyB0CT
Sensors/SMCBatteryManager/SMCBatteryManager.hpp:54
next →
1–100 of 1,006, ranked by callers