tree: drop last paragraph of GPL copyright header
[coreboot.git] / src / southbridge / amd / pi / hudson / acpi / audio.asl
blobe35ae8551058356217c1a413d6b1efb6097a97b9
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2007-2009 coresystems GmbH
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; version 2 of
9  * the License.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  */
17 Device(AZHD) {  /* 0:14.2 - HD Audio */
18         Name(_ADR, 0x00140002)
19         OperationRegion(AZPD, PCI_Config, 0x00, 0x100)
20                 Field(AZPD, AnyAcc, NoLock, Preserve) {
21                 offset (0x42),
22                 NSDI, 1,
23                 NSDO, 1,
24                 NSEN, 1,
25                 offset (0x44),
26                 IPCR, 4,
27                 offset (0x54),
28                 PWST, 2,
29                 , 6,
30                 PMEB, 1,
31                 , 6,
32                 PMST, 1,
33                 offset (0x62),
34                 MMCR, 1,
35                 offset (0x64),
36                 MMLA, 32,
37                 offset (0x68),
38                 MMHA, 32,
39                 offset (0x6C),
40                 MMDT, 16,
41         }
43         Method (_INI, 0, NotSerialized)
44         {
45                 If (LEqual (OSVR, 0x03))
46                 {
47                         Store (Zero, NSEN)
48                         Store (One, NSDO)
49                         Store (One, NSDI)
50                 }
51         }
52 } /* end AZHD */