Skip to content

Commit 6814a52

Browse files
fabwurafaeljw
authored andcommitted
ACPICA: Add _PLD panel positions
ACPICA commit 1d36b551fa6749e650da1dfd3e809146e6ac6a2e The ACPI specification v6.3 defines the panel positions in chapter 6.1.8 "_PLD (Physical Location of Device)" Link: acpica/acpica@1d36b551 Signed-off-by: Fabian Wüthrich <[email protected]> Reviewed-by: Daniel Scally <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Erik Kaneda <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent b5e7740 commit 6814a52

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

include/acpi/acbuffer.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,14 @@ struct acpi_pld_info {
207207
#define ACPI_PLD_GET_HORIZ_OFFSET(dword) ACPI_GET_BITS (dword, 16, ACPI_16BIT_MASK)
208208
#define ACPI_PLD_SET_HORIZ_OFFSET(dword,value) ACPI_SET_BITS (dword, 16, ACPI_16BIT_MASK, value) /* Offset 128+16=144, Len 16 */
209209

210+
/* Panel position defined in _PLD section of ACPI Specification 6.3 */
211+
212+
#define ACPI_PLD_PANEL_TOP 0
213+
#define ACPI_PLD_PANEL_BOTTOM 1
214+
#define ACPI_PLD_PANEL_LEFT 2
215+
#define ACPI_PLD_PANEL_RIGHT 3
216+
#define ACPI_PLD_PANEL_FRONT 4
217+
#define ACPI_PLD_PANEL_BACK 5
218+
#define ACPI_PLD_PANEL_UNKNOWN 6
219+
210220
#endif /* ACBUFFER_H */

0 commit comments

Comments
 (0)