xref: /aosp_15_r20/prebuilts/build-tools/sysroots/arm-unknown-linux-musleabihf/include/linux/toshiba.h (revision cda5da8d549138a6648c5ee6d7a49cf8f4a657be)
1*cda5da8dSAndroid Build Coastguard Worker /*
2*cda5da8dSAndroid Build Coastguard Worker  * This file is auto-generated. Modifications will be lost.
3*cda5da8dSAndroid Build Coastguard Worker  *
4*cda5da8dSAndroid Build Coastguard Worker  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5*cda5da8dSAndroid Build Coastguard Worker  * for more information.
6*cda5da8dSAndroid Build Coastguard Worker  */
7*cda5da8dSAndroid Build Coastguard Worker #ifndef _UAPI_LINUX_TOSHIBA_H
8*cda5da8dSAndroid Build Coastguard Worker #define _UAPI_LINUX_TOSHIBA_H
9*cda5da8dSAndroid Build Coastguard Worker #define TOSH_PROC "/proc/toshiba"
10*cda5da8dSAndroid Build Coastguard Worker #define TOSH_DEVICE "/dev/toshiba"
11*cda5da8dSAndroid Build Coastguard Worker #define TOSHIBA_ACPI_PROC "/proc/acpi/toshiba"
12*cda5da8dSAndroid Build Coastguard Worker #define TOSHIBA_ACPI_DEVICE "/dev/toshiba_acpi"
13*cda5da8dSAndroid Build Coastguard Worker typedef struct {
14*cda5da8dSAndroid Build Coastguard Worker   unsigned int eax;
15*cda5da8dSAndroid Build Coastguard Worker   unsigned int ebx __attribute__((packed));
16*cda5da8dSAndroid Build Coastguard Worker   unsigned int ecx __attribute__((packed));
17*cda5da8dSAndroid Build Coastguard Worker   unsigned int edx __attribute__((packed));
18*cda5da8dSAndroid Build Coastguard Worker   unsigned int esi __attribute__((packed));
19*cda5da8dSAndroid Build Coastguard Worker   unsigned int edi __attribute__((packed));
20*cda5da8dSAndroid Build Coastguard Worker } SMMRegisters;
21*cda5da8dSAndroid Build Coastguard Worker #define TOSH_SMM _IOWR('t', 0x90, SMMRegisters)
22*cda5da8dSAndroid Build Coastguard Worker #define TOSHIBA_ACPI_SCI _IOWR('t', 0x91, SMMRegisters)
23*cda5da8dSAndroid Build Coastguard Worker #endif
24