Sven Schnelle | d8129f9 | 2011-04-20 09:12:17 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (c) 2011 Sven Schnelle <svens@stackframe.org> |
| 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. |
Sven Schnelle | d8129f9 | 2011-04-20 09:12:17 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
Sven Schnelle | 61cd5bf | 2011-06-23 19:12:25 +0200 | [diff] [blame] | 17 | #include "smi.h" |
| 18 | |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 19 | Scope (\) |
Sven Schnelle | d8129f9 | 2011-04-20 09:12:17 +0000 | [diff] [blame] | 20 | { |
Sven Schnelle | d8129f9 | 2011-04-20 09:12:17 +0000 | [diff] [blame] | 21 | Method(BRTD, 0, NotSerialized) |
| 22 | { |
Sven Schnelle | 61cd5bf | 2011-06-23 19:12:25 +0200 | [diff] [blame] | 23 | Trap(SMI_BRIGHTNESS_DOWN) |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 24 | \_SB.PCI0.GFX0.DECB() |
Sven Schnelle | d8129f9 | 2011-04-20 09:12:17 +0000 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | Method(BRTU, 0, NotSerialized) |
| 28 | { |
Sven Schnelle | 61cd5bf | 2011-06-23 19:12:25 +0200 | [diff] [blame] | 29 | Trap(SMI_BRIGHTNESS_UP) |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 30 | \_SB.PCI0.GFX0.INCB() |
Sven Schnelle | d8129f9 | 2011-04-20 09:12:17 +0000 | [diff] [blame] | 31 | } |
| 32 | } |