audk/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/PchAudio.asl

43 lines
1.8 KiB
Plaintext
Raw Normal View History

/**************************************************************************;
;* *;
;* *;
;* Intel Corporation - ACPI Reference Code for the Baytrail *;
;* Family of Customer Reference Boards. *;
;* *;
;* *;
;* Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved *;
;
; This program and the accompanying materials are licensed and made available under
; the terms and conditions of the BSD License that accompanies this distribution.
; The full text of the license may be found at
; http://opensource.org/licenses/bsd-license.php.
;
; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
;
;* *;
;* *;
;**************************************************************************/
//
// High Definition Audio - Device 27, Function 0
//
OperationRegion(HDAR, PCI_Config, 0x4C,0x10)
Field(HDAR,WordAcc,NoLock,Preserve)
{
Offset(0x00), // 0x4C, Dock Control Register
DCKA, 1, // Dock Attach
, 7,
Offset(0x01), // 04Dh, Dock Status Register
DCKM, 1, // Dock Mated
, 6,
DCKS, 1, // Docking Supported
Offset(0x08), // 0x54, Power Management Control and Status Register
, 8,
PMEE, 1, // PME_EN
, 6,
PMES, 1 // PME Status
}