Lines Matching refs:Instance
92 mFvbModuleGlobal->FvInstance[FVB_PHYSICAL] - Physical copy of instance data
94 instance data.
131 IN UINTN Instance,
142 Instance - The FV instance whose base address is going to be
145 instance data
146 FwhInstance - The EFI_FW_VOL_INSTANCE fimrware instance structure
151 EFI_INVALID_PARAMETER - Instance not found
157 if (Instance >= Global->NumFv) {
161 // Find the right instance of the FVB private data
164 while (Instance > 0) {
170 Instance--;
180 IN UINTN Instance,
191 Instance - The FV instance whose base address is going to be
197 instance data
202 EFI_INVALID_PARAMETER - Instance not found
210 // Find the right instance of the FVB private data
212 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual);
221 IN UINTN Instance,
233 Instance - The FV instance whose attributes is going to be
237 instance data
242 EFI_INVALID_PARAMETER - Instance not found
250 // Find the right instance of the FVB private data
252 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual);
261 IN UINTN Instance,
275 Instance - The FV instance which the Lba belongs to
285 instance data
290 EFI_INVALID_PARAMETER - Instance not found
304 // Find the right instance of the FVB private data
306 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual);
354 IN UINTN Instance,
368 Instance - The FV instance to be read from
377 instance data
389 EFI_INVALID_PARAMETER - Instance not found, or NumBytes, Buffer are NULL
409 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL, Global, Virtual);
416 FvbGetVolumeAttributes (Instance, &Attributes, Global, Virtual);
440 IN UINTN Instance,
454 Instance - The FV instance to be written to
463 instance data
474 EFI_INVALID_PARAMETER - Instance not found, or NumBytes, Buffer are NULL
494 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL, Global, Virtual);
501 FvbGetVolumeAttributes (Instance, &Attributes, Global, Virtual);
527 IN UINTN Instance,
538 Instance - The FV instance to be erased
541 instance data
550 EFI_INVALID_PARAMETER - Instance not found
564 FvbGetVolumeAttributes (Instance, &Attributes, Global, Virtual);
572 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL, Global, Virtual);
591 IN UINTN Instance,
603 Instance - The FV instance whose attributes is going to be
610 instance data
616 EFI_INVALID_PARAMETER - Instance not found, or The attributes requested are
633 // Find the right instance of the FVB private data
635 Status = GetFvbInstance (Instance, Global, &FwhInstance, Virtual);
754 return FvbGetPhysicalAddress (FvbDevice->Instance, Address, mFvbModuleGlobal, EfiGoneVirtual ());
791 FvbDevice->Instance,
825 return FvbGetVolumeAttributes (FvbDevice->Instance, Attributes, mFvbModuleGlobal, EfiGoneVirtual ());
852 return FvbSetVolumeAttributes (FvbDevice->Instance, Attributes, mFvbModuleGlobal, EfiGoneVirtual ());
896 Status = GetFvbInstance (FvbDevice->Instance, mFvbModuleGlobal, &FwhInstance, EfiGoneVirtual ());
932 Status = FvbEraseBlock (FvbDevice->Instance, StartingLba, mFvbModuleGlobal, EfiGoneVirtual ());
994 return FvbWriteBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer, mFvbModuleGlobal, EfiGoneVirtual ());
1043 return FvbReadBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer, mFvbModuleGlobal, EfiGoneVirtual ());
1193 // the private data of each FV instance. But in virtual mode or in physical
1280 // Add a FVB Protocol Instance
1291 FvbDevice->Instance = mFvbModuleGlobal->NumFv;