1/* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6#ifndef __ASM_GENERIC_IOCTLS_H 7#define __ASM_GENERIC_IOCTLS_H 8#include <linux/ioctl.h> 9#define TCGETS 0x5401 10#define TCSETS 0x5402 11#define TCSETSW 0x5403 12#define TCSETSF 0x5404 13#define TCGETA 0x5405 14#define TCSETA 0x5406 15#define TCSETAW 0x5407 16#define TCSETAF 0x5408 17#define TCSBRK 0x5409 18#define TCXONC 0x540A 19#define TCFLSH 0x540B 20#define TIOCEXCL 0x540C 21#define TIOCNXCL 0x540D 22#define TIOCSCTTY 0x540E 23#define TIOCGPGRP 0x540F 24#define TIOCSPGRP 0x5410 25#define TIOCOUTQ 0x5411 26#define TIOCSTI 0x5412 27#define TIOCGWINSZ 0x5413 28#define TIOCSWINSZ 0x5414 29#define TIOCMGET 0x5415 30#define TIOCMBIS 0x5416 31#define TIOCMBIC 0x5417 32#define TIOCMSET 0x5418 33#define TIOCGSOFTCAR 0x5419 34#define TIOCSSOFTCAR 0x541A 35#define FIONREAD 0x541B 36#define TIOCINQ FIONREAD 37#define TIOCLINUX 0x541C 38#define TIOCCONS 0x541D 39#define TIOCGSERIAL 0x541E 40#define TIOCSSERIAL 0x541F 41#define TIOCPKT 0x5420 42#define FIONBIO 0x5421 43#define TIOCNOTTY 0x5422 44#define TIOCSETD 0x5423 45#define TIOCGETD 0x5424 46#define TCSBRKP 0x5425 47#define TIOCSBRK 0x5427 48#define TIOCCBRK 0x5428 49#define TIOCGSID 0x5429 50#define TCGETS2 _IOR('T', 0x2A, struct termios2) 51#define TCSETS2 _IOW('T', 0x2B, struct termios2) 52#define TCSETSW2 _IOW('T', 0x2C, struct termios2) 53#define TCSETSF2 _IOW('T', 0x2D, struct termios2) 54#define TIOCGRS485 0x542E 55#ifndef TIOCSRS485 56#define TIOCSRS485 0x542F 57#endif 58#define TIOCGPTN _IOR('T', 0x30, unsigned int) 59#define TIOCSPTLCK _IOW('T', 0x31, int) 60#define TIOCGDEV _IOR('T', 0x32, unsigned int) 61#define TCGETX 0x5432 62#define TCSETX 0x5433 63#define TCSETXF 0x5434 64#define TCSETXW 0x5435 65#define TIOCSIG _IOW('T', 0x36, int) 66#define TIOCVHANGUP 0x5437 67#define TIOCGPKT _IOR('T', 0x38, int) 68#define TIOCGPTLCK _IOR('T', 0x39, int) 69#define TIOCGEXCL _IOR('T', 0x40, int) 70#define TIOCGPTPEER _IO('T', 0x41) 71#define FIONCLEX 0x5450 72#define FIOCLEX 0x5451 73#define FIOASYNC 0x5452 74#define TIOCSERCONFIG 0x5453 75#define TIOCSERGWILD 0x5454 76#define TIOCSERSWILD 0x5455 77#define TIOCGLCKTRMIOS 0x5456 78#define TIOCSLCKTRMIOS 0x5457 79#define TIOCSERGSTRUCT 0x5458 80#define TIOCSERGETLSR 0x5459 81#define TIOCSERGETMULTI 0x545A 82#define TIOCSERSETMULTI 0x545B 83#define TIOCMIWAIT 0x545C 84#define TIOCGICOUNT 0x545D 85#ifndef FIOQSIZE 86# define FIOQSIZE 0x5460 87#endif 88#define TIOCPKT_DATA 0 89#define TIOCPKT_FLUSHREAD 1 90#define TIOCPKT_FLUSHWRITE 2 91#define TIOCPKT_STOP 4 92#define TIOCPKT_START 8 93#define TIOCPKT_NOSTOP 16 94#define TIOCPKT_DOSTOP 32 95#define TIOCPKT_IOCTL 64 96#define TIOCSER_TEMT 0x01 97#endif 98