1 /************************************************************************************;
4 ;* Intel Corporation - ACPI Reference Code for the Baytrail *;
5 ;* Family of Customer Reference Boards. *;
9 ;* Copyright (c) 1999 - 2014, Intel Corporation. *;
11 ;* ThSPDX-License-Identifier: BSD-2-Clause-Patent
14 ;* This program has been developed by Intel Corporation. *;
15 ;* Licensee has Intel's permission to incorporate this source code *;
16 ;* into their product, royalty free. This source code may NOT be *;
17 ;* redistributed to anyone without Intel's written permission. *;
19 ;* Intel specifically disclaims all warranties, express or *;
20 ;* implied, and all liability, including consequential and other *;
21 ;* indirect damages, for the use of this code, including liability *;
22 ;* for infringement of any proprietary rights, and including the *;
23 ;* warranties of merchantability and fitness for a particular *;
24 ;* purpose. Intel does not assume any responsibility for any *;
25 ;* errors which may appear in this code nor any responsibility to *;
28 ;* Version: See README.TXT *;
30 ;************************************************************************************/
33 // _DSM : Device Specific Method supporting USB Sideband Deferring function
35 // Arg0: UUID Unique function identifier
36 // Arg1: Integer Revision Level
37 // Arg2: Integer Function Index
38 // Arg3: Package Parameters
40 Method (_DSM, 4, Serialized, 0, UnknownObj, {BuffObj, IntObj, IntObj, PkgObj})
43 If (LEqual(Arg0, ToUUID ("A5FC708F-8775-4BA6-BD0C-BA90A1EC72F8")))
46 // Switch by function index
48 Switch (ToInteger(Arg2))
51 // Standard query - A bitmask of functions supported
52 // Supports function 0-2
56 if (LEqual(Arg1, 1)) // test Arg1 for the revision
58 Return (Buffer () {0x07})
62 Return (Buffer () {0})
66 // USB Sideband Deferring Support
67 // 0: USB Sideband Deferring not supported on this device
68 // 1: USB Sideband Deferring supported
72 if (LEqual(SDGV,0xFF)) // check for valid GPE vector
83 // Return the bit offset within the GPE block of the GPIO (HOST_ALERT) driven by this device