ScePower: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
Line 683: Line 683:
<source lang="C">int scePowerSetSysClockFrequencyForDriver(int clock);</source>
<source lang="C">int scePowerSetSysClockFrequencyForDriver(int clock);</source>


=== ScePowerForDriver_668F01D4 ===
=== scePowerGetCameraBusClockFrequencyForDriver ===
{| class="wikitable"
{| class="wikitable"
! Version !! NID
! Version !! NID
Line 690: Line 690:
|}
|}


<source lang="C">int ScePowerForDriver_668F01D4(void);</source>
<source lang="C">int scePowerGetCameraBusClockFrequencyForDriver(void);</source>


=== ScePowerForDriver_C743E392 ===
=== ScePowerForDriver_C743E392 ===

Revision as of 16:46, 31 March 2020

Module

Known NIDs

Version Name World Privilege NID
1.69 ScePower Non-secure Kernel 0xF0ADE873
3.60 ScePower Non-secure Kernel 0x5EAE6AEC

Libraries

Known NIDs

Version Name World Visibility NID
1.69-3.60 ScePower Non-secure User 0x1082DA7F
1.69-3.60 ScePowerForDriver Non-secure Kernel 0x1590166F
1.69-3.60 SceLedForDriver Non-secure Kernel 0x282C1323

ScePower

scePowerGetBatteryCycleCount

Version NID
1.69 0x008A54B9
3.60 0x008A54B9

scePowerRequestColdReset

Version NID
1.69 0x0442D852
3.60 0x0442D852

scePowerRegisterCallback

Version NID
1.69 0x04B7766E
3.60 0x04B7766E

scePowerGetGpuXbarClockFrequency

Version NID
1.69 0x0A750DEE
3.60 0x0A750DEE

scePowerIsBatteryExist

Version NID
1.69 0x0AFD0D8B
3.60 0x0AFD0D8B

scePowerRequestDisplayOff

Version NID
3.60 0x160EB506

scePowerGetGpuClockFrequency

Version NID
1.69 0x1B04A1D6
3.60 0x1B04A1D6

scePowerGetBatteryRemainMaxLevel

Version NID
3.60 0x1DB00F10

scePowerIsBatteryCharging

Version NID
1.69 0x1E490401
3.60 0x1E490401

scePowerGetBatteryLifePercent

Version NID
1.69 0x2085D15D
3.60 0x2085D15D

scePowerBatteryUpdateInfo

Version NID
0.990-3.60 0x27F3292C

scePowerGetBatteryTemp

Version NID
1.69 0x28E12023
3.60 0x28E12023

scePowerRequestStandby

Version NID
1.69 0x2B7C7CF4
3.60 0x2B7C7CF4

scePowerSetConfigurationMode

Version NID
1.69 0x3CE187B6
3.60 0x3CE187B6

scePowerRequestDisplayOn

Version NID
3.60 0x3EA75C88

scePowerGetBusClockFrequency

Version NID
3.60 0x478FE6F5

scePowerGetBatteryVolt

Version NID
1.69 0x483CE86B
3.60 0x483CE86B

scePowerSetUsingWireless

Version NID
1.69 0x4D695C1F
3.60 0x4D695C1F

scePowerGetCaseTemp

Version NID
1.69 0x525592E4
3.60 0x525592E4

scePowerSetGpuClockFrequency

Version NID
1.69 0x717DB06C
3.60 0x717DB06C

scePowerSetArmClockFrequency

Version NID
1.69 0x74DB5AE5
3.60 0x74DB5AE5

scePowerIsSuspendRequired

Version NID
1.69 0x78A1A796
3.60 0x78A1A796

scePowerIsRequest

Version NID
1.69 0x7FA406DD
3.60 0x7FA406DD

scePowerGetBatteryElec

Version NID
1.69 0x862AE1A6
3.60 0x862AE1A6

scePowerIsPowerOnline

Version NID
1.69 0x87440F5E
3.60 0x87440F5E

scePowerGetBatteryLifeTime

Version NID
1.69 0x8EFB3FA2
3.60 0x8EFB3FA2

