Go to the source code of this file.
|
EFI_STATUS EFIAPI | HdaCodecInfoGetAddress (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT8 *Address) |
|
EFI_STATUS EFIAPI | HdaCodecInfoGetCodecName (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT CONST CHAR16 **CodecName) |
|
EFI_STATUS EFIAPI | HdaCodecInfoGetVendorId (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *VendorId) |
|
EFI_STATUS EFIAPI | HdaCodecInfoGetRevisionId (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *RevisionId) |
|
EFI_STATUS EFIAPI | HdaCodecInfoGetAudioFuncId (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT8 *AudioFuncId, OUT BOOLEAN *UnsolCapable) |
|
EFI_STATUS EFIAPI | HdaCodecInfoGetDefaultRatesFormats (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *Rates, OUT UINT32 *Formats) |
|
EFI_STATUS EFIAPI | HdaCodecInfoGetDefaultAmpCaps (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT UINT32 *AmpInCaps, OUT UINT32 *AmpOutCaps) |
|
EFI_STATUS EFIAPI | HdaCodecInfoGetWidgets (IN EFI_HDA_CODEC_INFO_PROTOCOL *This, OUT HDA_WIDGET **Widgets, OUT UINTN *WidgetCount) |
|
EFI_STATUS EFIAPI | HdaCodecInfoFreeWidgetsBuffer (IN HDA_WIDGET *Widgets, IN UINTN WidgetCount) |
|
◆ HdaCodecInfoFreeWidgetsBuffer()
EFI_STATUS EFIAPI HdaCodecInfoFreeWidgetsBuffer |
( |
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 384 of file HdaCodecInfo.c.
◆ HdaCodecInfoGetAddress()
◆ HdaCodecInfoGetAudioFuncId()
EFI_STATUS EFIAPI HdaCodecInfoGetAudioFuncId |
( |
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. |
- Return values
-
EFI_SUCCESS | The node ID was retrieved. |
EFI_INVALID_PARAMETER | One or more parameters are invalid. |
Definition at line 152 of file HdaCodecInfo.c.
◆ HdaCodecInfoGetCodecName()
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 56 of file HdaCodecInfo.c.
◆ HdaCodecInfoGetDefaultAmpCaps()
EFI_STATUS EFIAPI HdaCodecInfoGetDefaultAmpCaps |
( |
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 222 of file HdaCodecInfo.c.
◆ HdaCodecInfoGetDefaultRatesFormats()
EFI_STATUS EFIAPI HdaCodecInfoGetDefaultRatesFormats |
( |
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 187 of file HdaCodecInfo.c.
◆ HdaCodecInfoGetRevisionId()
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 120 of file HdaCodecInfo.c.
◆ HdaCodecInfoGetVendorId()
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 88 of file HdaCodecInfo.c.
◆ HdaCodecInfoGetWidgets()
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. |
EFI_OUT_OF_RESOURCES | A buffer couldn't be allocated. |
Definition at line 258 of file HdaCodecInfo.c.