src/soc/intel/common/acpi/pci_osc.asl
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #define PCI_OSC_UUID "33DB4D5B-1FF7-401C-9657-7441C03DD766" |
| 4 | |
| 5 | Scope (\_SB.PCI0) { |
| 6 | Method (_OSC, 4) { |
| 7 | /* Check for proper GUID */ |
| 8 | If (Arg0 == ToUUID (PCI_OSC_UUID)) { |
| 9 | /* Let OS control everything */ |
| 10 | Return (Arg3) |
| 11 | } Else { |
| 12 | /* Unrecognized UUID */ |
| 13 | CreateDWordField (Arg3, 0, CDW1) |
| 14 | CDW1 |= 4 |
| 15 | Return (Arg3) |
| 16 | } |
| 17 | } |
| 18 | } |