summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/haswell/acpi/peg.asl
blob: c63f3f9169c5b1cf9b8e03d2fd2fbfac00c6c7d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* SPDX-License-Identifier: GPL-2.0-only */

Field (\_SB.PCI0.MCHC.MCHP, DWordAcc, NoLock, Preserve)
{
	Offset (0x54),
	,	1,
	P2EN,	1,
	P1EN,	1,
	P0EN,	1,
}

Device (PEGP)
{
	Name (_ADR, 0x00010000)

	Method (_STA)
	{
		Return (P0EN * 0xf)
	}

	Device (DEV0)
	{
		Name(_ADR, 0x00000000)
	}
}

Device (PEG1)
{
	Name (_ADR, 0x00010001)

	Method (_STA)
	{
		Return (P1EN * 0xf)
	}

	Device (DEV0)
	{
		Name(_ADR, 0x00000000)
	}
}

Device (PEG2)
{
	Name (_ADR, 0x00010002)

	Method (_STA)
	{
		Return (P2EN * 0xf)
	}

	Device (DEV0)
	{
		Name(_ADR, 0x00000000)
	}
}