Lines Matching refs:Instance
97 0, // Instance
117 @param[in] Instance The index of the EFI_FW_VOL_INSTANCE.
124 IN UINTN Instance
129 if ( Instance >= mFvbModuleGlobal.NumFv ) {
135 // Find the right instance of the FVB private data.
138 while ( Instance > 0 ) {
142 Instance --;
155 @return EFI_FVB_ATTRIBUTES_2 of the FV identified by Instance.
161 IN UINTN Instance
165 FwInstance = GetFvbInstance(Instance);
180 @param[in] Instance The index of the EFI_FW_VOL_INSTANCE.
191 @retval EFI_INVALID_PARAMETER Instance not found.
197 IN UINTN Instance,
213 // Find the right instance of the FVB private data.
215 FwhInstance = GetFvbInstance (Instance);
266 @param[in] Instance The FV instance to be read from.
284 @retval EFI_INVALID_PARAMETER Instance not found, or NumBytes, Buffer are NULL.
290 IN UINTN Instance,
309 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL);
314 Attributes = FvbGetVolumeAttributes (Instance);
338 @param[in] Instance The FV instance to be written to.
353 @retval EFI_INVALID_PARAMETER Instance not found, or NumBytes, Buffer are NULL.
358 IN UINTN Instance,
378 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL);
386 Attributes = FvbGetVolumeAttributes (Instance);
426 @param[in] Instance The FV instance to be erased.
434 @retval EFI_INVALID_PARAMETER Instance not found.
439 IN UINTN Instance,
451 Attributes = FvbGetVolumeAttributes (Instance);
460 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL);
481 @param[in] Instance The FV instance whose attributes is going to be
490 @retval EFI_INVALID_PARAMETER Instance not found, or The attributes requested are
498 IN UINTN Instance,
510 // Find the right instance of the FVB private data.
512 FwhInstance = GetFvbInstance (Instance);
628 FvInstance = GetFvbInstance(FvbDevice->Instance);
674 FvbDevice->Instance,
703 *Attributes = FvbGetVolumeAttributes (FvbDevice->Instance);
742 Status = FvbSetVolumeAttributes (FvbDevice->Instance, Attributes);
791 FwhInstance = GetFvbInstance (FvbDevice->Instance);
832 Status = FvbEraseBlock (FvbDevice->Instance, StartingLba);
897 return FvbWriteBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer);
944 Status = FvbReadBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer);
1096 // Add a FVB Protocol Instance.