Debian Codegraph @

src/ec/google/chromeec/acpi/tbmc.asl

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 Device (TBMC)
4 {
5 Name (_HID, "GOOG0006")
6 Name (_UID, 1)
7 Name (_DDN, "Tablet Motion Control")
8 Method (TBMC)
9 {
10 If (RCTM == 1) {
11 Return (0x1)
12 } Else {
13 Return (0x0)
14 }
15 }
16 Method(_STA, 0)
17 {
18 If (MTNS == 1) {
19 Return (0xF)
20 } Else {
21 Return (0x0)
22 }
23 }
24 }