1 /* SPDX-License-Identifier: GPL-2.0-only */
3 // Intel SATA Controller 0:1f.2
5 // Note: Some BIOSes put the S-ATA code into an SSDT to make it easily
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)