• 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_GENERIC_IOCTLS_H
20 #define __ASM_GENERIC_IOCTLS_H
21 #include <linux/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 TIOCGRS485 0x542E
80 #ifndef TIOCSRS485
81 #define TIOCSRS485 0x542F
82 #endif
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 #define TIOCGPTN _IOR('T', 0x30, unsigned int)
85 #define TIOCSPTLCK _IOW('T', 0x31, int)
86 #define TIOCGDEV _IOR('T', 0x32, unsigned int)
87 #define TCGETX 0x5432
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 #define TCSETX 0x5433
90 #define TCSETXF 0x5434
91 #define TCSETXW 0x5435
92 #define TIOCSIG _IOW('T', 0x36, int)
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 #define TIOCVHANGUP 0x5437
95 #define TIOCGPKT _IOR('T', 0x38, int)
96 #define TIOCGPTLCK _IOR('T', 0x39, int)
97 #define TIOCGEXCL _IOR('T', 0x40, int)
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 #define FIONCLEX 0x5450
100 #define FIOCLEX 0x5451
101 #define FIOASYNC 0x5452
102 #define TIOCSERCONFIG 0x5453
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 #define TIOCSERGWILD 0x5454
105 #define TIOCSERSWILD 0x5455
106 #define TIOCGLCKTRMIOS 0x5456
107 #define TIOCSLCKTRMIOS 0x5457
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 #define TIOCSERGSTRUCT 0x5458
110 #define TIOCSERGETLSR 0x5459
111 #define TIOCSERGETMULTI 0x545A
112 #define TIOCSERSETMULTI 0x545B
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114 #define TIOCMIWAIT 0x545C
115 #define TIOCGICOUNT 0x545D
116 #ifndef FIOQSIZE
117 #define FIOQSIZE 0x5460
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119 #endif
120 #define TIOCPKT_DATA 0
121 #define TIOCPKT_FLUSHREAD 1
122 #define TIOCPKT_FLUSHWRITE 2
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124 #define TIOCPKT_STOP 4
125 #define TIOCPKT_START 8
126 #define TIOCPKT_NOSTOP 16
127 #define TIOCPKT_DOSTOP 32
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129 #define TIOCPKT_IOCTL 64
130 #define TIOCSER_TEMT 0x01
131 #endif
132