Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
| 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef _UAPI_SERIO_H |
| 20 | #define _UAPI_SERIO_H |
Christopher Ferris | bb9fcb4 | 2020-04-06 11:38:04 -0700 | [diff] [blame] | 21 | #include <linux/const.h> |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 22 | #include <linux/ioctl.h> |
| 23 | #define SPIOCSTYPE _IOW('q', 0x01, unsigned long) |
Christopher Ferris | bb9fcb4 | 2020-04-06 11:38:04 -0700 | [diff] [blame] | 24 | #define SERIO_TIMEOUT _BITUL(0) |
| 25 | #define SERIO_PARITY _BITUL(1) |
| 26 | #define SERIO_FRAME _BITUL(2) |
| 27 | #define SERIO_OOB_DATA _BITUL(3) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 28 | #define SERIO_XT 0x00 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 29 | #define SERIO_8042 0x01 |
| 30 | #define SERIO_RS232 0x02 |
| 31 | #define SERIO_HIL_MLC 0x03 |
| 32 | #define SERIO_PS_PSTHRU 0x05 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 33 | #define SERIO_8042_XL 0x06 |
| 34 | #define SERIO_UNKNOWN 0x00 |
| 35 | #define SERIO_MSC 0x01 |
| 36 | #define SERIO_SUN 0x02 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 37 | #define SERIO_MS 0x03 |
| 38 | #define SERIO_MP 0x04 |
| 39 | #define SERIO_MZ 0x05 |
| 40 | #define SERIO_MZP 0x06 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 41 | #define SERIO_MZPP 0x07 |
| 42 | #define SERIO_VSXXXAA 0x08 |
| 43 | #define SERIO_SUNKBD 0x10 |
| 44 | #define SERIO_WARRIOR 0x18 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 45 | #define SERIO_SPACEORB 0x19 |
| 46 | #define SERIO_MAGELLAN 0x1a |
| 47 | #define SERIO_SPACEBALL 0x1b |
| 48 | #define SERIO_GUNZE 0x1c |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 49 | #define SERIO_IFORCE 0x1d |
| 50 | #define SERIO_STINGER 0x1e |
| 51 | #define SERIO_NEWTON 0x1f |
| 52 | #define SERIO_STOWAWAY 0x20 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 53 | #define SERIO_H3600 0x21 |
| 54 | #define SERIO_PS2SER 0x22 |
| 55 | #define SERIO_TWIDKBD 0x23 |
| 56 | #define SERIO_TWIDJOY 0x24 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 57 | #define SERIO_HIL 0x25 |
| 58 | #define SERIO_SNES232 0x26 |
| 59 | #define SERIO_SEMTECH 0x27 |
| 60 | #define SERIO_LKKBD 0x28 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 61 | #define SERIO_ELO 0x29 |
| 62 | #define SERIO_MICROTOUCH 0x30 |
| 63 | #define SERIO_PENMOUNT 0x31 |
| 64 | #define SERIO_TOUCHRIGHT 0x32 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 65 | #define SERIO_TOUCHWIN 0x33 |
| 66 | #define SERIO_TAOSEVM 0x34 |
| 67 | #define SERIO_FUJITSU 0x35 |
| 68 | #define SERIO_ZHENHUA 0x36 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 69 | #define SERIO_INEXIO 0x37 |
| 70 | #define SERIO_TOUCHIT213 0x38 |
| 71 | #define SERIO_W8001 0x39 |
| 72 | #define SERIO_DYNAPRO 0x3a |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 73 | #define SERIO_HAMPSHIRE 0x3b |
| 74 | #define SERIO_PS2MULT 0x3c |
| 75 | #define SERIO_TSC40 0x3d |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 76 | #define SERIO_WACOM_IV 0x3e |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 77 | #define SERIO_EGALAX 0x3f |
Christopher Ferris | 49f525c | 2016-12-12 14:55:36 -0800 | [diff] [blame] | 78 | #define SERIO_PULSE8_CEC 0x40 |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 79 | #define SERIO_RAINSHADOW_CEC 0x41 |
Christopher Ferris | 9584fa4 | 2019-12-09 15:36:13 -0800 | [diff] [blame] | 80 | #define SERIO_FSIA6B 0x42 |
Christopher Ferris | 82d7504 | 2015-01-26 10:57:07 -0800 | [diff] [blame] | 81 | #endif |