OpenCore
1.0.4
OpenCore Bootloader
|
#include "HdaCodec.h"
#include "HdaCodecComponentName.h"
#include <Library/BaseOverflowLib.h>
#include <Library/OcHdaDevicesLib.h>
#include <Library/OcMiscLib.h>
#include <Library/OcStringLib.h>
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | HdaCodecProbeWidget (IN HDA_WIDGET_DEV *HdaWidget) |
EFI_STATUS EFIAPI | HdaCodecProbeFuncGroup (IN HDA_FUNC_GROUP *FuncGroup) |
EFI_STATUS EFIAPI | HdaCodecProbeCodec (IN HDA_CODEC_DEV *HdaCodecDev) |
EFI_STATUS EFIAPI | HdaCodecFindUpstreamOutput (IN HDA_WIDGET_DEV *HdaWidget, IN UINT8 Level) |
EFI_STATUS EFIAPI | HdaCodecParsePorts (IN HDA_CODEC_DEV *HdaCodecDev) |
EFI_STATUS EFIAPI | HdaCodecInstallProtocols (IN HDA_CODEC_DEV *HdaCodecDev) |
EFI_STATUS EFIAPI | HdaCodecGetOutputDac (IN HDA_WIDGET_DEV *HdaWidget, OUT HDA_WIDGET_DEV **HdaOutputWidget) |
EFI_STATUS EFIAPI | HdaCodecGetSupportedPcmRates (IN HDA_WIDGET_DEV *HdaPinWidget, OUT UINT32 *SupportedRates) |
EFI_STATUS EFIAPI | HdaCodecDisableWidgetPath (IN HDA_WIDGET_DEV *HdaWidget) |
EFI_STATUS EFIAPI | HdaCodecWidgetRawGainToDecibels (IN HDA_WIDGET_DEV *HdaWidget, IN UINT8 GainParam, OUT INT8 *Gain) |
EFI_STATUS EFIAPI | HdaCodecEnableWidgetPath (IN HDA_WIDGET_DEV *HdaWidget, IN INT8 Gain, IN UINT8 StreamId, IN UINT16 StreamFormat) |
VOID EFIAPI | HdaCodecCleanup (IN HDA_CODEC_DEV *HdaCodecDev) |
EFI_STATUS EFIAPI | HdaCodecDriverBindingSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL) |
EFI_STATUS EFIAPI | HdaCodecDriverBindingStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL) |
EFI_STATUS EFIAPI | HdaCodecDriverBindingStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer OPTIONAL) |
Variables | |
UINTN | gGpioSetupStageMask = GPIO_SETUP_STAGE_NONE |
UINTN | gGpioPinMask = GPIO_PIN_MASK_AUTO |
UINTN | gCodecSetupDelay = 0 |
BOOLEAN | gUseForcedCodec = FALSE |
UINTN | gForcedCodec = 0 |
BOOLEAN | gCodecUseConnNoneNode = FALSE |
VOID EFIAPI HdaCodecCleanup | ( | IN HDA_CODEC_DEV * | HdaCodecDev | ) |
Definition at line 1612 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecDisableWidgetPath | ( | IN HDA_WIDGET_DEV * | HdaWidget | ) |
Definition at line 1228 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecDriverBindingStart | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | ControllerHandle, | ||
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath | OPTIONAL ) |
Definition at line 1765 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecDriverBindingStop | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | ControllerHandle, | ||
IN UINTN | NumberOfChildren, | ||
IN EFI_HANDLE *ChildHandleBuffer | OPTIONAL ) |
Definition at line 1854 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecDriverBindingSupported | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | ControllerHandle, | ||
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath | OPTIONAL ) |
Definition at line 1717 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecEnableWidgetPath | ( | IN HDA_WIDGET_DEV * | HdaWidget, |
IN INT8 | Gain, | ||
IN UINT8 | StreamId, | ||
IN UINT16 | StreamFormat ) |
Definition at line 1344 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecFindUpstreamOutput | ( | IN HDA_WIDGET_DEV * | HdaWidget, |
IN UINT8 | Level ) |
Definition at line 872 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecGetOutputDac | ( | IN HDA_WIDGET_DEV * | HdaWidget, |
OUT HDA_WIDGET_DEV ** | HdaOutputWidget ) |
Definition at line 1153 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecGetSupportedPcmRates | ( | IN HDA_WIDGET_DEV * | HdaPinWidget, |
OUT UINT32 * | SupportedRates ) |
Definition at line 1183 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecInstallProtocols | ( | IN HDA_CODEC_DEV * | HdaCodecDev | ) |
Definition at line 1078 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecParsePorts | ( | IN HDA_CODEC_DEV * | HdaCodecDev | ) |
Definition at line 924 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecProbeCodec | ( | IN HDA_CODEC_DEV * | HdaCodecDev | ) |
Definition at line 779 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecProbeFuncGroup | ( | IN HDA_FUNC_GROUP * | FuncGroup | ) |
Definition at line 558 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecProbeWidget | ( | IN HDA_WIDGET_DEV * | HdaWidget | ) |
Definition at line 53 of file HdaCodec.c.
EFI_STATUS EFIAPI HdaCodecWidgetRawGainToDecibels | ( | IN HDA_WIDGET_DEV * | HdaWidget, |
IN UINT8 | GainParam, | ||
OUT INT8 * | Gain ) |
Definition at line 1288 of file HdaCodec.c.
UINTN gCodecSetupDelay = 0 |
Definition at line 40 of file HdaCodec.c.
BOOLEAN gCodecUseConnNoneNode = FALSE |
Definition at line 49 of file HdaCodec.c.
UINTN gForcedCodec = 0 |
Definition at line 46 of file HdaCodec.c.
UINTN gGpioPinMask = GPIO_PIN_MASK_AUTO |
Definition at line 37 of file HdaCodec.c.
UINTN gGpioSetupStageMask = GPIO_SETUP_STAGE_NONE |
Definition at line 34 of file HdaCodec.c.
BOOLEAN gUseForcedCodec = FALSE |
Definition at line 43 of file HdaCodec.c.