scePowerGetBatteryRemainCapacity

Version NID
1.69 0x94F5A53F
3.60 0x94F5A53F

scePowerIsLowBatteryInhibitUpdateReboot

Version NID
3.60 0x9AA05A48

scePowerSetGpuXbarClockFrequency

Version NID
1.69 0xA7739DBE
3.60 0xA7739DBE

scePowerGetBatterySOH

Version NID
1.69 0xA88A2B65
3.60 0xA88A2B65

scePowerGetArmClockFrequency

Version NID
1.69 0xABC6F88F
3.60 0xABC6F88F

scePowerRequestSuspend

Version NID
1.69 0xAC32C9CC
3.60 0xAC32C9CC

scePowerSetIdleTimerCount

Version NID
1.69 0xB11EF149
3.60 0xB11EF149

scePowerGetBatteryChargingStatus

Version NID
1.69 0xB4432BC8
3.60 0xB4432BC8

scePowerSetBusClockFrequency

Version NID
3.60 0xB8D7B3FB

scePowerIsLowBattery

Version NID
1.69 0xD3075926
3.60 0xD3075926

scePowerGetUsingWireless

Version NID
1.69 0xD541FF03
3.60 0xD541FF03

scePowerCancelRequest

Version NID
1.69 0xDB62C9CF
3.60 0xDB62C9CF

scePowerUnregisterCallback

Version NID
1.69 0xDFA8BAF8
3.60 0xDFA8BAF8

scePowerIsLowBatteryInhibitUpdateDownload

Version NID
3.60 0xE3E45636

scePowerGetBatteryRemainLevel

Version NID
3.60 0xEA3E3715

scePowerGetBatteryFullCapacity

Version NID
1.69 0xFD18A0FF
3.60 0xFD18A0FF

ScePowerForDriver

scePowerGetArmClockFrequencyForDriver

Version NID
1.69-3.60 0xABC6F88F
int scePowerGetArmClockFrequencyForDriver(void);

scePowerSetArmClockFrequencyForDriver

Version NID
1.69-3.60 0x74DB5AE5
int scePowerSetArmClockFrequencyForDriver(int clock);

scePowerGetProcArmClockFrequencyForDriver

Version NID
3.60 0x2E9000F7

this function is temp name

int scePowerGetProcArmClockFrequencyForDriver(SceUID pid);

scePowerSetProcArmClockFrequencyForDriver

Version NID
3.60 0x86CB5218

this function is temp name

int scePowerSetProcArmClockFrequencyForDriver(SceUID pid, int clock);

scePowerGetGpuClockFrequencyForDriver

Version NID
1.69 0x1B04A1D6
3.60 not present
int scePowerGetGpuClockFrequencyForDriver(void)

scePowerSetGpuClockFrequencyForDriver

Version NID
1.69 - 3.60 0x717DB06C
int scePowerSetGpuClockFrequencyForDriver(int clock)

scePowerGetProcGpuClockFrequencyForDriver

Version NID
3.60 0x642E0AF2

this function is temp name

int scePowerGetProcGpuClockFrequencyForDriver(SceUID pid);

scePowerGetGpuXbarClockFrequencyForDriver

Version NID
1.69 - 3.60 0x0A750DEE
int scePowerGetGpuXbarClockFrequencyForDriver(void);

scePowerSetGpuXbarClockFrequencyForDriver

Version NID
1.69 - 3.60 0xA7739DBE
int scePowerSetGpuXbarClockFrequencyForDriver(int clock);

scePowerGetProcGpuXbarClockFrequencyForDriver

Version NID
3.60 0x62C5406C

this function is temp name

int scePowerGetProcGpuXbarClockFrequencyForDriver(SceUID pid);

scePowerSetProcGpuXbarClockFrequencyForDriver

Version NID
3.60 0x8D18F728

this function is temp name

int scePowerSetProcGpuXbarClockFrequencyForDriver(SceUID pid, int clock);

scePowerGetBusClockFrequencyForDriver

