TianoCore EDK2 master
Loading...
Searching...
No Matches
IpmiCommandLibNetFnStorage.c File Reference
#include <Uefi.h>
#include <IndustryStandard/Ipmi.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI IpmiGetFruInventoryAreaInfo (IN IPMI_GET_FRU_INVENTORY_AREA_INFO_REQUEST *GetFruInventoryAreaInfoRequest, OUT IPMI_GET_FRU_INVENTORY_AREA_INFO_RESPONSE *GetFruInventoryAreaInfoResponse)
 
EFI_STATUS EFIAPI IpmiReadFruData (IN IPMI_READ_FRU_DATA_REQUEST *ReadFruDataRequest, OUT IPMI_READ_FRU_DATA_RESPONSE *ReadFruDataResponse, IN OUT UINT32 *ReadFruDataResponseSize)
 
EFI_STATUS EFIAPI IpmiWriteFruData (IN IPMI_WRITE_FRU_DATA_REQUEST *WriteFruDataRequest, IN UINT32 WriteFruDataRequestSize, OUT IPMI_WRITE_FRU_DATA_RESPONSE *WriteFruDataResponse)
 
EFI_STATUS EFIAPI IpmiGetSelInfo (OUT IPMI_GET_SEL_INFO_RESPONSE *GetSelInfoResponse)
 
EFI_STATUS EFIAPI IpmiGetSelEntry (IN IPMI_GET_SEL_ENTRY_REQUEST *GetSelEntryRequest, OUT IPMI_GET_SEL_ENTRY_RESPONSE *GetSelEntryResponse, IN OUT UINT32 *GetSelEntryResponseSize)
 
EFI_STATUS EFIAPI IpmiAddSelEntry (IN IPMI_ADD_SEL_ENTRY_REQUEST *AddSelEntryRequest, OUT IPMI_ADD_SEL_ENTRY_RESPONSE *AddSelEntryResponse)
 
EFI_STATUS EFIAPI IpmiPartialAddSelEntry (IN IPMI_PARTIAL_ADD_SEL_ENTRY_REQUEST *PartialAddSelEntryRequest, IN UINT32 PartialAddSelEntryRequestSize, OUT IPMI_PARTIAL_ADD_SEL_ENTRY_RESPONSE *PartialAddSelEntryResponse)
 
EFI_STATUS EFIAPI IpmiClearSel (IN IPMI_CLEAR_SEL_REQUEST *ClearSelRequest, OUT IPMI_CLEAR_SEL_RESPONSE *ClearSelResponse)
 
EFI_STATUS EFIAPI IpmiGetSelTime (OUT IPMI_GET_SEL_TIME_RESPONSE *GetSelTimeResponse)
 
EFI_STATUS EFIAPI IpmiSetSelTime (IN IPMI_SET_SEL_TIME_REQUEST *SetSelTimeRequest, OUT UINT8 *CompletionCode)
 
EFI_STATUS EFIAPI IpmiGetSdrRepositoryInfo (OUT IPMI_GET_SDR_REPOSITORY_INFO_RESPONSE *GetSdrRepositoryInfoResp)
 
EFI_STATUS EFIAPI IpmiGetSdr (IN IPMI_GET_SDR_REQUEST *GetSdrRequest, OUT IPMI_GET_SDR_RESPONSE *GetSdrResponse, IN OUT UINT32 *GetSdrResponseSize)
 

Detailed Description

IPMI Command - NetFnStorage NULL instance library.

Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.
Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file IpmiCommandLibNetFnStorage.c.

Function Documentation

◆ IpmiAddSelEntry()

EFI_STATUS EFIAPI IpmiAddSelEntry ( IN IPMI_ADD_SEL_ENTRY_REQUEST AddSelEntryRequest,
OUT IPMI_ADD_SEL_ENTRY_RESPONSE AddSelEntryResponse 
)

This function adds SEL entry.

Parameters
[in]AddSelEntryRequestAdd SEL entry command request.
[out]AddSelEntryResponseAdd SEL entry command response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 126 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiClearSel()

EFI_STATUS EFIAPI IpmiClearSel ( IN IPMI_CLEAR_SEL_REQUEST ClearSelRequest,
OUT IPMI_CLEAR_SEL_RESPONSE ClearSelResponse 
)

This function clears SEL entry.

Parameters
[in]ClearSelRequestClear SEL command request.
[out]ClearSelResponseClear SEL command response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 166 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiGetFruInventoryAreaInfo()

EFI_STATUS EFIAPI IpmiGetFruInventoryAreaInfo ( IN IPMI_GET_FRU_INVENTORY_AREA_INFO_REQUEST GetFruInventoryAreaInfoRequest,
OUT IPMI_GET_FRU_INVENTORY_AREA_INFO_RESPONSE GetFruInventoryAreaInfoResponse 
)

This function gets FRU inventory area info.

