2 * This file is part of the coreboot project.
4 * Copyright (c) 2011 Sven Schnelle <svens@stackframe.org>
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
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.
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,
26 Name (_ADR, 0x00020001)
27 OperationRegion (DSPC, PCI_Config, 0x00, 0x100)
28 Field (DSPC, ByteAcc, NoLock, Preserve)
34 Method(BRTD, 0, NotSerialized)
37 if (LGreater (Local0, 15))
39 Subtract(Local0, 16, Local0)
45 Method(BRTU, 0, NotSerialized)
48 if (LLess(Local0, 0xff))
50 Add (Local0, 16, Local0)