blob: 3140215904ee372ebe677d776577594b93195469 [file] [log] [blame]
Steve Goodrichbf0988b2013-07-10 11:59:11 -06001/*
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 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
19 * MA 02110-1301 USA
20 */
21
Mike Loptienac90d802013-07-17 15:14:59 -060022Device(AZHD) { /* 0:14.2 - HD Audio */
Steve Goodrichbf0988b2013-07-10 11:59:11 -060023 Name(_ADR, 0x00140002)
24 OperationRegion(AZPD, PCI_Config, 0x00, 0x100)
25 Field(AZPD, AnyAcc, NoLock, Preserve) {
26 offset (0x42),
27 NSDI, 1,
28 NSDO, 1,
29 NSEN, 1,
30 offset (0x44),
31 IPCR, 4,
32 offset (0x54),
33 PWST, 2,
34 , 6,
35 PMEB, 1,
36 , 6,
37 PMST, 1,
38 offset (0x62),
39 MMCR, 1,
40 offset (0x64),
41 MMLA, 32,
42 offset (0x68),
43 MMHA, 32,
44 offset (0x6C),
45 MMDT, 16,
46 }
Mike Loptienac90d802013-07-17 15:14:59 -060047
Steve Goodrichbf0988b2013-07-10 11:59:11 -060048 Method (_INI, 0, NotSerialized)
49 {
50 If (LEqual (OSTP, 0x03))
51 {
52 Store (Zero, NSEN)
53 Store (One, NSDO)
54 Store (One, NSDI)
55 }
56 }
57} /* end AZHD */