• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_X86_IOCTLS_H
20 #define _ASM_X86_IOCTLS_H
21 #include <asm/ioctl.h>
22 #define TCGETS 0x5401
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define TCSETS 0x5402
25 #define TCSETSW 0x5403
26 #define TCSETSF 0x5404
27 #define TCGETA 0x5405
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define TCSETA 0x5406
30 #define TCSETAW 0x5407
31 #define TCSETAF 0x5408
32 #define TCSBRK 0x5409
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define TCXONC 0x540A
35 #define TCFLSH 0x540B
36 #define TIOCEXCL 0x540C
37 #define TIOCNXCL 0x540D
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define TIOCSCTTY 0x540E
40 #define TIOCGPGRP 0x540F
41 #define TIOCSPGRP 0x5410
42 #define TIOCOUTQ 0x5411
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define TIOCSTI 0x5412
45 #define TIOCGWINSZ 0x5413
46 #define TIOCSWINSZ 0x5414
47 #define TIOCMGET 0x5415
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define TIOCMBIS 0x5416
50 #define TIOCMBIC 0x5417
51 #define TIOCMSET 0x5418
52 #define TIOCGSOFTCAR 0x5419
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define TIOCSSOFTCAR 0x541A
55 #define FIONREAD 0x541B
56 #define TIOCINQ FIONREAD
57 #define TIOCLINUX 0x541C
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define TIOCCONS 0x541D
60 #define TIOCGSERIAL 0x541E
61 #define TIOCSSERIAL 0x541F
62 #define TIOCPKT 0x5420
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 #define FIONBIO 0x5421
65 #define TIOCNOTTY 0x5422
66 #define TIOCSETD 0x5423
67 #define TIOCGETD 0x5424
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 #define TCSBRKP 0x5425
70 #define TIOCSBRK 0x5427
71 #define TIOCCBRK 0x5428
72 #define TIOCGSID 0x5429
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 #define TCGETS2 _IOR('T',0x2A, struct termios2)
75 #define TCSETS2 _IOW('T',0x2B, struct termios2)
76 #define TCSETSW2 _IOW('T',0x2C, struct termios2)
77 #define TCSETSF2 _IOW('T',0x2D, struct termios2)
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 #define TIOCGPTN _IOR('T',0x30, unsigned int)
80 #define TIOCSPTLCK _IOW('T',0x31, int)
81 #define FIONCLEX 0x5450
82 #define FIOCLEX 0x5451
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 #define FIOASYNC 0x5452
85 #define TIOCSERCONFIG 0x5453
86 #define TIOCSERGWILD 0x5454
87 #define TIOCSERSWILD 0x5455
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 #define TIOCGLCKTRMIOS 0x5456
90 #define TIOCSLCKTRMIOS 0x5457
91 #define TIOCSERGSTRUCT 0x5458
92 #define TIOCSERGETLSR 0x5459
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 #define TIOCSERGETMULTI 0x545A
95 #define TIOCSERSETMULTI 0x545B
96 #define TIOCMIWAIT 0x545C
97 #define TIOCGICOUNT 0x545D
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 #define TIOCGHAYESESP 0x545E
100 #define TIOCSHAYESESP 0x545F
101 #define FIOQSIZE 0x5460
102 #define TIOCPKT_DATA 0
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 #define TIOCPKT_FLUSHREAD 1
105 #define TIOCPKT_FLUSHWRITE 2
106 #define TIOCPKT_STOP 4
107 #define TIOCPKT_START 8
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 #define TIOCPKT_NOSTOP 16
110 #define TIOCPKT_DOSTOP 32
111 #define TIOCSER_TEMT 0x01
112 #endif
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114