Lines Matching refs:FwhInstance
209 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbGetLbaAddress()
215 FwhInstance = GetFvbInstance (Instance); in FvbGetLbaAddress()
219 BlockMap = &(FwhInstance->VolumeHeader.BlockMap[0]); in FvbGetLbaAddress()
242 if ( LbaAddress && FwhInstance ) { in FvbGetLbaAddress()
243 *LbaAddress = FwhInstance->FvBase + Offset; in FvbGetLbaAddress()
502 EFI_FW_VOL_INSTANCE *FwhInstance = NULL; in FvbSetVolumeAttributes()
512 FwhInstance = GetFvbInstance (Instance); in FvbSetVolumeAttributes()
514 AttribPtr = (EFI_FVB_ATTRIBUTES_2 *) & (FwhInstance->VolumeHeader.Attributes); in FvbSetVolumeAttributes()
781 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbProtocolEraseBlocks()
791 FwhInstance = GetFvbInstance (FvbDevice->Instance); in FvbProtocolEraseBlocks()
793 if (FwhInstance != NULL) { in FvbProtocolEraseBlocks()
794 NumOfBlocks = FwhInstance->NumOfBlocks; in FvbProtocolEraseBlocks()
1009 EFI_FW_VOL_INSTANCE *FwhInstance; in FvbInitialize()
1037 FwhInstance = mFvbModuleGlobal.FvInstance; in FvbInitialize()
1076 CopyMem (&(FwhInstance->VolumeHeader), FwVolHeader, FwVolHeader->HeaderLength); in FvbInitialize()
1078 FwVolHeader = &(FwhInstance->VolumeHeader); in FvbInitialize()
1079 FwhInstance->FvBase = (UINTN)BaseAddress; in FvbInitialize()
1084 FwhInstance->NumOfBlocks = 0; in FvbInitialize()
1092 FwhInstance->NumOfBlocks += PtrBlockMapEntry->NumBlocks; in FvbInitialize()
1099 InstallFvbProtocol (FwhInstance, mFvbModuleGlobal.NumFv - 1); in FvbInitialize()
1104 FwhInstance = (EFI_FW_VOL_INSTANCE *) ((UINTN)((UINT8 *)FwhInstance) + in FvbInitialize()