Version NID
3.60 0x478FE6F5
int scePowerGetBusClockFrequencyForDriver(void);

scePowerSetBusClockFrequencyForDriver

Version NID
3.60 0xB8D7B3FB
int scePowerSetBusClockFrequencyForDriver(int clock);

scePowerGetProcBusClockFrequencyForDriver

Version NID
3.60 0x2777A517

this function is temp name

int scePowerGetProcBusClockFrequencyForDriver(SceUID pid);

scePowerSetProcBusClockFrequencyForDriver

Version NID
3.60 0x20A33D58

this function is temp name

int scePowerSetProcBusClockFrequencyForDriver(SceUID pid, int clock);

scePowerGetCompatClockFrequencyForDriver

Version NID
3.60 0xCBCC11CC
int scePowerGetCompatClockFrequencyForDriver(void);

scePowerSetCompatClockFrequencyForDriver

Version NID
3.60 0xFFC84E69
int scePowerSetCompatClockFrequencyForDriver(int clock);

scePowerGetVeneziaClockFrequencyForDriver

Version NID
3.60 0x64641E6A
int scePowerGetVeneziaClockFrequencyForDriver(void);

scePowerSetVeneziaClockFrequencyForDriver

Version NID
3.60 0x621BD8FD
int scePowerSetVeneziaClockFrequencyForDriver(int clock);

scePowerGetDmac5ClockFrequencyForDriver

Version NID
3.60 0xF1E14EA9

this function is temp name

int scePowerGetDmac5ClockFrequencyForDriver(void);

scePowerSetDmac5ClockFrequencyForDriver

Version NID
3.60 0xA902CDDF
int scePowerSetDmac5ClockFrequencyForDriver(int clock);

scePowerGetVipClockFrequencyForDriver

Version NID
3.60 0x0E58FCDF
int scePowerGetVipClockFrequencyForDriver(void);

scePowerSetVipClockFrequencyForDriver

Version NID
3.60 0xE5573571
int scePowerSetVipClockFrequencyForDriver(int clock);

scePowerGetSysClockFrequencyForDriver

Version NID
3.60 0xC63DACD5
int scePowerGetSysClockFrequencyForDriver(void);

scePowerSetSysClockFrequencyForDriver

Version NID
3.60 0x0E333BEC
int scePowerSetSysClockFrequencyForDriver(int clock);

scePowerGetCameraBusClockFrequencyForDriver

Version NID
3.60 0x668F01D4
int scePowerGetCameraBusClockFrequencyForDriver(void);

ScePowerForDriver_C743E392

Version NID
3.60 0xC743E392
int ScePowerForDriver_C743E392(int clock);

scePowerGetGpuEs4ClockFrequencyForDriver

Version NID
3.60 0x475BCC82

this function is temp name

int scePowerGetGpuEs4ClockFrequencyForDriver(int *clock1, int *a2);

scePowerSetGpuEs4ClockFrequencyForDriver

Version NID
3.60 0x264C24FC

this function is temp name

int scePowerSetGpuEs4ClockFrequencyForDriver(int clock1, int clock2);

scePowerSetCallbackStateForDriver

Version NID
3.60 0xA6FF5997

ScePowerForDriver_2B51FE2F

Version NID
1.69-3.60 0x2B51FE2F

scePowerSetDisplayBrightnessForDriver

Version NID
3.60 0x43D5CE1D

scePowerGetDisplayMaxBrightnessForDriver

Version NID
3.60 0xD8759B55

scePowerSetDisplayMaxBrightnessForDriver

Version NID
3.60 0x77027B6B
// ex: scePowerSetDisplayMaxBrightnessForDriver(0x10000);
// ex: scePowerSetDisplayMaxBrightnessForDriver(0xC4EC);
int scePowerSetDisplayMaxBrightnessForDriver(int unk);

scePowerSetDisplayBrightnessForDriver

Version NID
3.60 0x43D5CE1D

scePowerTickForDriver

Version NID
3.60 0xEFD3C963

scePowerSetStandbyButtonPushTimeForDriver

Version NID
3.60 0x675A84ED

