/* SPDX-License-Identifier: GPL-2.0-only */ /* TODO: Check if this is still correct */ #include #include "globalnvs.asl" Scope(\_SB) { /* global utility methods expected within the \_SB scope */ #include #include #include #include "pci_int_defs.asl" #include #include "mmio.asl" ROOT_BRIDGE(PCI0) Scope(PCI0) { #include } /* End PCI0 scope */ } /* End \_SB scope */ #include #include #include #include #if CONFIG(SOC_AMD_COMMON_BLOCK_ACPI_DPTC) #include #endif /* Enable DPTC interface with AMD ALIB */ External(\_SB.DPTC, MethodObj) /* * Platform Notify * * This is called by soc/amd/common/acpi/platform.asl. */ Method (PNOT) { /* Report AC/DC state to ALIB using WAL1() */ \WAL1 () If (CondRefOf (\_SB.DPTC)) { \_SB.DPTC() } }