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,
372 FwhInstance = GetFvbInstance (Instance);
381 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL);
389 Attributes = FvbGetVolumeAttributes (Instance);
429 @param[in] Instance The FV instance to be erased.
437 @retval EFI_INVALID_PARAMETER Instance not found.
442 IN UINTN Instance,
453 // Find the right instance of the FVB private data.
455 FwhInstance = GetFvbInstance (Instance);
460 Attributes = FvbGetVolumeAttributes (Instance);
469 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL);
490 @param[in] Instance The FV instance whose attributes is going to be
499 @retval EFI_INVALID_PARAMETER Instance not found, or The attributes requested are
507 IN UINTN Instance,
519 // Find the right instance of the FVB private data.
521 FwhInstance = GetFvbInstance (Instance);
637 FvInstance = GetFvbInstance(FvbDevice->Instance);
683 FvbDevice->Instance,
712 *Attributes = FvbGetVolumeAttributes (FvbDevice->Instance);
751 Status = FvbSetVolumeAttributes (FvbDevice->Instance, Attributes);
800 FwhInstance = GetFvbInstance (FvbDevice->Instance);
841 Status = FvbEraseBlock (FvbDevice->Instance, StartingLba);
906 return FvbWriteBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer);
953 Status = FvbReadBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer);
1107 // Add a FVB Protocol Instance.