Lines Matching refs:ret
116 static void UPOWER_Callback(upwr_sg_t sg, uint32_t func, upwr_resp_t errCode, int ret) in UPOWER_Callback() argument
133 int ret = -1; in UPOWER_CheckReq() local
143 reqStatus = upwr_poll_req_status(sg, NULL, &rsp, &ret, 0U); in UPOWER_CheckReq()
195 int ret = -1; /* the value returned by the last request completed */ in UPOWER_Init() local
227 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_Init()
259 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnDomain() local
264 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOnDomain()
282 int ret = -1; /* the value returned by the last request completed */ in UPOWER_BootDomain() local
287 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_BootDomain()
307 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnSwitches() local
312 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOnSwitches()
332 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOffSwitches() local
337 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOffSwitches()
362 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnMemPart() local
367 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOnMemPart()
391 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOffMemPart() local
396 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_PowerOffMemPart()
422 int ret = -1; /* the value returned by the last request completed */ in UPOWER_RetainMemPart() local
427 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_RetainMemPart()
445 int ret = -1; /* the value returned by the last request completed */ in UPOWER_SetRtdUseDdr() local
450 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_SetRtdUseDdr()
469 int ret = -1; /* the value returned by the last request completed */ in UPOWER_PowerOnADInPDMode() local
474 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_PowerOnADInPDMode()
494 int ret = -1; /* the value returned by the last request completed */ in UPOWER_SetPwrMgmtParam() local
500 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0); in UPOWER_SetPwrMgmtParam()
517 int ret = -1; /* the value returned by the last request completed */ in UPOWER_ReduceBuck23VoltInSTBY() local
522 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err_code, &ret, 0); in UPOWER_ReduceBuck23VoltInSTBY()
533 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err_code, &ret, 0); in UPOWER_ReduceBuck23VoltInSTBY()
544 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err_code, &ret, 0); in UPOWER_ReduceBuck23VoltInSTBY()
555 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err_code, &ret, 0); in UPOWER_ReduceBuck23VoltInSTBY()
566 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err_code, &ret, 0); in UPOWER_ReduceBuck23VoltInSTBY()
577 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err_code, &ret, 0); in UPOWER_ReduceBuck23VoltInSTBY()
588 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err_code, &ret, 0); in UPOWER_ReduceBuck23VoltInSTBY()
599 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err_code, &ret, 0); in UPOWER_ReduceBuck23VoltInSTBY()
619 int ret = -1; /* the value returned by the last request completed */ in UPOWER_SetDDRRetention() local
624 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_SetDDRRetention()
641 int ret = -1; /* the value returned by the last request completed */ in UPOWER_ChngPmicVoltage() local
646 UPOWER_CheckReqWithArgs(UPWR_SG_VOLTM, &sgf, &err, &ret, 0); in UPOWER_ChngPmicVoltage()
666 int ret = -1; /* the value returned by the last request completed */ in UPOWER_SetLDO1Power() local
690 UPOWER_CheckReqWithArgs(UPWR_SG_VOLTM, &sgf, &err, &ret, 0); in UPOWER_SetLDO1Power()
710 int ret = -1; /* the value returned by the last request completed */ in UPOWER_SetBuck3Power() local
734 UPOWER_CheckReqWithArgs(UPWR_SG_VOLTM, &sgf, &err, &ret, 0); in UPOWER_SetBuck3Power()
753 int ret = -1; /* the value returned by the last request completed */ in UPOWER_SetPmicReg() local
760 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_SetPmicReg()
779 int ret = -1; /* the value returned by the last request completed */ in UPOWER_ReadPmicReg() local
786 UPOWER_CheckReqWithArgs(UPWR_SG_EXCEPT, &sgf, &err, &ret, 0); in UPOWER_ReadPmicReg()
790 *reg_val = (uint8_t)ret; in UPOWER_ReadPmicReg()
855 int ret = -1; /* the value returned by the last request completed */ in UPOWER_ChngRTDDomBias() local
900 UPOWER_CheckReqWithArgs(UPWR_SG_PWRMGMT, &sgf, &err, &ret, 0U); in UPOWER_ChngRTDDomBias()