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 __ASM_IOCTLS_H 20 #define __ASM_IOCTLS_H 21 #include <asm/ioctl.h> 22 #define TCGETA 0x5401 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define TCSETA 0x5402 25 #define TCSETAW 0x5403 26 #define TCSETAF 0x5404 27 #define TCSBRK 0x5405 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define TCXONC 0x5406 30 #define TCFLSH 0x5407 31 #define TCGETS 0x540d 32 #define TCSETS 0x540e 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define TCSETSW 0x540f 35 #define TCSETSF 0x5410 36 #define TIOCEXCL 0x740d 37 #define TIOCNXCL 0x740e 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define TIOCOUTQ 0x7472 40 #define TIOCSTI 0x5472 41 #define TIOCMGET 0x741d 42 #define TIOCMBIS 0x741b 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define TIOCMBIC 0x741c 45 #define TIOCMSET 0x741a 46 #define TIOCPKT 0x5470 47 #define TIOCPKT_DATA 0x00 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #define TIOCPKT_FLUSHREAD 0x01 50 #define TIOCPKT_FLUSHWRITE 0x02 51 #define TIOCPKT_STOP 0x04 52 #define TIOCPKT_START 0x08 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 #define TIOCPKT_NOSTOP 0x10 55 #define TIOCPKT_DOSTOP 0x20 56 #define TIOCSWINSZ _IOW('t', 103, struct winsize) 57 #define TIOCGWINSZ _IOR('t', 104, struct winsize) 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 #define TIOCNOTTY 0x5471 60 #define TIOCSETD 0x7401 61 #define TIOCGETD 0x7400 62 #define FIOCLEX 0x6601 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 #define FIONCLEX 0x6602 65 #define FIOASYNC 0x667d 66 #define FIONBIO 0x667e 67 #define FIOQSIZE 0x667f 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 #define TIOCGLTC 0x7474 70 #define TIOCSLTC 0x7475 71 #define TIOCSPGRP _IOW('t', 118, int) 72 #define TIOCGPGRP _IOR('t', 119, int) 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 #define TIOCCONS _IOW('t', 120, int) 75 #define FIONREAD 0x467f 76 #define TIOCINQ FIONREAD 77 #define TIOCGETP 0x7408 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 #define TIOCSETP 0x7409 80 #define TIOCSETN 0x740a 81 #define TIOCSBRK 0x5427 82 #define TIOCCBRK 0x5428 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 #define TIOCGSID 0x7416 85 #define TCGETS2 _IOR('T', 0x2A, struct termios2) 86 #define TCSETS2 _IOW('T', 0x2B, struct termios2) 87 #define TCSETSW2 _IOW('T', 0x2C, struct termios2) 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 #define TCSETSF2 _IOW('T', 0x2D, struct termios2) 90 #define TIOCGPTN _IOR('T', 0x30, unsigned int) 91 #define TIOCSPTLCK _IOW('T', 0x31, int) 92 #define TIOCSCTTY 0x5480 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 #define TIOCGSOFTCAR 0x5481 95 #define TIOCSSOFTCAR 0x5482 96 #define TIOCLINUX 0x5483 97 #define TIOCGSERIAL 0x5484 98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 #define TIOCSSERIAL 0x5485 100 #define TCSBRKP 0x5486 101 #define TIOCSERCONFIG 0x5488 102 #define TIOCSERGWILD 0x5489 103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 #define TIOCSERSWILD 0x548a 105 #define TIOCGLCKTRMIOS 0x548b 106 #define TIOCSLCKTRMIOS 0x548c 107 #define TIOCSERGSTRUCT 0x548d 108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 #define TIOCSERGETLSR 0x548e 110 #define TIOCSERGETMULTI 0x548f 111 #define TIOCSERSETMULTI 0x5490 112 #define TIOCMIWAIT 0x5491 113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 #define TIOCGICOUNT 0x5492 115 #define TIOCGHAYESESP 0x5493 116 #define TIOCSHAYESESP 0x5494 117 #endif 118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119