#include <Uefi.h>
Go to the source code of this file.
|
typedef struct EFI_HDA_CODEC_INFO_PROTOCOL_ | EFI_HDA_CODEC_INFO_PROTOCOL |
|
typedef EFI_STATUS(EFIAPI * | EFI_HDA_CODEC_INFO_GET_ADDRESS) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT8 *Address) |
|
typedef EFI_STATUS(EFIAPI * | EFI_HDA_CODEC_INFO_GET_NAME) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT CONST CHAR16 **CodecName) |
|
typedef EFI_STATUS(EFIAPI * | EFI_HDA_CODEC_INFO_GET_VENDOR_ID) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *VendorId) |
|
typedef EFI_STATUS(EFIAPI * | EFI_HDA_CODEC_INFO_GET_REVISION_ID) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *RevisionId) |
|
typedef EFI_STATUS(EFIAPI * | EFI_HDA_CODEC_INFO_GET_AUDIO_FUNC_ID) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT8 *AudioFuncId, OUT BOOLEAN *UnsolCapable) |
|
typedef EFI_STATUS(EFIAPI * | EFI_HDA_CODEC_INFO_GET_DEFAULT_RATES_FORMATS) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *Rates, OUT UINT32 *Formats) |
|
typedef EFI_STATUS(EFIAPI * | EFI_HDA_CODEC_INFO_GET_DEFAULT_AMP_CAPS) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *AmpInCaps, OUT UINT32 *AmpOutCaps) |
|
typedef EFI_STATUS(EFIAPI * | EFI_HDA_CODEC_INFO_GET_WIDGETS) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT HDA_WIDGET **Widgets, OUT UINTN *WidgetCount) |
|
typedef EFI_STATUS(EFIAPI * | EFI_HDA_CODEC_INFO_FREE_WIDGETS_BUFFER) (IN HDA_WIDGET *Widgets, IN UINTN WidgetCount) |
|
◆ EFI_HDA_CODEC_INFO_PROTOCOL_GUID
#define EFI_HDA_CODEC_INFO_PROTOCOL_GUID |
Value: { 0x6C9CDDE1, 0xE8A5, 0x43E5, \
{ 0xBE, 0x88, 0xDA, 0x15, 0xBC, 0x1C, 0x02, 0x50 } }
HDA Codec Info protocol GUID.
Definition at line 33 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_FREE_WIDGETS_BUFFER
typedef EFI_STATUS(EFIAPI * EFI_HDA_CODEC_INFO_FREE_WIDGETS_BUFFER) (IN HDA_WIDGET *Widgets, IN UINTN WidgetCount) |
Frees an array of HDA_WIDGET.
- Parameters
-
[in] | Widgets | A pointer to the buffer array of widgets that is to be freed. |
[in] | WidgetCount | The number of widgets in Widgets. |
- Return values
-
EFI_SUCCESS | The buffer was freed. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 237 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_GET_ADDRESS
Gets the codec's address.
- Parameters
-
[in] | This | A pointer to the EFI_HDA_CODEC_INFO_PROTOCOL instance. |
[out] | VendorId | The address of the codec. |
- Return values
-
EFI_SUCCESS | The address was retrieved. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 101 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_GET_AUDIO_FUNC_ID
typedef EFI_STATUS(EFIAPI * EFI_HDA_CODEC_INFO_GET_AUDIO_FUNC_ID) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT8 *AudioFuncId, OUT BOOLEAN *UnsolCapable) |
Gets the node ID of the codec's audio function.
- Parameters
-
[in] | This | A pointer to the EFI_HDA_CODEC_INFO_PROTOCOL instance. |
[out] | AudioFuncId | The node ID of the codec's audio function. |
[out] | UnsolCapable | Whether or not the function supports unsolicitation. |
- Return values
-
EFI_SUCCESS | The node ID was retrieved. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 166 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_GET_DEFAULT_AMP_CAPS
typedef EFI_STATUS(EFIAPI * EFI_HDA_CODEC_INFO_GET_DEFAULT_AMP_CAPS) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *AmpInCaps, OUT UINT32 *AmpOutCaps) |
Gets the codec's default amp capabilities.
- Parameters
-
[in] | This | A pointer to the EFI_HDA_CODEC_INFO_PROTOCOL instance. |
[out] | AmpInCaps | The default input amp capabilities. |
[out] | AmpOutCaps | The default output amp capabilities. |
- Return values
-
EFI_SUCCESS | The default amp capabilities were retrieved. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 202 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_GET_DEFAULT_RATES_FORMATS
typedef EFI_STATUS(EFIAPI * EFI_HDA_CODEC_INFO_GET_DEFAULT_RATES_FORMATS) (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *Rates, OUT UINT32 *Formats) |
Gets the codec's default supported stream rates and formats.
- Parameters
-
[in] | This | A pointer to the EFI_HDA_CODEC_INFO_PROTOCOL instance. |
[out] | Rates | The default supported rates. |
[out] | Formats | The default supported formats. |
- Return values
-
EFI_SUCCESS | The stream rates and formats were retrieved. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 184 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_GET_NAME
Gets the codec's name.
- Parameters
-
[in] | This | A pointer to the EFI_HDA_CODEC_INFO_PROTOCOL instance. |
[out] | CodecName | A pointer to the buffer to return the codec name. |
- Return values
-
EFI_SUCCESS | The codec name was retrieved. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 117 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_GET_REVISION_ID
Gets the codec's revision ID.
- Parameters
-
[in] | This | A pointer to the EFI_HDA_CODEC_INFO_PROTOCOL instance. |
[out] | RevisionId | The revision ID of the codec. |
- Return values
-
EFI_SUCCESS | The revision ID was retrieved. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 149 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_GET_VENDOR_ID
Gets the codec's vendor and device ID.
- Parameters
-
[in] | This | A pointer to the EFI_HDA_CODEC_INFO_PROTOCOL instance. |
[out] | VendorId | The vendor and device ID of the codec. |
- Return values
-
EFI_SUCCESS | The vendor and device ID was retrieved. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 133 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_GET_WIDGETS
Gets the codec's widgets.
- Parameters
-
[in] | This | A pointer to the EFI_HDA_CODEC_INFO_PROTOCOL instance. |
[out] | Widgets | A pointer to the buffer to return the requested array of widgets. |
[out] | WidgetCount | The number of widgets returned in Widgets. |
- Return values
-
EFI_SUCCESS | The widgets were retrieved. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 220 of file HdaCodecInfo.h.
◆ EFI_HDA_CODEC_INFO_PROTOCOL
◆ gEfiHdaCodecInfoProtocolGuid
EFI_GUID gEfiHdaCodecInfoProtocolGuid |
|
extern |