blob: 424144e6f615984cdc107c6c51d75b7c20bf255b [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_SERIO_H
8#define _UAPI_SERIO_H
Christopher Ferrisbb9fcb42020-04-06 11:38:04 -07009#include <linux/const.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070010#include <linux/ioctl.h>
11#define SPIOCSTYPE _IOW('q', 0x01, unsigned long)
Christopher Ferrisbb9fcb42020-04-06 11:38:04 -070012#define SERIO_TIMEOUT _BITUL(0)
13#define SERIO_PARITY _BITUL(1)
14#define SERIO_FRAME _BITUL(2)
15#define SERIO_OOB_DATA _BITUL(3)
Ben Cheng655a7c02013-10-16 16:09:24 -070016#define SERIO_XT 0x00
Ben Cheng655a7c02013-10-16 16:09:24 -070017#define SERIO_8042 0x01
18#define SERIO_RS232 0x02
19#define SERIO_HIL_MLC 0x03
20#define SERIO_PS_PSTHRU 0x05
Ben Cheng655a7c02013-10-16 16:09:24 -070021#define SERIO_8042_XL 0x06
22#define SERIO_UNKNOWN 0x00
23#define SERIO_MSC 0x01
24#define SERIO_SUN 0x02
Ben Cheng655a7c02013-10-16 16:09:24 -070025#define SERIO_MS 0x03
26#define SERIO_MP 0x04
27#define SERIO_MZ 0x05
28#define SERIO_MZP 0x06
Ben Cheng655a7c02013-10-16 16:09:24 -070029#define SERIO_MZPP 0x07
30#define SERIO_VSXXXAA 0x08
31#define SERIO_SUNKBD 0x10
32#define SERIO_WARRIOR 0x18
Ben Cheng655a7c02013-10-16 16:09:24 -070033#define SERIO_SPACEORB 0x19
34#define SERIO_MAGELLAN 0x1a
35#define SERIO_SPACEBALL 0x1b
36#define SERIO_GUNZE 0x1c
Ben Cheng655a7c02013-10-16 16:09:24 -070037#define SERIO_IFORCE 0x1d
38#define SERIO_STINGER 0x1e
39#define SERIO_NEWTON 0x1f
40#define SERIO_STOWAWAY 0x20
Ben Cheng655a7c02013-10-16 16:09:24 -070041#define SERIO_H3600 0x21
42#define SERIO_PS2SER 0x22
43#define SERIO_TWIDKBD 0x23
44#define SERIO_TWIDJOY 0x24
Ben Cheng655a7c02013-10-16 16:09:24 -070045#define SERIO_HIL 0x25
46#define SERIO_SNES232 0x26
47#define SERIO_SEMTECH 0x27
48#define SERIO_LKKBD 0x28
Ben Cheng655a7c02013-10-16 16:09:24 -070049#define SERIO_ELO 0x29
50#define SERIO_MICROTOUCH 0x30
51#define SERIO_PENMOUNT 0x31
52#define SERIO_TOUCHRIGHT 0x32
Ben Cheng655a7c02013-10-16 16:09:24 -070053#define SERIO_TOUCHWIN 0x33
54#define SERIO_TAOSEVM 0x34
55#define SERIO_FUJITSU 0x35
56#define SERIO_ZHENHUA 0x36
Ben Cheng655a7c02013-10-16 16:09:24 -070057#define SERIO_INEXIO 0x37
58#define SERIO_TOUCHIT213 0x38
59#define SERIO_W8001 0x39
60#define SERIO_DYNAPRO 0x3a
Ben Cheng655a7c02013-10-16 16:09:24 -070061#define SERIO_HAMPSHIRE 0x3b
62#define SERIO_PS2MULT 0x3c
63#define SERIO_TSC40 0x3d
Christopher Ferris82d75042015-01-26 10:57:07 -080064#define SERIO_WACOM_IV 0x3e
Christopher Ferris106b3a82016-08-24 12:15:38 -070065#define SERIO_EGALAX 0x3f
Christopher Ferris49f525c2016-12-12 14:55:36 -080066#define SERIO_PULSE8_CEC 0x40
Christopher Ferris525ce912017-07-26 13:12:53 -070067#define SERIO_RAINSHADOW_CEC 0x41
Christopher Ferris9584fa42019-12-09 15:36:13 -080068#define SERIO_FSIA6B 0x42
Christopher Ferris82d75042015-01-26 10:57:07 -080069#endif