derived from vshPowerSetStandbyButtonPushTime

int scePowerSetStandbyButtonPushTimeForDriver(int a1);

scePowerSetPsButtonPushTimeForDriver

Version NID
3.60 0xCF8F0529

derived from vshPowerSetPsButtonPushTime

int scePowerSetPsButtonPushTimeForDriver(int a1);

scePowerGetWakeupFactorForDriver

Version NID
3.60 0x9F26222A

derived from vshPowerGetWakeupFactor

int scePowerGetWakeupFactorForDriver(void);

scePowerGetPowerSwModeForDriver

Version NID
3.60 0x165CE085
int scePowerGetPowerSwModeForDriver(void);

scePowerSetPowerSwModeForDriver

Version NID
3.60 0xC1853BA7

derived from vshPowerSetPowerSwMode

int scePowerSetPowerSwModeForDriver(int power_sw_mode);

scePowerSetPowerSwMode2ForDriver

Version NID
3.60 0x0CD21B1F

Derived from PSP NID.

int scePowerSetPowerSwMode2ForDriver(int power_sw_mode);

scePowerGetBatteryCycleCountForDriver

Version NID
1.69-3.60 0x008A54B9

scePowerGetResumeCountForDriver

Version NID
3.60 0x0074EF9B

scePowerIsRequestForDriver

Version NID
1.69-3.60 0x7FA406DD

scePowerCancelRequestForDriver

Version NID
1.69-3.60 0xDB62C9CF

scePowerRequestShutdownForDriver

Version NID
0.990-3.60 0x8921A7A0

scePowerRequestSoftResetForDriver

Version NID
1.69-3.60 0x2875994B
/**
 * Requests PS Vita to do a soft reset
 *
 * @return always 0
 */
int scePowerRequestSoftResetForDriver(void);

scePowerRequestColdResetForDriver

Version NID
1.69-3.60 0x0442D852

scePowerRequestHibernateForDriver

Version NID
3.60 0x08951418

derived from vshPowerRequestHibernate

scePowerRequestSuspendForDriver

Version NID
1.69-3.60 0xAC32C9CC

scePowerRequestStandbyForDriver

Version NID
1.69-3.60 0x2B7C7CF4

scePowerRequestResumeForDriver

Version NID
3.60 0x02DB1035

scePowerRequestDisplayOffForDriver

Version NID
3.60 0x160EB506

scePowerRequestDisplayOnForDriver

Version NID
3.60 0x3EA75C88

scePowerIsSuspendRequiredForDriver

Version NID
1.69-3.60 0x78A1A796

scePowerRegisterCallbackForDriver

Version NID
1.69-3.60 0x04B7766E

scePowerUnregisterCallbackForDriver

Version NID
1.69-3.60 0xDFA8BAF8

scePowerGetIdleTimerForDriver

Version NID
3.60 0xEDC13FE5

scePowerSetIdleTimerForDriver

Version NID
3.60 0x6BC26FC7

scePowerSetIdleCallbackForDriver

Version NID
3.60 0x1BA2FCAE

scePowerSetProcessIdleCallbackForDriver

Version NID
3.60 0x0856FD0A

scePowerGetCaseTempForDriver

Version NID
1.69-3.60 0x525592E4

scePowerIsBatteryExistForDriver

Version NID
1.69-3.60 0x0AFD0D8B

scePowerEncodeUBatteryForDriver

Version NID
3.60 0x3951AF53

According to PSP NID, it should be scePowerWaitRequestCompletionForDriver.

scePowerSetBatteryFakeStatusForDriver

Version NID
3.60 0x0C6973B8

derived from _vshPowerSetBatteryFakeStatus

int scePowerSetBatteryFakeStatusForDriver(int status);

scePowerIsPowerOnlineForDriver

Version NID
1.69-3.60 0x87440F5E

scePowerIsBatteryChargingForDriver

Version NID
1.69-3.60 0x1E490401

scePowerGetBatteryLifePercentForDriver

Version NID
1.69-3.60 0x2085D15D

