162#define ACPI_RESTAG_ADDRESS "_ADR"
163#define ACPI_RESTAG_ALIGNMENT "_ALN"
164#define ACPI_RESTAG_ADDRESSSPACE "_ASI"
165#define ACPI_RESTAG_ACCESSSIZE "_ASZ"
166#define ACPI_RESTAG_TYPESPECIFICATTRIBUTES "_ATT"
167#define ACPI_RESTAG_BASEADDRESS "_BAS"
168#define ACPI_RESTAG_BUSMASTER "_BM_"
169#define ACPI_RESTAG_DEBOUNCETIME "_DBT"
170#define ACPI_RESTAG_DECODE "_DEC"
171#define ACPI_RESTAG_DEVICEPOLARITY "_DPL"
172#define ACPI_RESTAG_DMA "_DMA"
173#define ACPI_RESTAG_DMATYPE "_TYP"
174#define ACPI_RESTAG_DRIVESTRENGTH "_DRS"
175#define ACPI_RESTAG_ENDIANNESS "_END"
176#define ACPI_RESTAG_FLOWCONTROL "_FLC"
177#define ACPI_RESTAG_FUNCTION "_FUN"
178#define ACPI_RESTAG_GRANULARITY "_GRA"
179#define ACPI_RESTAG_INTERRUPT "_INT"
180#define ACPI_RESTAG_INTERRUPTLEVEL "_LL_"
181#define ACPI_RESTAG_INTERRUPTSHARE "_SHR"
182#define ACPI_RESTAG_INTERRUPTTYPE "_HE_"
183#define ACPI_RESTAG_IORESTRICTION "_IOR"
184#define ACPI_RESTAG_LENGTH "_LEN"
185#define ACPI_RESTAG_LINE "_LIN"
186#define ACPI_RESTAG_LOCALPORT "_PRT"
187#define ACPI_RESTAG_MEMATTRIBUTES "_MTP"
188#define ACPI_RESTAG_MEMTYPE "_MEM"
189#define ACPI_RESTAG_MAXADDR "_MAX"
190#define ACPI_RESTAG_MINADDR "_MIN"
191#define ACPI_RESTAG_MAXTYPE "_MAF"
192#define ACPI_RESTAG_MINTYPE "_MIF"
193#define ACPI_RESTAG_MODE "_MOD"
194#define ACPI_RESTAG_PARITY "_PAR"
195#define ACPI_RESTAG_PHASE "_PHA"
196#define ACPI_RESTAG_PHYTYPE "_PHY"
197#define ACPI_RESTAG_PIN "_PIN"
198#define ACPI_RESTAG_PINCONFIG "_PPI"
199#define ACPI_RESTAG_PINCONFIG_TYPE "_TYP"
200#define ACPI_RESTAG_PINCONFIG_VALUE "_VAL"
201#define ACPI_RESTAG_POLARITY "_POL"
202#define ACPI_RESTAG_REGISTERBITOFFSET "_RBO"
203#define ACPI_RESTAG_REGISTERBITWIDTH "_RBW"
204#define ACPI_RESTAG_RANGETYPE "_RNG"
205#define ACPI_RESTAG_READWRITETYPE "_RW_"
206#define ACPI_RESTAG_LENGTH_RX "_RXL"
207#define ACPI_RESTAG_LENGTH_TX "_TXL"
208#define ACPI_RESTAG_SLAVEMODE "_SLV"
209#define ACPI_RESTAG_SPEED "_SPE"
210#define ACPI_RESTAG_STOPBITS "_STB"
211#define ACPI_RESTAG_TRANSLATION "_TRA"
212#define ACPI_RESTAG_TRANSTYPE "_TRS"
213#define ACPI_RESTAG_TYPE "_TTP"
214#define ACPI_RESTAG_XFERTYPE "_SIZ"
215#define ACPI_RESTAG_VENDORDATA "_VEN"
216#define ACPI_RESTAG_FQN "_FQN"
217#define ACPI_RESTAG_FQD "_FQD"
222#define ASL_RDESC_IRQ_SIZE 0x02
223#define ASL_RDESC_DMA_SIZE 0x02
224#define ASL_RDESC_ST_DEPEND_SIZE 0x00
225#define ASL_RDESC_END_DEPEND_SIZE 0x00
226#define ASL_RDESC_IO_SIZE 0x07
227#define ASL_RDESC_FIXED_IO_SIZE 0x03
228#define ASL_RDESC_FIXED_DMA_SIZE 0x05
229#define ASL_RDESC_END_TAG_SIZE 0x01
244 UINT32 CurrentByteOffset;
251#define ACPI_AML_SIZE_LARGE(r) (sizeof (r) - sizeof (AML_RESOURCE_LARGE_HEADER))
252#define ACPI_AML_SIZE_SMALL(r) (sizeof (r) - sizeof (AML_RESOURCE_SMALL_HEADER))
265#define AML_RESOURCE_SMALL_HEADER_COMMON \
266 UINT8 DescriptorType;
270 AML_RESOURCE_SMALL_HEADER_COMMON
277 AML_RESOURCE_SMALL_HEADER_COMMON
286 AML_RESOURCE_SMALL_HEADER_COMMON
294 AML_RESOURCE_SMALL_HEADER_COMMON
295 UINT8 DmaChannelMask;
303 AML_RESOURCE_SMALL_HEADER_COMMON
311 AML_RESOURCE_SMALL_HEADER_COMMON
318 AML_RESOURCE_SMALL_HEADER_COMMON
325 AML_RESOURCE_SMALL_HEADER_COMMON
337 AML_RESOURCE_SMALL_HEADER_COMMON
346 AML_RESOURCE_SMALL_HEADER_COMMON
353 AML_RESOURCE_SMALL_HEADER_COMMON
361 AML_RESOURCE_SMALL_HEADER_COMMON
372#define AML_RESOURCE_LARGE_HEADER_COMMON \
373 UINT8 DescriptorType;\
374 UINT16 ResourceLength;
378 AML_RESOURCE_LARGE_HEADER_COMMON
385#define ACPI_RESOURCE_FLAG_DEC 2
386#define ACPI_RESOURCE_FLAG_MIF 4
387#define ACPI_RESOURCE_FLAG_MAF 8
391 AML_RESOURCE_LARGE_HEADER_COMMON
396 UINT16 AddressLength;
403 AML_RESOURCE_LARGE_HEADER_COMMON
410 AML_RESOURCE_LARGE_HEADER_COMMON
415 UINT32 AddressLength;
422 AML_RESOURCE_LARGE_HEADER_COMMON
425 UINT32 AddressLength;
430#define AML_RESOURCE_ADDRESS_COMMON \
431 UINT8 ResourceType; \
438 AML_RESOURCE_LARGE_HEADER_COMMON
439 AML_RESOURCE_ADDRESS_COMMON
446 AML_RESOURCE_LARGE_HEADER_COMMON
447 AML_RESOURCE_ADDRESS_COMMON
453 UINT64 TranslationOffset;
454 UINT64 AddressLength;
459#define AML_RESOURCE_EXTENDED_ADDRESS_REVISION 1
464 AML_RESOURCE_LARGE_HEADER_COMMON
465 AML_RESOURCE_ADDRESS_COMMON
469 UINT64 TranslationOffset;
470 UINT64 AddressLength;
477 AML_RESOURCE_LARGE_HEADER_COMMON
478 AML_RESOURCE_ADDRESS_COMMON
482 UINT32 TranslationOffset;
483 UINT32 AddressLength;
490 AML_RESOURCE_LARGE_HEADER_COMMON
491 AML_RESOURCE_ADDRESS_COMMON
495 UINT16 TranslationOffset;
496 UINT16 AddressLength;
503 AML_RESOURCE_LARGE_HEADER_COMMON
505 UINT8 InterruptCount;
508 ACPI_FLEX_ARRAY(UINT32, Interrupts);
517 AML_RESOURCE_LARGE_HEADER_COMMON
518 UINT8 AddressSpaceId;
531 AML_RESOURCE_LARGE_HEADER_COMMON
533 UINT8 ConnectionType;
537 UINT16 DriveStrength;
538 UINT16 DebounceTimeout;
539 UINT16 PinTableOffset;
540 UINT8 ResSourceIndex;
541 UINT16 ResSourceOffset;
553#define AML_RESOURCE_GPIO_REVISION 1
557#define AML_RESOURCE_GPIO_TYPE_INT 0
558#define AML_RESOURCE_GPIO_TYPE_IO 1
559#define AML_RESOURCE_MAX_GPIOTYPE 1
564#define AML_RESOURCE_SERIAL_COMMON \
566 UINT8 ResSourceIndex; \
569 UINT16 TypeSpecificFlags; \
570 UINT8 TypeRevisionId; \
571 UINT16 TypeDataLength; \
575#define AML_RESOURCE_I2C_SERIALBUSTYPE 1
576#define AML_RESOURCE_SPI_SERIALBUSTYPE 2
577#define AML_RESOURCE_UART_SERIALBUSTYPE 3
578#define AML_RESOURCE_CSI2_SERIALBUSTYPE 4
579#define AML_RESOURCE_MAX_SERIALBUSTYPE 4
580#define AML_RESOURCE_VENDOR_SERIALBUSTYPE 192
584 AML_RESOURCE_LARGE_HEADER_COMMON
585 AML_RESOURCE_SERIAL_COMMON
592 AML_RESOURCE_LARGE_HEADER_COMMON
593 AML_RESOURCE_SERIAL_COMMON
603#define AML_RESOURCE_CSI2_REVISION 1
604#define AML_RESOURCE_CSI2_TYPE_REVISION 1
605#define AML_RESOURCE_CSI2_MIN_DATA_LEN 0
609 AML_RESOURCE_LARGE_HEADER_COMMON
610 AML_RESOURCE_SERIAL_COMMON
611 UINT32 ConnectionSpeed;
621#define AML_RESOURCE_I2C_REVISION 1
622#define AML_RESOURCE_I2C_TYPE_REVISION 1
623#define AML_RESOURCE_I2C_MIN_DATA_LEN 6
627 AML_RESOURCE_LARGE_HEADER_COMMON
628 AML_RESOURCE_SERIAL_COMMON
629 UINT32 ConnectionSpeed;
633 UINT16 DeviceSelection;
642#define AML_RESOURCE_SPI_REVISION 1
643#define AML_RESOURCE_SPI_TYPE_REVISION 1
644#define AML_RESOURCE_SPI_MIN_DATA_LEN 9
648 AML_RESOURCE_LARGE_HEADER_COMMON
649 AML_RESOURCE_SERIAL_COMMON
650 UINT32 DefaultBaudRate;
663#define AML_RESOURCE_UART_REVISION 1
664#define AML_RESOURCE_UART_TYPE_REVISION 1
665#define AML_RESOURCE_UART_MIN_DATA_LEN 10
669 AML_RESOURCE_LARGE_HEADER_COMMON
673 UINT16 FunctionNumber;
674 UINT16 PinTableOffset;
675 UINT8 ResSourceIndex;
676 UINT16 ResSourceOffset;
688#define AML_RESOURCE_PIN_FUNCTION_REVISION 1
692 AML_RESOURCE_LARGE_HEADER_COMMON
696 UINT32 PinConfigValue;
697 UINT16 PinTableOffset;
698 UINT8 ResSourceIndex;
699 UINT16 ResSourceOffset;
711#define AML_RESOURCE_CLOCK_INPUT_REVISION 1
715 AML_RESOURCE_LARGE_HEADER_COMMON
718 UINT16 FrequencyDivisor;
719 UINT32 FrequencyNumerator;
728#define AML_RESOURCE_PIN_CONFIG_REVISION 1
732 AML_RESOURCE_LARGE_HEADER_COMMON
735 UINT16 PinTableOffset;
748#define AML_RESOURCE_PIN_GROUP_REVISION 1
752 AML_RESOURCE_LARGE_HEADER_COMMON
755 UINT16 FunctionNumber;
756 UINT8 ResSourceIndex;
757 UINT16 ResSourceOffset;
758 UINT16 ResSourceLabelOffset;
770#define AML_RESOURCE_PIN_GROUP_FUNCTION_REVISION 1
774 AML_RESOURCE_LARGE_HEADER_COMMON
778 UINT32 PinConfigValue;
779 UINT8 ResSourceIndex;
780 UINT16 ResSourceOffset;
781 UINT16 ResSourceLabelOffset;
793#define AML_RESOURCE_PIN_GROUP_CONFIG_REVISION 1
805 UINT8 DescriptorType;
873MpGetHidFromParseTree (
877MpGetHidViaNamestring (
888MpGetParentDeviceHid (
891 char **ParentDeviceName);
Definition: aclocal.h:294
Definition: amlresrc.h:489
Definition: amlresrc.h:476
Definition: amlresrc.h:463
Definition: amlresrc.h:437
Definition: amlresrc.h:583
Definition: amlresrc.h:591
Definition: amlresrc.h:293
Definition: amlresrc.h:317
Definition: amlresrc.h:352
Definition: amlresrc.h:445
Definition: amlresrc.h:502
Definition: amlresrc.h:360
Definition: amlresrc.h:336
Definition: amlresrc.h:421
Definition: amlresrc.h:516
Definition: amlresrc.h:530
Definition: amlresrc.h:608
Definition: amlresrc.h:324
Definition: amlresrc.h:285
Definition: amlresrc.h:276
Definition: amlresrc.h:390
Definition: amlresrc.h:409
Definition: amlresrc.h:691
Definition: amlresrc.h:668
Definition: amlresrc.h:773
Definition: amlresrc.h:751
Definition: amlresrc.h:731
Definition: amlresrc.h:626
Definition: amlresrc.h:310
Definition: amlresrc.h:302
Definition: amlresrc.h:647
Definition: amlresrc.h:402
Definition: amlresrc.h:345
Definition: amlresrc.h:241
Definition: amlresrc.h:233
Definition: aclocal.h:1194
Definition: amlresrc.h:802