1 /* SPDX-License-Identifier: GPL-2.0-only */
3 // Note: Some BIOSes put the S-ATA code into an SSDT to make it easily
6 // Intel SATA Controller 0:1f.2
10 Name (_ADR, 0x001f0002)
17 Method (_GTM, 0, Serialized)
19 Name(PBUF, Buffer(20) {
20 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
21 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
22 0x00,0x00,0x00,0x00 })
24 CreateDwordField (PBUF, 0, PIO0)
25 CreateDwordField (PBUF, 4, DMA0)
26 CreateDwordField (PBUF, 8, PIO1)
27 CreateDwordField (PBUF, 12, DMA1)
28 CreateDwordField (PBUF, 16, FLAG)
30 // TODO fill return structure
38 CreateDwordField (Arg0, 0, PIO0)
39 CreateDwordField (Arg0, 4, DMA0)
40 CreateDwordField (Arg0, 8, PIO1)
41 CreateDwordField (Arg0, 12, DMA1)
42 CreateDwordField (Arg0, 16, FLAG)
65 // Intel SATA Controller 0:1f.5
69 Name (_ADR, 0x001f0005)
76 Method (_GTM, 0, Serialized)
78 Name(PBUF, Buffer(20) {
79 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
80 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
81 0x00,0x00,0x00,0x00 })
83 CreateDwordField (PBUF, 0, PIO0)
84 CreateDwordField (PBUF, 4, DMA0)
85 CreateDwordField (PBUF, 8, PIO1)
86 CreateDwordField (PBUF, 12, DMA1)
87 CreateDwordField (PBUF, 16, FLAG)
89 // TODO fill return structure
97 CreateDwordField (Arg0, 0, PIO0)
98 CreateDwordField (Arg0, 4, DMA0)
99 CreateDwordField (Arg0, 8, PIO1)
100 CreateDwordField (Arg0, 12, DMA1)
101 CreateDwordField (Arg0, 16, FLAG)