scePowerBatteryUpdateInfoForDriver

Version NID
0.990-3.60 0x27F3292C

scePowerGetBatteryTempForDriver

Version NID
1.69-3.60 0x28E12023

scePowerGetBatteryVoltForDriver

Version NID
1.69-3.60 0x483CE86B

scePowerGetBatteryElecForDriver

Version NID
1.69-3.60 0x862AE1A6

scePowerGetBatteryLifeTimeForDriver

Version NID
1.69-3.60 0x8EFB3FA2

scePowerGetBatteryRemainCapacityForDriver

Version NID
1.69-3.60 0x94F5A53F

scePowerGetBatteryRemainLevelForDriver

Version NID
3.60 0xEA3E3715

scePowerGetBatteryRemainMaxLevelForDriver

Version NID
3.60 0x1DB00F10

scePowerGetBatterySOHForDriver

Version NID
1.69-3.60 0xA88A2B65

scePowerGetBatteryChargingStatusForDriver

Version NID
1.69-3.60 0xB4432BC8

scePowerIsLowBatteryForDriver

Version NID
1.69-3.60 0xD3075926

scePowerIsSomethingBatteryForDriver

Version NID
3.60 0x0D56C601

return SceSysconForDriver_ACEE1C70

scePowerIsSomethingBattery2ForDriver

Version NID
3.60 0x627A89C6

return SceSysconForDriver_4A184B7C

scePowerGetBatteryFullCapacityForDriver

Version NID
1.69-3.60 0xFD18A0FF

scePowerBatteryDisableUsbChargingForDriver

Version NID
3.60 0x90285886
int scePowerBatteryDisableUsbChargingForDriver(void);

scePowerBatteryEnableUsbChargingForDriver

Version NID
3.60 0x733F973B
int scePowerBatteryEnableUsbChargingForDriver(void);

scePowerBatteryForbidChargingForDriver

Version NID
3.60 0x166922EC
int scePowerBatteryForbidChargingForDriver(void);

scePowerBatteryPermitChargingForDriver

Version NID
3.60 0xDD3D4DAC
int scePowerBatteryPermitChargingForDriver(void);

scePowerBatteryStopUsbChargingForDriver

Version NID
3.60 0xACC857A4
int scePowerBatteryStopUsbChargingForDriver(void);

scePowerBatterySetUsbStatusForDriver

Version NID
3.60 0xE4E3C316
int scePowerBatterySetUsbStatusForDriver(unk);

scePowerSetWakeupConditionForDriver

Version NID
3.60 0xF535D928

Enable/disable USB charge.

// ex: scePowerSetWakeupConditionForDriver(0x8000, 0);
// ex: scePowerSetWakeupConditionForDriver(0x8000, 1);
int scePowerSetWakeupConditionForDriver(int unk, int unk2);

scePowerWlanActivateForDriver

Version NID
3.60 0x6D2CA84B

scePowerWlanDeactivateForDriver

Version NID
3.60 0x23BB0A60

scePowerIsWlanActivateForDriver

Version NID
3.60 0x2B51FE2F

this function is temp name

int scePowerIsWlanActivateForDriver(void);

set_some_battery_info

Version NID
3.60 0xC62B6164

set_udcd_state

Version NID
3.60 0x8C0D2051

Called by SceUdcd when SceUdcdAlarmTickTimer is triggered.

scePowerGetProcUsingWirelessForDriver

Version NID
3.60 0x06AF03DB

this function is temp name

int scePowerGetProcUsingWireless(SceUID pid);

ScePowerForDriver_0D80B917

Version NID
3.60 0x0D80B917

Related to scePowerGetProcUsingWireless?

int ScePowerForDriver_0D80B917(SceUID pid);

ScePowerForDriver_660D5AB4

Version NID
3.60 0x660D5AB4

idx - 1~7

int ScePowerForDriver_660D5AB4(SceSize idx);

SceLedForDriver

sceLedSetModeForDriver

Version NID
3.60 0xEA24BE03
int sceLedSetModeForDriver(int led, int mode, void *led_configuration);