blob: 775efbbbf0b623f7df650f88a33e9cf7fab233ce [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI_LINUX_TOSHIBA_H
8#define _UAPI_LINUX_TOSHIBA_H
9#define TOSH_PROC "/proc/toshiba"
10#define TOSH_DEVICE "/dev/toshiba"
Christopher Ferris05d08e92016-02-04 13:16:38 -080011#define TOSHIBA_ACPI_PROC "/proc/acpi/toshiba"
12#define TOSHIBA_ACPI_DEVICE "/dev/toshiba_acpi"
Ben Cheng655a7c02013-10-16 16:09:24 -070013typedef struct {
Tao Baod7db5942015-01-28 10:07:51 -080014 unsigned int eax;
Christopher Ferris05d08e92016-02-04 13:16:38 -080015 unsigned int ebx __attribute__((packed));
Tao Baod7db5942015-01-28 10:07:51 -080016 unsigned int ecx __attribute__((packed));
17 unsigned int edx __attribute__((packed));
18 unsigned int esi __attribute__((packed));
Christopher Ferris05d08e92016-02-04 13:16:38 -080019 unsigned int edi __attribute__((packed));
Ben Cheng655a7c02013-10-16 16:09:24 -070020} SMMRegisters;
Christopher Ferris05d08e92016-02-04 13:16:38 -080021#define TOSH_SMM _IOWR('t', 0x90, SMMRegisters)
22#define TOSHIBA_ACPI_SCI _IOWR('t', 0x91, SMMRegisters)
Nick Kralevicha67e4de2013-01-14 11:28:26 -080023#endif