Debian Codegraph @

src/soc/intel/denverton_ns/acpi/pmc.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 // Intel PMC Controller 0:1f.2
4
5 Device (PMC0)
6 {
7 Name (_ADR, 0x001F0002)
8
9 Device(PDRC) // PMC Device Resource Consumption
10 {
11 Name(_HID,EISAID("PNP0C02"))
12 Name(_UID, 0x10)
13
14 Name(PMCR,ResourceTemplate()
15 {
16 IO (Decode16, DEFAULT_PMBASE, DEFAULT_PMBASE, 0x1, 0x80) // ACPI Base
17 Memory32Fixed(ReadOnly, DEFAULT_PWRM_BASE, 0x1000) // PMC memory range
18 })
19
20 Method(_CRS, 0)
21 {
22 return(PMCR)
23 }
24 }
25 }