89 lines · c
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */2/*3 * Copyright (C) 1999-2002 Vojtech Pavlik4*5 * This program is free software; you can redistribute it and/or modify it6 * under the terms of the GNU General Public License version 2 as published by7 * the Free Software Foundation.8 */9#ifndef _UAPI_SERIO_H10#define _UAPI_SERIO_H11 12#include <linux/const.h>13#include <linux/ioctl.h>14 15#define SPIOCSTYPE _IOW('q', 0x01, unsigned long)16 17 18/*19 * bit masks for use in "interrupt" flags (3rd argument)20 */21#define SERIO_TIMEOUT _BITUL(0)22#define SERIO_PARITY _BITUL(1)23#define SERIO_FRAME _BITUL(2)24#define SERIO_OOB_DATA _BITUL(3)25 26/*27 * Serio types28 */29#define SERIO_XT 0x0030#define SERIO_8042 0x0131#define SERIO_RS232 0x0232#define SERIO_HIL_MLC 0x0333#define SERIO_PS_PSTHRU 0x0534#define SERIO_8042_XL 0x0635 36/*37 * Serio protocols38 */39#define SERIO_UNKNOWN 0x0040#define SERIO_MSC 0x0141#define SERIO_SUN 0x0242#define SERIO_MS 0x0343#define SERIO_MP 0x0444#define SERIO_MZ 0x0545#define SERIO_MZP 0x0646#define SERIO_MZPP 0x0747#define SERIO_VSXXXAA 0x0848#define SERIO_SUNKBD 0x1049#define SERIO_WARRIOR 0x1850#define SERIO_SPACEORB 0x1951#define SERIO_MAGELLAN 0x1a52#define SERIO_SPACEBALL 0x1b53#define SERIO_GUNZE 0x1c54#define SERIO_IFORCE 0x1d55#define SERIO_STINGER 0x1e56#define SERIO_NEWTON 0x1f57#define SERIO_STOWAWAY 0x2058#define SERIO_H3600 0x2159#define SERIO_PS2SER 0x2260#define SERIO_TWIDKBD 0x2361#define SERIO_TWIDJOY 0x2462#define SERIO_HIL 0x2563#define SERIO_SNES232 0x2664#define SERIO_SEMTECH 0x2765#define SERIO_LKKBD 0x2866#define SERIO_ELO 0x2967#define SERIO_MICROTOUCH 0x3068#define SERIO_PENMOUNT 0x3169#define SERIO_TOUCHRIGHT 0x3270#define SERIO_TOUCHWIN 0x3371#define SERIO_TAOSEVM 0x3472#define SERIO_FUJITSU 0x3573#define SERIO_ZHENHUA 0x3674#define SERIO_INEXIO 0x3775#define SERIO_TOUCHIT213 0x3876#define SERIO_W8001 0x3977#define SERIO_DYNAPRO 0x3a78#define SERIO_HAMPSHIRE 0x3b79#define SERIO_PS2MULT 0x3c80#define SERIO_TSC40 0x3d81#define SERIO_WACOM_IV 0x3e82#define SERIO_EGALAX 0x3f83#define SERIO_PULSE8_CEC 0x4084#define SERIO_RAINSHADOW_CEC 0x4185#define SERIO_FSIA6B 0x4286#define SERIO_EXTRON_DA_HD_4K_PLUS 0x4387 88#endif /* _UAPI_SERIO_H */89