Parameters
[in]GetFruInventoryAreaInfoRequestGet FRU inventory area command request.
[out]GetFruInventoryAreaInfoResponseget FRU inventory area command response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 23 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiGetSdr()

EFI_STATUS EFIAPI IpmiGetSdr ( IN IPMI_GET_SDR_REQUEST GetSdrRequest,
OUT IPMI_GET_SDR_RESPONSE GetSdrResponse,
IN OUT UINT32 *  GetSdrResponseSize 
)

This function gets SDR

Parameters
[in]GetSdrRequestGet SDR resquest.
[out]GetSdrResponseGet SDR response.
[in,out]GetSdrResponseSizeThe size of get SDR response. When input, the expected size of response data. When out, the exact size of response data.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 241 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiGetSdrRepositoryInfo()

EFI_STATUS EFIAPI IpmiGetSdrRepositoryInfo ( OUT IPMI_GET_SDR_REPOSITORY_INFO_RESPONSE GetSdrRepositoryInfoResp)

This function gets SDR repository information.

Parameters
[out]GetSdrRepositoryInfoRespGet SDR repository response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 220 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiGetSelEntry()

EFI_STATUS EFIAPI IpmiGetSelEntry ( IN IPMI_GET_SEL_ENTRY_REQUEST GetSelEntryRequest,
OUT IPMI_GET_SEL_ENTRY_RESPONSE GetSelEntryResponse,
IN OUT UINT32 *  GetSelEntryResponseSize 
)

This function gets SEL entry.

Parameters
[in]GetSelEntryRequestGet SEL entry command request.
[out]GetSelEntryResponseGet SEL entry command response.
[in,out]GetSelEntryResponseSizeSize of Get SEL entry request. When input, the expected size of response data. When out, the exact size of response data.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 106 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiGetSelInfo()

EFI_STATUS EFIAPI IpmiGetSelInfo ( OUT IPMI_GET_SEL_INFO_RESPONSE GetSelInfoResponse)

This function gets SEL information.

Parameters
[out]GetSelInfoResponseGet SEL information command response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 85 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiGetSelTime()

EFI_STATUS EFIAPI IpmiGetSelTime ( OUT IPMI_GET_SEL_TIME_RESPONSE GetSelTimeResponse)

This function gets SEL time.

Parameters
[out]GetSelTimeResponseGet SEL time command response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 184 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiPartialAddSelEntry()

EFI_STATUS EFIAPI IpmiPartialAddSelEntry ( IN IPMI_PARTIAL_ADD_SEL_ENTRY_REQUEST PartialAddSelEntryRequest,
IN UINT32  PartialAddSelEntryRequestSize,
OUT IPMI_PARTIAL_ADD_SEL_ENTRY_RESPONSE PartialAddSelEntryResponse 
)

This function partially adds SEL entry.

Parameters
[in]PartialAddSelEntryRequestPartial add SEL entry command request.
[in]PartialAddSelEntryRequestSizeSize of partial add SEL entry command request.
[out]PartialAddSelEntryResponsePartial add SEL entry command response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 146 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiReadFruData()

EFI_STATUS EFIAPI IpmiReadFruData ( IN IPMI_READ_FRU_DATA_REQUEST ReadFruDataRequest,
OUT IPMI_READ_FRU_DATA_RESPONSE ReadFruDataResponse,
IN OUT UINT32 *  ReadFruDataResponseSize 
)

This function reads FRU data.

Parameters
[in]ReadFruDataRequestRead FRU data command request.
[out]ReadFruDataResponseRead FRU data command response.
[in,out]ReadFruDataResponseSizeSize of the read FRU data response. When input, the expected size of response data. When out, the exact size of response data.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 45 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiSetSelTime()

EFI_STATUS EFIAPI IpmiSetSelTime ( IN IPMI_SET_SEL_TIME_REQUEST SetSelTimeRequest,
OUT UINT8 *  CompletionCode 
)

This function sets SEL time.

Parameters
[in]SetSelTimeRequestSet SEL time command request.
[out]CompletionCodeCommand completion code.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 202 of file IpmiCommandLibNetFnStorage.c.

◆ IpmiWriteFruData()

EFI_STATUS EFIAPI IpmiWriteFruData ( IN IPMI_WRITE_FRU_DATA_REQUEST WriteFruDataRequest,
IN UINT32  WriteFruDataRequestSize,
OUT IPMI_WRITE_FRU_DATA_RESPONSE WriteFruDataResponse 
)

This function gets chassis capability.

Parameters
[in]WriteFruDataRequestWrite FRU data command request.
[in]WriteFruDataRequestSizeSize of the write FRU data command request.
[out]WriteFruDataResponseWrite FRU data response.
Return values
EFI_UNSUPPORTEDUnsupported in the NULL lib.

Definition at line 66 of file IpmiCommandLibNetFnStorage.c.