OpenCore
1.0.4
OpenCore Bootloader
|
#include <Uefi.h>
Go to the source code of this file.
Macros | |
#define | HDA_CONTROLLER_MODEL_GENERIC "HD Audio Controller" |
#define | HDA_CODEC_MODEL_GENERIC "Unknown Codec" |
#define | VEN_AMD_ID 0x1002 |
#define | VEN_ANALOGDEVICES_ID 0x11D4 |
#define | VEN_AGERE_ID 0x11C1 |
#define | VEN_CIRRUSLOGIC_ID 0x1013 |
#define | VEN_CHRONTEL_ID 0x17E8 |
#define | VEN_CONEXANT_ID 0x14F1 |
#define | VEN_CREATIVE_ID 0x1102 |
#define | VEN_IDT_ID 0x111D |
#define | VEN_INTEL_ID 0x8086 |
#define | VEN_LG_ID 0x1854 |
#define | VEN_NVIDIA_ID 0x10DE |
#define | VEN_QEMU_ID 0x1AF4 |
#define | VEN_REALTEK_ID 0x10EC |
#define | VEN_SIGMATEL_ID 0x8384 |
#define | VEN_VIA_ID 0x1106 |
#define | VEN_CMEDIA_ID 0x13F6 |
#define | VEN_CMEDIA2_ID 0x434D |
#define | VEN_RDC_ID 0x17F3 |
#define | VEN_SIS_ID 0x1039 |
#define | VEN_ULI_ID 0x10B9 |
#define | VEN_MOTO_ID 0x1057 |
#define | VEN_SII_ID 0x1095 |
#define | VEN_VMWARE_ID 0x15AD |
#define | VEN_WOLFSON_ID 0x14EC |
#define | VEN_INVALID_ID 0xFFFF |
#define | GET_PCI_VENDOR_ID(a) |
#define | GET_PCI_DEVICE_ID(a) |
#define | GET_PCI_GENERIC_ID(a) |
#define | GET_CODEC_VENDOR_ID(a) |
#define | GET_CODEC_DEVICE_ID(a) |
#define | GET_CODEC_GENERIC_ID(a) |
Functions | |
CONST CHAR8 * | OcHdaControllerGetName (IN UINT32 ControllerId) |
CONST CHAR8 * | OcHdaCodecGetName (IN UINT32 CodecId, IN UINT16 RevisionId) |
This library implements HDA device information.
Copyright (c) 2018 John Davis. All rights reserved.
Copyright (c) 2020, vit9696. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause
Definition in file OcHdaDevicesLib.h.
#define GET_CODEC_DEVICE_ID | ( | a | ) |
Definition at line 58 of file OcHdaDevicesLib.h.
#define GET_CODEC_GENERIC_ID | ( | a | ) |
Definition at line 59 of file OcHdaDevicesLib.h.
#define GET_CODEC_VENDOR_ID | ( | a | ) |
Definition at line 57 of file OcHdaDevicesLib.h.
#define GET_PCI_DEVICE_ID | ( | a | ) |
Definition at line 55 of file OcHdaDevicesLib.h.
#define GET_PCI_GENERIC_ID | ( | a | ) |
Definition at line 56 of file OcHdaDevicesLib.h.
#define GET_PCI_VENDOR_ID | ( | a | ) |
Definition at line 54 of file OcHdaDevicesLib.h.
#define HDA_CODEC_MODEL_GENERIC "Unknown Codec" |
Definition at line 22 of file OcHdaDevicesLib.h.
#define HDA_CONTROLLER_MODEL_GENERIC "HD Audio Controller" |
Based on FreeBSD audio driver later borrowed by VoodooHDA. Generic names.
Definition at line 21 of file OcHdaDevicesLib.h.
#define VEN_AGERE_ID 0x11C1 |
Definition at line 29 of file OcHdaDevicesLib.h.
#define VEN_AMD_ID 0x1002 |
Vendor IDs.
Definition at line 27 of file OcHdaDevicesLib.h.
#define VEN_ANALOGDEVICES_ID 0x11D4 |
Definition at line 28 of file OcHdaDevicesLib.h.
#define VEN_CHRONTEL_ID 0x17E8 |
Definition at line 31 of file OcHdaDevicesLib.h.
#define VEN_CIRRUSLOGIC_ID 0x1013 |
Definition at line 30 of file OcHdaDevicesLib.h.
#define VEN_CMEDIA2_ID 0x434D |
Definition at line 43 of file OcHdaDevicesLib.h.
#define VEN_CMEDIA_ID 0x13F6 |
Definition at line 42 of file OcHdaDevicesLib.h.
#define VEN_CONEXANT_ID 0x14F1 |
Definition at line 32 of file OcHdaDevicesLib.h.
#define VEN_CREATIVE_ID 0x1102 |
Definition at line 33 of file OcHdaDevicesLib.h.
#define VEN_IDT_ID 0x111D |
Definition at line 34 of file OcHdaDevicesLib.h.
#define VEN_INTEL_ID 0x8086 |
Definition at line 35 of file OcHdaDevicesLib.h.
#define VEN_INVALID_ID 0xFFFF |
Definition at line 52 of file OcHdaDevicesLib.h.
#define VEN_LG_ID 0x1854 |
Definition at line 36 of file OcHdaDevicesLib.h.
#define VEN_MOTO_ID 0x1057 |
Definition at line 47 of file OcHdaDevicesLib.h.
#define VEN_NVIDIA_ID 0x10DE |
Definition at line 37 of file OcHdaDevicesLib.h.
#define VEN_QEMU_ID 0x1AF4 |
Definition at line 38 of file OcHdaDevicesLib.h.
#define VEN_RDC_ID 0x17F3 |
Definition at line 44 of file OcHdaDevicesLib.h.
#define VEN_REALTEK_ID 0x10EC |
Definition at line 39 of file OcHdaDevicesLib.h.
#define VEN_SIGMATEL_ID 0x8384 |
Definition at line 40 of file OcHdaDevicesLib.h.
#define VEN_SII_ID 0x1095 |
Definition at line 48 of file OcHdaDevicesLib.h.
#define VEN_SIS_ID 0x1039 |
Definition at line 45 of file OcHdaDevicesLib.h.
#define VEN_ULI_ID 0x10B9 |
Definition at line 46 of file OcHdaDevicesLib.h.
#define VEN_VIA_ID 0x1106 |
Definition at line 41 of file OcHdaDevicesLib.h.
#define VEN_VMWARE_ID 0x15AD |
Definition at line 49 of file OcHdaDevicesLib.h.
#define VEN_WOLFSON_ID 0x14EC |
Definition at line 50 of file OcHdaDevicesLib.h.
CONST CHAR8 * OcHdaCodecGetName | ( | IN UINT32 | CodecId, |
IN UINT16 | RevisionId ) |
Get codec name.
[in] | CodecId | Codec identifier. |
[in] | RevisionId | Codec revision. |
Controller | name or NULL. |
Definition at line 576 of file OcHdaDevicesLib.c.
CONST CHAR8 * OcHdaControllerGetName | ( | IN UINT32 | ControllerId | ) |
Get controller name.
[in] | ControllerId | Controller identifier. |
Controller | name or NULL. |
Definition at line 544 of file OcHdaDevicesLib.c.