Lines Matching refs:fwupgCtx
467 struct HpmfwupgUpgradeCtx fwupgCtx; in HpmfwupgUpgrade() local
469 memset(&fwupgCtx, 0, sizeof (fwupgCtx)); in HpmfwupgUpgrade()
471 rc = HpmfwupgGetBufferFromFile(imageFilename, &fwupgCtx); in HpmfwupgUpgrade()
476 rc = HpmfwupgValidateImageIntegrity(&fwupgCtx); in HpmfwupgUpgrade()
486 rc = HpmfwupgPreparationStage(intf, &fwupgCtx, option); in HpmfwupgUpgrade()
505 &fwupgCtx,componentMask, VIEW_MODE); in HpmfwupgUpgrade()
507 rc = HpmfwupgPreUpgradeCheck(intf, &fwupgCtx, in HpmfwupgUpgrade()
512 fwupgCtx.compUpdateMask.ComponentBits.byte); in HpmfwupgUpgrade()
514 rc = HpmfwupgUpgradeStage(intf, &fwupgCtx, option); in HpmfwupgUpgrade()
521 if (fwupgCtx.compUpdateMask.ComponentBits.byte) { in HpmfwupgUpgrade()
523 rc = HpmfwupgActivationStage(intf, &fwupgCtx); in HpmfwupgUpgrade()
549 if (fwupgCtx.pImageData) { in HpmfwupgUpgrade()
550 free(fwupgCtx.pImageData); in HpmfwupgUpgrade()
551 fwupgCtx.pImageData = NULL; in HpmfwupgUpgrade()
1921 struct HpmfwupgUpgradeCtx fwupgCtx; in HpmfwupgManualFirmwareRollback() local
1927 memset(&fwupgCtx, 0, sizeof (fwupgCtx)); in HpmfwupgManualFirmwareRollback()
1934 memcpy(&fwupgCtx.targetCap, &targetCapCmd.resp, sizeof(targetCapCmd.resp)); in HpmfwupgManualFirmwareRollback()
1941 rsp = HpmfwupgSendCmd(intf, req, &fwupgCtx); in HpmfwupgManualFirmwareRollback()
1952 rc = HpmfwupgQueryRollbackStatus(intf, &resCmd, &fwupgCtx); in HpmfwupgManualFirmwareRollback()