Forum Discussion
ChevronLi
Nov 23, 2023Copper Contributor
The method that control PMIC power supply on another device driver
Hello, can anyone help my difficulty? I'm a developer for Windows driver and developing a device driver, but has some questions when implement the detial. Background as below: 1. The driver is ...
ChevronLi
Dec 18, 2023Copper Contributor
I found an API StorPortPoFxSetPerfState, which can change power supply via PerfState change.
But the return result always STOR_STATUS_INVALID_PARAMETER
Below code displayed my input parameters, anyone can help find the issue point?
ULONG status = STOR_STATUS_SUCCESS;
u32 perstate = 0;
status = StorPortPoFxSetPerfState(pdx, NULL, 0, 0, 0, 0x14, &perstate);
PrintMsg("StorPortPoFxSetPerfState result 0x%08x",status);