blob: 38d42f9375a74901101a06ed6e9518c2ee8b6369 [file] [log] [blame]
Raghu Gandham82fa43f2012-03-27 11:37:17 -07001/****************************************************************************
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 */
Elliott Hughesc95eb572013-01-29 18:15:55 -080024#define TCSETA 0x5402
Raghu Gandham82fa43f2012-03-27 11:37:17 -070025#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
Elliott Hughesc95eb572013-01-29 18:15:55 -080036#define TIOCEXCL 0x740d
37#define TIOCNXCL 0x740e
Raghu Gandham82fa43f2012-03-27 11:37:17 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080039#define TIOCOUTQ 0x7472
40#define TIOCSTI 0x5472
41#define TIOCMGET 0x741d
42#define TIOCMBIS 0x741b
Raghu Gandham82fa43f2012-03-27 11:37:17 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080044#define TIOCMBIC 0x741c
45#define TIOCMSET 0x741a
46#define TIOCPKT 0x5470
47#define TIOCPKT_DATA 0x00
Raghu Gandham82fa43f2012-03-27 11:37:17 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080049#define TIOCPKT_FLUSHREAD 0x01
50#define TIOCPKT_FLUSHWRITE 0x02
51#define TIOCPKT_STOP 0x04
52#define TIOCPKT_START 0x08
Raghu Gandham82fa43f2012-03-27 11:37:17 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080054#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)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080059#define TIOCNOTTY 0x5471
Raghu Gandham82fa43f2012-03-27 11:37:17 -070060#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 */
Elliott Hughesc95eb572013-01-29 18:15:55 -080069#define TIOCGLTC 0x7474
70#define TIOCSLTC 0x7475
71#define TIOCSPGRP _IOW('t', 118, int)
72#define TIOCGPGRP _IOR('t', 119, int)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080074#define TIOCCONS _IOW('t', 120, int)
Raghu Gandham82fa43f2012-03-27 11:37:17 -070075#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
Elliott Hughesc95eb572013-01-29 18:15:55 -080080#define TIOCSETN 0x740a
81#define TIOCSBRK 0x5427
82#define TIOCCBRK 0x5428
Raghu Gandham82fa43f2012-03-27 11:37:17 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -080084#define TIOCGSID 0x7416
Raghu Gandham82fa43f2012-03-27 11:37:17 -070085#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)
Elliott Hughesc95eb572013-01-29 18:15:55 -080090#define TIOCGPTN _IOR('T', 0x30, unsigned int)
91#define TIOCSPTLCK _IOW('T', 0x31, int)
92#define TIOCSCTTY 0x5480
Raghu Gandham82fa43f2012-03-27 11:37:17 -070093/* 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
Elliott Hughesc95eb572013-01-29 18:15:55 -0800100#define TCSBRKP 0x5486
Raghu Gandham82fa43f2012-03-27 11:37:17 -0700101#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
Elliott Hughesc95eb572013-01-29 18:15:55 -0800107#define TIOCSERGSTRUCT 0x548d
Raghu Gandham82fa43f2012-03-27 11:37:17 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -0800109#define TIOCSERGETLSR 0x548e
110#define TIOCSERGETMULTI 0x548f
111#define TIOCSERSETMULTI 0x5490
112#define TIOCMIWAIT 0x5491
Raghu Gandham82fa43f2012-03-27 11:37:17 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesc95eb572013-01-29 18:15:55 -0800114#define TIOCGICOUNT 0x5492
115#define TIOCGHAYESESP 0x5493
116#define TIOCSHAYESESP 0x5494
Raghu Gandham82fa43f2012-03-27 11:37:17 -0700117#endif
118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */