ReactOS 0.4.16-dev-334-g4d9f67c
amlresrc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  asl_resource_node
 
struct  asl_resource_info
 
struct  aml_resource_small_header
 
struct  aml_resource_irq
 
struct  aml_resource_irq_noflags
 
struct  aml_resource_dma
 
struct  aml_resource_start_dependent
 
struct  aml_resource_start_dependent_noprio
 
struct  aml_resource_end_dependent
 
struct  aml_resource_io
 
struct  aml_resource_fixed_io
 
struct  aml_resource_vendor_small
 
struct  aml_resource_end_tag
 
struct  aml_resource_fixed_dma
 
struct  aml_resource_large_header
 
struct  aml_resource_memory24
 
struct  aml_resource_vendor_large
 
struct  aml_resource_memory32
 
struct  aml_resource_fixed_memory32
 
struct  aml_resource_address
 
struct  aml_resource_extended_address64
 
struct  aml_resource_address64
 
struct  aml_resource_address32
 
struct  aml_resource_address16
 
struct  aml_resource_extended_irq
 
struct  aml_resource_generic_register
 
struct  aml_resource_gpio
 
struct  aml_resource_common_serialbus
 
struct  aml_resource_csi2_serialbus
 
struct  aml_resource_i2c_serialbus
 
struct  aml_resource_spi_serialbus
 
struct  aml_resource_uart_serialbus
 
struct  aml_resource_pin_function
 
struct  aml_resource_pin_config
 
struct  aml_resource_pin_group
 
struct  aml_resource_pin_group_function
 
struct  aml_resource_pin_group_config
 
union  aml_resource
 

Macros

#define ACPI_RESTAG_ADDRESS   "_ADR"
 
#define ACPI_RESTAG_ALIGNMENT   "_ALN"
 
#define ACPI_RESTAG_ADDRESSSPACE   "_ASI"
 
#define ACPI_RESTAG_ACCESSSIZE   "_ASZ"
 
#define ACPI_RESTAG_TYPESPECIFICATTRIBUTES   "_ATT"
 
#define ACPI_RESTAG_BASEADDRESS   "_BAS"
 
#define ACPI_RESTAG_BUSMASTER   "_BM_" /* Master(1), Slave(0) */
 
#define ACPI_RESTAG_DEBOUNCETIME   "_DBT"
 
#define ACPI_RESTAG_DECODE   "_DEC"
 
#define ACPI_RESTAG_DEVICEPOLARITY   "_DPL"
 
#define ACPI_RESTAG_DMA   "_DMA"
 
#define ACPI_RESTAG_DMATYPE   "_TYP" /* Compatible(0), A(1), B(2), F(3) */
 
#define ACPI_RESTAG_DRIVESTRENGTH   "_DRS"
 
#define ACPI_RESTAG_ENDIANNESS   "_END"
 
#define ACPI_RESTAG_FLOWCONTROL   "_FLC"
 
#define ACPI_RESTAG_FUNCTION   "_FUN"
 
#define ACPI_RESTAG_GRANULARITY   "_GRA"
 
#define ACPI_RESTAG_INTERRUPT   "_INT"
 
#define ACPI_RESTAG_INTERRUPTLEVEL   "_LL_" /* ActiveLo(1), ActiveHi(0) */
 
#define ACPI_RESTAG_INTERRUPTSHARE   "_SHR" /* Shareable(1), NoShare(0) */
 
#define ACPI_RESTAG_INTERRUPTTYPE   "_HE_" /* Edge(1), Level(0) */
 
#define ACPI_RESTAG_IORESTRICTION   "_IOR"
 
#define ACPI_RESTAG_LENGTH   "_LEN"
 
#define ACPI_RESTAG_LINE   "_LIN"
 
#define ACPI_RESTAG_LOCALPORT   "_PRT"
 
#define ACPI_RESTAG_MEMATTRIBUTES   "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */
 
#define ACPI_RESTAG_MEMTYPE   "_MEM" /* NonCache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */
 
#define ACPI_RESTAG_MAXADDR   "_MAX"
 
#define ACPI_RESTAG_MINADDR   "_MIN"
 
#define ACPI_RESTAG_MAXTYPE   "_MAF"
 
#define ACPI_RESTAG_MINTYPE   "_MIF"
 
#define ACPI_RESTAG_MODE   "_MOD"
 
#define ACPI_RESTAG_PARITY   "_PAR"
 
#define ACPI_RESTAG_PHASE   "_PHA"
 
#define ACPI_RESTAG_PHYTYPE   "_PHY"
 
#define ACPI_RESTAG_PIN   "_PIN"
 
#define ACPI_RESTAG_PINCONFIG   "_PPI"
 
#define ACPI_RESTAG_PINCONFIG_TYPE   "_TYP"
 
#define ACPI_RESTAG_PINCONFIG_VALUE   "_VAL"
 
#define ACPI_RESTAG_POLARITY   "_POL"
 
#define ACPI_RESTAG_REGISTERBITOFFSET   "_RBO"
 
#define ACPI_RESTAG_REGISTERBITWIDTH   "_RBW"
 
#define ACPI_RESTAG_RANGETYPE   "_RNG"
 
#define ACPI_RESTAG_READWRITETYPE   "_RW_" /* ReadOnly(0), Writeable (1) */
 
#define ACPI_RESTAG_LENGTH_RX   "_RXL"
 
#define ACPI_RESTAG_LENGTH_TX   "_TXL"
 
#define ACPI_RESTAG_SLAVEMODE   "_SLV"
 
#define ACPI_RESTAG_SPEED   "_SPE"
 
#define ACPI_RESTAG_STOPBITS   "_STB"
 
#define ACPI_RESTAG_TRANSLATION   "_TRA"
 
#define ACPI_RESTAG_TRANSTYPE   "_TRS" /* Sparse(1), Dense(0) */
 
#define ACPI_RESTAG_TYPE   "_TTP" /* Translation(1), Static (0) */
 
#define ACPI_RESTAG_XFERTYPE   "_SIZ" /* 8(0), 8And16(1), 16(2) */
 
#define ACPI_RESTAG_VENDORDATA   "_VEN"
 
#define ASL_RDESC_IRQ_SIZE   0x02
 
#define ASL_RDESC_DMA_SIZE   0x02
 
#define ASL_RDESC_ST_DEPEND_SIZE   0x00
 
#define ASL_RDESC_END_DEPEND_SIZE   0x00
 
#define ASL_RDESC_IO_SIZE   0x07
 
#define ASL_RDESC_FIXED_IO_SIZE   0x03
 
#define ASL_RDESC_FIXED_DMA_SIZE   0x05
 
#define ASL_RDESC_END_TAG_SIZE   0x01
 
#define ACPI_AML_SIZE_LARGE(r)   (sizeof (r) - sizeof (AML_RESOURCE_LARGE_HEADER))
 
#define ACPI_AML_SIZE_SMALL(r)   (sizeof (r) - sizeof (AML_RESOURCE_SMALL_HEADER))
 
#define AML_RESOURCE_SMALL_HEADER_COMMON    UINT8 DescriptorType;
 
#define AML_RESOURCE_LARGE_HEADER_COMMON
 
#define ACPI_RESOURCE_FLAG_DEC   2
 
#define ACPI_RESOURCE_FLAG_MIF   4
 
#define ACPI_RESOURCE_FLAG_MAF   8
 
#define AML_RESOURCE_ADDRESS_COMMON
 
#define AML_RESOURCE_EXTENDED_ADDRESS_REVISION   1 /* ACPI 3.0 */
 
#define AML_RESOURCE_GPIO_REVISION   1 /* ACPI 5.0 */
 
#define AML_RESOURCE_GPIO_TYPE_INT   0
 
#define AML_RESOURCE_GPIO_TYPE_IO   1
 
#define AML_RESOURCE_MAX_GPIOTYPE   1
 
#define AML_RESOURCE_SERIAL_COMMON
 
#define AML_RESOURCE_I2C_SERIALBUSTYPE   1
 
#define AML_RESOURCE_SPI_SERIALBUSTYPE   2
 
#define AML_RESOURCE_UART_SERIALBUSTYPE   3
 
#define AML_RESOURCE_CSI2_SERIALBUSTYPE   4
 
#define AML_RESOURCE_MAX_SERIALBUSTYPE   4
 
#define AML_RESOURCE_VENDOR_SERIALBUSTYPE   192 /* Vendor defined is 0xC0-0xFF (NOT SUPPORTED) */
 
#define AML_RESOURCE_CSI2_REVISION   1 /* ACPI 6.4 */
 
#define AML_RESOURCE_CSI2_TYPE_REVISION   1 /* ACPI 6.4 */
 
#define AML_RESOURCE_CSI2_MIN_DATA_LEN   0 /* ACPI 6.4 */
 
#define AML_RESOURCE_I2C_REVISION   1 /* ACPI 5.0 */
 
#define AML_RESOURCE_I2C_TYPE_REVISION   1 /* ACPI 5.0 */
 
#define AML_RESOURCE_I2C_MIN_DATA_LEN   6
 
#define AML_RESOURCE_SPI_REVISION   1 /* ACPI 5.0 */
 
#define AML_RESOURCE_SPI_TYPE_REVISION   1 /* ACPI 5.0 */
 
#define AML_RESOURCE_SPI_MIN_DATA_LEN   9
 
#define AML_RESOURCE_UART_REVISION   1 /* ACPI 5.0 */
 
#define AML_RESOURCE_UART_TYPE_REVISION   1 /* ACPI 5.0 */
 
#define AML_RESOURCE_UART_MIN_DATA_LEN   10
 
#define AML_RESOURCE_PIN_FUNCTION_REVISION   1 /* ACPI 6.2 */
 
#define AML_RESOURCE_PIN_CONFIG_REVISION   1 /* ACPI 6.2 */
 
#define AML_RESOURCE_PIN_GROUP_REVISION   1 /* ACPI 6.2 */
 
#define AML_RESOURCE_PIN_GROUP_FUNCTION_REVISION   1 /* ACPI 6.2 */
 
#define AML_RESOURCE_PIN_GROUP_CONFIG_REVISION   1 /* ACPI 6.2 */
 

Typedefs

typedef struct asl_resource_node ASL_RESOURCE_NODE
 
typedef struct asl_resource_info ASL_RESOURCE_INFO
 
typedef struct aml_resource_small_header AML_RESOURCE_SMALL_HEADER
 
typedef struct aml_resource_irq AML_RESOURCE_IRQ
 
typedef struct aml_resource_irq_noflags AML_RESOURCE_IRQ_NOFLAGS
 
typedef struct aml_resource_dma AML_RESOURCE_DMA
 
typedef struct aml_resource_start_dependent AML_RESOURCE_START_DEPENDENT
 
typedef struct aml_resource_start_dependent_noprio AML_RESOURCE_START_DEPENDENT_NOPRIO
 
typedef struct aml_resource_end_dependent AML_RESOURCE_END_DEPENDENT
 
typedef struct aml_resource_io AML_RESOURCE_IO
 
typedef struct aml_resource_fixed_io AML_RESOURCE_FIXED_IO
 
typedef struct aml_resource_vendor_small AML_RESOURCE_VENDOR_SMALL
 
typedef struct aml_resource_end_tag AML_RESOURCE_END_TAG
 
typedef struct aml_resource_fixed_dma AML_RESOURCE_FIXED_DMA
 
typedef struct aml_resource_large_header AML_RESOURCE_LARGE_HEADER
 
typedef struct aml_resource_memory24 AML_RESOURCE_MEMORY24
 
typedef struct aml_resource_vendor_large AML_RESOURCE_VENDOR_LARGE
 
typedef struct aml_resource_memory32 AML_RESOURCE_MEMORY32
 
typedef struct aml_resource_fixed_memory32 AML_RESOURCE_FIXED_MEMORY32
 
typedef struct aml_resource_address AML_RESOURCE_ADDRESS
 
typedef struct aml_resource_extended_address64 AML_RESOURCE_EXTENDED_ADDRESS64
 
typedef struct aml_resource_address64 AML_RESOURCE_ADDRESS64
 
typedef struct aml_resource_address32 AML_RESOURCE_ADDRESS32
 
typedef struct aml_resource_address16 AML_RESOURCE_ADDRESS16
 
typedef struct aml_resource_extended_irq AML_RESOURCE_EXTENDED_IRQ
 
typedef struct aml_resource_generic_register AML_RESOURCE_GENERIC_REGISTER
 
typedef struct aml_resource_gpio AML_RESOURCE_GPIO
 
typedef struct aml_resource_common_serialbus AML_RESOURCE_COMMON_SERIALBUS
 
typedef struct aml_resource_csi2_serialbus AML_RESOURCE_CSI2_SERIALBUS
 
typedef struct aml_resource_i2c_serialbus AML_RESOURCE_I2C_SERIALBUS
 
typedef struct aml_resource_spi_serialbus AML_RESOURCE_SPI_SERIALBUS
 
typedef struct aml_resource_uart_serialbus AML_RESOURCE_UART_SERIALBUS
 
typedef struct aml_resource_pin_function AML_RESOURCE_PIN_FUNCTION
 
typedef struct aml_resource_pin_config AML_RESOURCE_PIN_CONFIG
 
typedef struct aml_resource_pin_group AML_RESOURCE_PIN_GROUP
 
typedef struct aml_resource_pin_group_function AML_RESOURCE_PIN_GROUP_FUNCTION
 
typedef struct aml_resource_pin_group_config AML_RESOURCE_PIN_GROUP_CONFIG
 
typedef union aml_resource AML_RESOURCE
 

Functions

void MpSaveGpioInfo (ACPI_PARSE_OBJECT *Op, AML_RESOURCE *Resource, UINT32 PinCount, UINT16 *PinList, char *DeviceName)
 
void MpSaveSerialInfo (ACPI_PARSE_OBJECT *Op, AML_RESOURCE *Resource, char *DeviceName)
 
charMpGetHidFromParseTree (ACPI_NAMESPACE_NODE *HidNode)
 
charMpGetHidViaNamestring (char *DeviceName)
 
charMpGetConnectionInfo (ACPI_PARSE_OBJECT *Op, UINT32 PinIndex, ACPI_NAMESPACE_NODE **TargetNode, char **TargetName)
 
charMpGetParentDeviceHid (ACPI_PARSE_OBJECT *Op, ACPI_NAMESPACE_NODE **TargetNode, char **ParentDeviceName)
 
charMpGetDdnValue (char *DeviceName)
 
charMpGetHidValue (ACPI_NAMESPACE_NODE *DeviceNode)
 

Macro Definition Documentation

◆ ACPI_AML_SIZE_LARGE

#define ACPI_AML_SIZE_LARGE (   r)    (sizeof (r) - sizeof (AML_RESOURCE_LARGE_HEADER))

Definition at line 141 of file amlresrc.h.

◆ ACPI_AML_SIZE_SMALL

#define ACPI_AML_SIZE_SMALL (   r)    (sizeof (r) - sizeof (AML_RESOURCE_SMALL_HEADER))

Definition at line 142 of file amlresrc.h.

◆ ACPI_RESOURCE_FLAG_DEC

#define ACPI_RESOURCE_FLAG_DEC   2

Definition at line 275 of file amlresrc.h.

◆ ACPI_RESOURCE_FLAG_MAF

#define ACPI_RESOURCE_FLAG_MAF   8

Definition at line 277 of file amlresrc.h.

◆ ACPI_RESOURCE_FLAG_MIF

#define ACPI_RESOURCE_FLAG_MIF   4

Definition at line 276 of file amlresrc.h.

◆ ACPI_RESTAG_ACCESSSIZE

#define ACPI_RESTAG_ACCESSSIZE   "_ASZ"

Definition at line 57 of file amlresrc.h.

◆ ACPI_RESTAG_ADDRESS

#define ACPI_RESTAG_ADDRESS   "_ADR"

Definition at line 54 of file amlresrc.h.

◆ ACPI_RESTAG_ADDRESSSPACE

#define ACPI_RESTAG_ADDRESSSPACE   "_ASI"

Definition at line 56 of file amlresrc.h.

◆ ACPI_RESTAG_ALIGNMENT

#define ACPI_RESTAG_ALIGNMENT   "_ALN"

Definition at line 55 of file amlresrc.h.

◆ ACPI_RESTAG_BASEADDRESS

#define ACPI_RESTAG_BASEADDRESS   "_BAS"

Definition at line 59 of file amlresrc.h.

◆ ACPI_RESTAG_BUSMASTER

#define ACPI_RESTAG_BUSMASTER   "_BM_" /* Master(1), Slave(0) */

Definition at line 60 of file amlresrc.h.

◆ ACPI_RESTAG_DEBOUNCETIME

#define ACPI_RESTAG_DEBOUNCETIME   "_DBT"

Definition at line 61 of file amlresrc.h.

◆ ACPI_RESTAG_DECODE

#define ACPI_RESTAG_DECODE   "_DEC"

Definition at line 62 of file amlresrc.h.

◆ ACPI_RESTAG_DEVICEPOLARITY

#define ACPI_RESTAG_DEVICEPOLARITY   "_DPL"

Definition at line 63 of file amlresrc.h.

◆ ACPI_RESTAG_DMA

#define ACPI_RESTAG_DMA   "_DMA"

Definition at line 64 of file amlresrc.h.

◆ ACPI_RESTAG_DMATYPE

#define ACPI_RESTAG_DMATYPE   "_TYP" /* Compatible(0), A(1), B(2), F(3) */

Definition at line 65 of file amlresrc.h.

◆ ACPI_RESTAG_DRIVESTRENGTH

#define ACPI_RESTAG_DRIVESTRENGTH   "_DRS"

Definition at line 66 of file amlresrc.h.

◆ ACPI_RESTAG_ENDIANNESS

#define ACPI_RESTAG_ENDIANNESS   "_END"

Definition at line 67 of file amlresrc.h.

◆ ACPI_RESTAG_FLOWCONTROL

#define ACPI_RESTAG_FLOWCONTROL   "_FLC"

Definition at line 68 of file amlresrc.h.

◆ ACPI_RESTAG_FUNCTION

#define ACPI_RESTAG_FUNCTION   "_FUN"

Definition at line 69 of file amlresrc.h.

◆ ACPI_RESTAG_GRANULARITY

#define ACPI_RESTAG_GRANULARITY   "_GRA"

Definition at line 70 of file amlresrc.h.

◆ ACPI_RESTAG_INTERRUPT

#define ACPI_RESTAG_INTERRUPT   "_INT"

Definition at line 71 of file amlresrc.h.

◆ ACPI_RESTAG_INTERRUPTLEVEL

#define ACPI_RESTAG_INTERRUPTLEVEL   "_LL_" /* ActiveLo(1), ActiveHi(0) */

Definition at line 72 of file amlresrc.h.

◆ ACPI_RESTAG_INTERRUPTSHARE

#define ACPI_RESTAG_INTERRUPTSHARE   "_SHR" /* Shareable(1), NoShare(0) */

Definition at line 73 of file amlresrc.h.

◆ ACPI_RESTAG_INTERRUPTTYPE

#define ACPI_RESTAG_INTERRUPTTYPE   "_HE_" /* Edge(1), Level(0) */

Definition at line 74 of file amlresrc.h.

◆ ACPI_RESTAG_IORESTRICTION

#define ACPI_RESTAG_IORESTRICTION   "_IOR"

Definition at line 75 of file amlresrc.h.

◆ ACPI_RESTAG_LENGTH

#define ACPI_RESTAG_LENGTH   "_LEN"

Definition at line 76 of file amlresrc.h.

◆ ACPI_RESTAG_LENGTH_RX

#define ACPI_RESTAG_LENGTH_RX   "_RXL"

Definition at line 98 of file amlresrc.h.

◆ ACPI_RESTAG_LENGTH_TX

#define ACPI_RESTAG_LENGTH_TX   "_TXL"

Definition at line 99 of file amlresrc.h.

◆ ACPI_RESTAG_LINE

#define ACPI_RESTAG_LINE   "_LIN"

Definition at line 77 of file amlresrc.h.

◆ ACPI_RESTAG_LOCALPORT

#define ACPI_RESTAG_LOCALPORT   "_PRT"

Definition at line 78 of file amlresrc.h.

◆ ACPI_RESTAG_MAXADDR

#define ACPI_RESTAG_MAXADDR   "_MAX"

Definition at line 81 of file amlresrc.h.

◆ ACPI_RESTAG_MAXTYPE

#define ACPI_RESTAG_MAXTYPE   "_MAF"

Definition at line 83 of file amlresrc.h.

◆ ACPI_RESTAG_MEMATTRIBUTES

#define ACPI_RESTAG_MEMATTRIBUTES   "_MTP" /* Memory(0), Reserved(1), ACPI(2), NVS(3) */

Definition at line 79 of file amlresrc.h.

◆ ACPI_RESTAG_MEMTYPE

#define ACPI_RESTAG_MEMTYPE   "_MEM" /* NonCache(0), Cacheable(1) Cache+combine(2), Cache+prefetch(3) */

Definition at line 80 of file amlresrc.h.

◆ ACPI_RESTAG_MINADDR

#define ACPI_RESTAG_MINADDR   "_MIN"

Definition at line 82 of file amlresrc.h.

◆ ACPI_RESTAG_MINTYPE

#define ACPI_RESTAG_MINTYPE   "_MIF"

Definition at line 84 of file amlresrc.h.

◆ ACPI_RESTAG_MODE

#define ACPI_RESTAG_MODE   "_MOD"

Definition at line 85 of file amlresrc.h.

◆ ACPI_RESTAG_PARITY

#define ACPI_RESTAG_PARITY   "_PAR"

Definition at line 86 of file amlresrc.h.

◆ ACPI_RESTAG_PHASE

#define ACPI_RESTAG_PHASE   "_PHA"

Definition at line 87 of file amlresrc.h.

◆ ACPI_RESTAG_PHYTYPE

#define ACPI_RESTAG_PHYTYPE   "_PHY"

Definition at line 88 of file amlresrc.h.

◆ ACPI_RESTAG_PIN

#define ACPI_RESTAG_PIN   "_PIN"

Definition at line 89 of file amlresrc.h.

◆ ACPI_RESTAG_PINCONFIG

#define ACPI_RESTAG_PINCONFIG   "_PPI"

Definition at line 90 of file amlresrc.h.

◆ ACPI_RESTAG_PINCONFIG_TYPE

#define ACPI_RESTAG_PINCONFIG_TYPE   "_TYP"

Definition at line 91 of file amlresrc.h.

◆ ACPI_RESTAG_PINCONFIG_VALUE

#define ACPI_RESTAG_PINCONFIG_VALUE   "_VAL"

Definition at line 92 of file amlresrc.h.

◆ ACPI_RESTAG_POLARITY

#define ACPI_RESTAG_POLARITY   "_POL"

Definition at line 93 of file amlresrc.h.

◆ ACPI_RESTAG_RANGETYPE

#define ACPI_RESTAG_RANGETYPE   "_RNG"

Definition at line 96 of file amlresrc.h.

◆ ACPI_RESTAG_READWRITETYPE

#define ACPI_RESTAG_READWRITETYPE   "_RW_" /* ReadOnly(0), Writeable (1) */

Definition at line 97 of file amlresrc.h.

◆ ACPI_RESTAG_REGISTERBITOFFSET

#define ACPI_RESTAG_REGISTERBITOFFSET   "_RBO"

Definition at line 94 of file amlresrc.h.

◆ ACPI_RESTAG_REGISTERBITWIDTH

#define ACPI_RESTAG_REGISTERBITWIDTH   "_RBW"

Definition at line 95 of file amlresrc.h.

◆ ACPI_RESTAG_SLAVEMODE

#define ACPI_RESTAG_SLAVEMODE   "_SLV"

Definition at line 100 of file amlresrc.h.

◆ ACPI_RESTAG_SPEED

#define ACPI_RESTAG_SPEED   "_SPE"

Definition at line 101 of file amlresrc.h.

◆ ACPI_RESTAG_STOPBITS

#define ACPI_RESTAG_STOPBITS   "_STB"

Definition at line 102 of file amlresrc.h.

◆ ACPI_RESTAG_TRANSLATION

#define ACPI_RESTAG_TRANSLATION   "_TRA"

Definition at line 103 of file amlresrc.h.

◆ ACPI_RESTAG_TRANSTYPE

#define ACPI_RESTAG_TRANSTYPE   "_TRS" /* Sparse(1), Dense(0) */

Definition at line 104 of file amlresrc.h.

◆ ACPI_RESTAG_TYPE

#define ACPI_RESTAG_TYPE   "_TTP" /* Translation(1), Static (0) */

Definition at line 105 of file amlresrc.h.

◆ ACPI_RESTAG_TYPESPECIFICATTRIBUTES

#define ACPI_RESTAG_TYPESPECIFICATTRIBUTES   "_ATT"

Definition at line 58 of file amlresrc.h.

◆ ACPI_RESTAG_VENDORDATA

#define ACPI_RESTAG_VENDORDATA   "_VEN"

Definition at line 107 of file amlresrc.h.

◆ ACPI_RESTAG_XFERTYPE

#define ACPI_RESTAG_XFERTYPE   "_SIZ" /* 8(0), 8And16(1), 16(2) */

Definition at line 106 of file amlresrc.h.

◆ AML_RESOURCE_ADDRESS_COMMON

#define AML_RESOURCE_ADDRESS_COMMON
Value:
UINT8 ResourceType; \
UINT8 SpecificFlags;
unsigned char UINT8
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170

Definition at line 320 of file amlresrc.h.

◆ AML_RESOURCE_CSI2_MIN_DATA_LEN

#define AML_RESOURCE_CSI2_MIN_DATA_LEN   0 /* ACPI 6.4 */

Definition at line 492 of file amlresrc.h.

◆ AML_RESOURCE_CSI2_REVISION

#define AML_RESOURCE_CSI2_REVISION   1 /* ACPI 6.4 */

Definition at line 490 of file amlresrc.h.

◆ AML_RESOURCE_CSI2_SERIALBUSTYPE

#define AML_RESOURCE_CSI2_SERIALBUSTYPE   4

Definition at line 465 of file amlresrc.h.

◆ AML_RESOURCE_CSI2_TYPE_REVISION

#define AML_RESOURCE_CSI2_TYPE_REVISION   1 /* ACPI 6.4 */

Definition at line 491 of file amlresrc.h.

◆ AML_RESOURCE_EXTENDED_ADDRESS_REVISION

#define AML_RESOURCE_EXTENDED_ADDRESS_REVISION   1 /* ACPI 3.0 */

Definition at line 349 of file amlresrc.h.

◆ AML_RESOURCE_GPIO_REVISION

#define AML_RESOURCE_GPIO_REVISION   1 /* ACPI 5.0 */

Definition at line 440 of file amlresrc.h.

◆ AML_RESOURCE_GPIO_TYPE_INT

#define AML_RESOURCE_GPIO_TYPE_INT   0

Definition at line 444 of file amlresrc.h.

◆ AML_RESOURCE_GPIO_TYPE_IO

#define AML_RESOURCE_GPIO_TYPE_IO   1

Definition at line 445 of file amlresrc.h.

◆ AML_RESOURCE_I2C_MIN_DATA_LEN

#define AML_RESOURCE_I2C_MIN_DATA_LEN   6

Definition at line 510 of file amlresrc.h.

◆ AML_RESOURCE_I2C_REVISION

#define AML_RESOURCE_I2C_REVISION   1 /* ACPI 5.0 */

Definition at line 508 of file amlresrc.h.

◆ AML_RESOURCE_I2C_SERIALBUSTYPE

#define AML_RESOURCE_I2C_SERIALBUSTYPE   1

Definition at line 462 of file amlresrc.h.

◆ AML_RESOURCE_I2C_TYPE_REVISION

#define AML_RESOURCE_I2C_TYPE_REVISION   1 /* ACPI 5.0 */

Definition at line 509 of file amlresrc.h.

◆ AML_RESOURCE_LARGE_HEADER_COMMON

#define AML_RESOURCE_LARGE_HEADER_COMMON
Value:
UINT16 ResourceLength;
unsigned short UINT16
_In_ ULONG _In_ PVOID _In_ LONG DescriptorType
Definition: usbdlib.h:160

Definition at line 262 of file amlresrc.h.

◆ AML_RESOURCE_MAX_GPIOTYPE

#define AML_RESOURCE_MAX_GPIOTYPE   1

Definition at line 446 of file amlresrc.h.

◆ AML_RESOURCE_MAX_SERIALBUSTYPE

#define AML_RESOURCE_MAX_SERIALBUSTYPE   4

Definition at line 466 of file amlresrc.h.

◆ AML_RESOURCE_PIN_CONFIG_REVISION

#define AML_RESOURCE_PIN_CONFIG_REVISION   1 /* ACPI 6.2 */

Definition at line 598 of file amlresrc.h.

◆ AML_RESOURCE_PIN_FUNCTION_REVISION

#define AML_RESOURCE_PIN_FUNCTION_REVISION   1 /* ACPI 6.2 */

Definition at line 575 of file amlresrc.h.

◆ AML_RESOURCE_PIN_GROUP_CONFIG_REVISION

#define AML_RESOURCE_PIN_GROUP_CONFIG_REVISION   1 /* ACPI 6.2 */

Definition at line 663 of file amlresrc.h.

◆ AML_RESOURCE_PIN_GROUP_FUNCTION_REVISION

#define AML_RESOURCE_PIN_GROUP_FUNCTION_REVISION   1 /* ACPI 6.2 */

Definition at line 640 of file amlresrc.h.

◆ AML_RESOURCE_PIN_GROUP_REVISION

#define AML_RESOURCE_PIN_GROUP_REVISION   1 /* ACPI 6.2 */

Definition at line 618 of file amlresrc.h.

◆ AML_RESOURCE_SERIAL_COMMON

#define AML_RESOURCE_SERIAL_COMMON
Value:
UINT8 RevisionId; \
UINT8 ResSourceIndex; \
UINT16 TypeSpecificFlags; \
UINT8 TypeRevisionId; \
UINT16 TypeDataLength; \
Type
Definition: Type.h:7

Definition at line 451 of file amlresrc.h.

◆ AML_RESOURCE_SMALL_HEADER_COMMON

#define AML_RESOURCE_SMALL_HEADER_COMMON    UINT8 DescriptorType;

Definition at line 155 of file amlresrc.h.

◆ AML_RESOURCE_SPI_MIN_DATA_LEN

#define AML_RESOURCE_SPI_MIN_DATA_LEN   9

Definition at line 531 of file amlresrc.h.

◆ AML_RESOURCE_SPI_REVISION

#define AML_RESOURCE_SPI_REVISION   1 /* ACPI 5.0 */

Definition at line 529 of file amlresrc.h.

◆ AML_RESOURCE_SPI_SERIALBUSTYPE

#define AML_RESOURCE_SPI_SERIALBUSTYPE   2

Definition at line 463 of file amlresrc.h.

◆ AML_RESOURCE_SPI_TYPE_REVISION

#define AML_RESOURCE_SPI_TYPE_REVISION   1 /* ACPI 5.0 */

Definition at line 530 of file amlresrc.h.

◆ AML_RESOURCE_UART_MIN_DATA_LEN

#define AML_RESOURCE_UART_MIN_DATA_LEN   10

Definition at line 552 of file amlresrc.h.

◆ AML_RESOURCE_UART_REVISION

#define AML_RESOURCE_UART_REVISION   1 /* ACPI 5.0 */

Definition at line 550 of file amlresrc.h.

◆ AML_RESOURCE_UART_SERIALBUSTYPE

#define AML_RESOURCE_UART_SERIALBUSTYPE   3

Definition at line 464 of file amlresrc.h.

◆ AML_RESOURCE_UART_TYPE_REVISION

#define AML_RESOURCE_UART_TYPE_REVISION   1 /* ACPI 5.0 */

Definition at line 551 of file amlresrc.h.

◆ AML_RESOURCE_VENDOR_SERIALBUSTYPE

#define AML_RESOURCE_VENDOR_SERIALBUSTYPE   192 /* Vendor defined is 0xC0-0xFF (NOT SUPPORTED) */

Definition at line 467 of file amlresrc.h.

◆ ASL_RDESC_DMA_SIZE

#define ASL_RDESC_DMA_SIZE   0x02

Definition at line 113 of file amlresrc.h.

◆ ASL_RDESC_END_DEPEND_SIZE

#define ASL_RDESC_END_DEPEND_SIZE   0x00

Definition at line 115 of file amlresrc.h.

◆ ASL_RDESC_END_TAG_SIZE

#define ASL_RDESC_END_TAG_SIZE   0x01

Definition at line 119 of file amlresrc.h.

◆ ASL_RDESC_FIXED_DMA_SIZE

#define ASL_RDESC_FIXED_DMA_SIZE   0x05

Definition at line 118 of file amlresrc.h.

◆ ASL_RDESC_FIXED_IO_SIZE

#define ASL_RDESC_FIXED_IO_SIZE   0x03

Definition at line 117 of file amlresrc.h.

◆ ASL_RDESC_IO_SIZE

#define ASL_RDESC_IO_SIZE   0x07

Definition at line 116 of file amlresrc.h.

◆ ASL_RDESC_IRQ_SIZE

#define ASL_RDESC_IRQ_SIZE   0x02

Definition at line 112 of file amlresrc.h.

◆ ASL_RDESC_ST_DEPEND_SIZE

#define ASL_RDESC_ST_DEPEND_SIZE   0x00

Definition at line 114 of file amlresrc.h.

Typedef Documentation

◆ AML_RESOURCE

typedef union aml_resource AML_RESOURCE

◆ AML_RESOURCE_ADDRESS

◆ AML_RESOURCE_ADDRESS16

◆ AML_RESOURCE_ADDRESS32

◆ AML_RESOURCE_ADDRESS64

◆ AML_RESOURCE_COMMON_SERIALBUS

◆ AML_RESOURCE_CSI2_SERIALBUS

◆ AML_RESOURCE_DMA

◆ AML_RESOURCE_END_DEPENDENT

◆ AML_RESOURCE_END_TAG

◆ AML_RESOURCE_EXTENDED_ADDRESS64

◆ AML_RESOURCE_EXTENDED_IRQ

◆ AML_RESOURCE_FIXED_DMA

◆ AML_RESOURCE_FIXED_IO

◆ AML_RESOURCE_FIXED_MEMORY32

◆ AML_RESOURCE_GENERIC_REGISTER

◆ AML_RESOURCE_GPIO

◆ AML_RESOURCE_I2C_SERIALBUS

◆ AML_RESOURCE_IO

◆ AML_RESOURCE_IRQ

◆ AML_RESOURCE_IRQ_NOFLAGS

◆ AML_RESOURCE_LARGE_HEADER

◆ AML_RESOURCE_MEMORY24

◆ AML_RESOURCE_MEMORY32

◆ AML_RESOURCE_PIN_CONFIG

◆ AML_RESOURCE_PIN_FUNCTION

◆ AML_RESOURCE_PIN_GROUP

◆ AML_RESOURCE_PIN_GROUP_CONFIG

◆ AML_RESOURCE_PIN_GROUP_FUNCTION

◆ AML_RESOURCE_SMALL_HEADER

◆ AML_RESOURCE_SPI_SERIALBUS

◆ AML_RESOURCE_START_DEPENDENT

◆ AML_RESOURCE_START_DEPENDENT_NOPRIO

◆ AML_RESOURCE_UART_SERIALBUS

◆ AML_RESOURCE_VENDOR_LARGE

◆ AML_RESOURCE_VENDOR_SMALL

◆ ASL_RESOURCE_INFO

◆ ASL_RESOURCE_NODE

Function Documentation

◆ MpGetConnectionInfo()

char * MpGetConnectionInfo ( ACPI_PARSE_OBJECT Op,
UINT32  PinIndex,
ACPI_NAMESPACE_NODE **  TargetNode,
char **  TargetName 
)

◆ MpGetDdnValue()

char * MpGetDdnValue ( char DeviceName)

◆ MpGetHidFromParseTree()

char * MpGetHidFromParseTree ( ACPI_NAMESPACE_NODE HidNode)

◆ MpGetHidValue()

char * MpGetHidValue ( ACPI_NAMESPACE_NODE DeviceNode)

◆ MpGetHidViaNamestring()

char * MpGetHidViaNamestring ( char DeviceName)

◆ MpGetParentDeviceHid()

char * MpGetParentDeviceHid ( ACPI_PARSE_OBJECT Op,
ACPI_NAMESPACE_NODE **  TargetNode,
char **  ParentDeviceName 
)

◆ MpSaveGpioInfo()

void MpSaveGpioInfo ( ACPI_PARSE_OBJECT Op,
AML_RESOURCE Resource,
UINT32  PinCount,
UINT16 PinList,
char DeviceName 
)

◆ MpSaveSerialInfo()

void MpSaveSerialInfo ( ACPI_PARSE_OBJECT Op,
AML_RESOURCE Resource,
char DeviceName 
)