122851890Sopenharmony_ci/****************************************************************************
222851890Sopenharmony_ci ****************************************************************************
322851890Sopenharmony_ci ***
422851890Sopenharmony_ci ***   This header was automatically generated from a Linux kernel header
522851890Sopenharmony_ci ***   of the same name, to make information necessary for userspace to
622851890Sopenharmony_ci ***   call into the kernel available to libc.  It contains only constants,
722851890Sopenharmony_ci ***   structures, and macros generated from the original header, and thus,
822851890Sopenharmony_ci ***   contains no copyrightable information.
922851890Sopenharmony_ci ***
1022851890Sopenharmony_ci ***   To edit the content of this header, modify the corresponding
1122851890Sopenharmony_ci ***   source file (e.g. under external/kernel-headers/original/) then
1222851890Sopenharmony_ci ***   run bionic/libc/kernel/tools/update_all.py
1322851890Sopenharmony_ci ***
1422851890Sopenharmony_ci ***   Any manual change here will be lost the next time this script will
1522851890Sopenharmony_ci ***   be run. You've been warned!
1622851890Sopenharmony_ci ***
1722851890Sopenharmony_ci ****************************************************************************
1822851890Sopenharmony_ci ****************************************************************************/
1922851890Sopenharmony_ci#ifndef __ASM_GENERIC_IOCTLS_H
2022851890Sopenharmony_ci#define __ASM_GENERIC_IOCTLS_H
2122851890Sopenharmony_ci#include <linux/ioctl.h>
2222851890Sopenharmony_ci#define TCGETS 0x5401
2322851890Sopenharmony_ci#define TCSETS 0x5402
2422851890Sopenharmony_ci#define TCSETSW 0x5403
2522851890Sopenharmony_ci#define TCSETSF 0x5404
2622851890Sopenharmony_ci#define TCGETA 0x5405
2722851890Sopenharmony_ci#define TCSETA 0x5406
2822851890Sopenharmony_ci#define TCSETAW 0x5407
2922851890Sopenharmony_ci#define TCSETAF 0x5408
3022851890Sopenharmony_ci#define TCSBRK 0x5409
3122851890Sopenharmony_ci#define TCXONC 0x540A
3222851890Sopenharmony_ci#define TCFLSH 0x540B
3322851890Sopenharmony_ci#define TIOCEXCL 0x540C
3422851890Sopenharmony_ci#define TIOCNXCL 0x540D
3522851890Sopenharmony_ci#define TIOCSCTTY 0x540E
3622851890Sopenharmony_ci#define TIOCGPGRP 0x540F
3722851890Sopenharmony_ci#define TIOCSPGRP 0x5410
3822851890Sopenharmony_ci#define TIOCOUTQ 0x5411
3922851890Sopenharmony_ci#define TIOCSTI 0x5412
4022851890Sopenharmony_ci#define TIOCGWINSZ 0x5413
4122851890Sopenharmony_ci#define TIOCSWINSZ 0x5414
4222851890Sopenharmony_ci#define TIOCMGET 0x5415
4322851890Sopenharmony_ci#define TIOCMBIS 0x5416
4422851890Sopenharmony_ci#define TIOCMBIC 0x5417
4522851890Sopenharmony_ci#define TIOCMSET 0x5418
4622851890Sopenharmony_ci#define TIOCGSOFTCAR 0x5419
4722851890Sopenharmony_ci#define TIOCSSOFTCAR 0x541A
4822851890Sopenharmony_ci#define FIONREAD 0x541B
4922851890Sopenharmony_ci#define TIOCINQ FIONREAD
5022851890Sopenharmony_ci#define TIOCLINUX 0x541C
5122851890Sopenharmony_ci#define TIOCCONS 0x541D
5222851890Sopenharmony_ci#define TIOCGSERIAL 0x541E
5322851890Sopenharmony_ci#define TIOCSSERIAL 0x541F
5422851890Sopenharmony_ci#define TIOCPKT 0x5420
5522851890Sopenharmony_ci#define FIONBIO 0x5421
5622851890Sopenharmony_ci#define TIOCNOTTY 0x5422
5722851890Sopenharmony_ci#define TIOCSETD 0x5423
5822851890Sopenharmony_ci#define TIOCGETD 0x5424
5922851890Sopenharmony_ci#define TCSBRKP 0x5425
6022851890Sopenharmony_ci#define TIOCSBRK 0x5427
6122851890Sopenharmony_ci#define TIOCCBRK 0x5428
6222851890Sopenharmony_ci#define TIOCGSID 0x5429
6322851890Sopenharmony_ci#define TCGETS2 _IOR('T', 0x2A, struct termios2)
6422851890Sopenharmony_ci#define TCSETS2 _IOW('T', 0x2B, struct termios2)
6522851890Sopenharmony_ci#define TCSETSW2 _IOW('T', 0x2C, struct termios2)
6622851890Sopenharmony_ci#define TCSETSF2 _IOW('T', 0x2D, struct termios2)
6722851890Sopenharmony_ci#define TIOCGRS485 0x542E
6822851890Sopenharmony_ci#ifndef TIOCSRS485
6922851890Sopenharmony_ci#define TIOCSRS485 0x542F
7022851890Sopenharmony_ci#endif
7122851890Sopenharmony_ci#define TIOCGPTN _IOR('T', 0x30, unsigned int)
7222851890Sopenharmony_ci#define TIOCSPTLCK _IOW('T', 0x31, int)
7322851890Sopenharmony_ci#define TIOCGDEV _IOR('T', 0x32, unsigned int)
7422851890Sopenharmony_ci#define TCGETX 0x5432
7522851890Sopenharmony_ci#define TCSETX 0x5433
7622851890Sopenharmony_ci#define TCSETXF 0x5434
7722851890Sopenharmony_ci#define TCSETXW 0x5435
7822851890Sopenharmony_ci#define TIOCSIG _IOW('T', 0x36, int)
7922851890Sopenharmony_ci#define TIOCVHANGUP 0x5437
8022851890Sopenharmony_ci#define TIOCGPKT _IOR('T', 0x38, int)
8122851890Sopenharmony_ci#define TIOCGPTLCK _IOR('T', 0x39, int)
8222851890Sopenharmony_ci#define TIOCGEXCL _IOR('T', 0x40, int)
8322851890Sopenharmony_ci#define TIOCGPTPEER _IO('T', 0x41)
8422851890Sopenharmony_ci#define TIOCGISO7816 _IOR('T', 0x42, struct serial_iso7816)
8522851890Sopenharmony_ci#define TIOCSISO7816 _IOWR('T', 0x43, struct serial_iso7816)
8622851890Sopenharmony_ci#define FIONCLEX 0x5450
8722851890Sopenharmony_ci#define FIOCLEX 0x5451
8822851890Sopenharmony_ci#define FIOASYNC 0x5452
8922851890Sopenharmony_ci#define TIOCSERCONFIG 0x5453
9022851890Sopenharmony_ci#define TIOCSERGWILD 0x5454
9122851890Sopenharmony_ci#define TIOCSERSWILD 0x5455
9222851890Sopenharmony_ci#define TIOCGLCKTRMIOS 0x5456
9322851890Sopenharmony_ci#define TIOCSLCKTRMIOS 0x5457
9422851890Sopenharmony_ci#define TIOCSERGSTRUCT 0x5458
9522851890Sopenharmony_ci#define TIOCSERGETLSR 0x5459
9622851890Sopenharmony_ci#define TIOCSERGETMULTI 0x545A
9722851890Sopenharmony_ci#define TIOCSERSETMULTI 0x545B
9822851890Sopenharmony_ci#define TIOCMIWAIT 0x545C
9922851890Sopenharmony_ci#define TIOCGICOUNT 0x545D
10022851890Sopenharmony_ci#ifndef FIOQSIZE
10122851890Sopenharmony_ci#define FIOQSIZE 0x5460
10222851890Sopenharmony_ci#endif
10322851890Sopenharmony_ci#define TIOCPKT_DATA 0
10422851890Sopenharmony_ci#define TIOCPKT_FLUSHREAD 1
10522851890Sopenharmony_ci#define TIOCPKT_FLUSHWRITE 2
10622851890Sopenharmony_ci#define TIOCPKT_STOP 4
10722851890Sopenharmony_ci#define TIOCPKT_START 8
10822851890Sopenharmony_ci#define TIOCPKT_NOSTOP 16
10922851890Sopenharmony_ci#define TIOCPKT_DOSTOP 32
11022851890Sopenharmony_ci#define TIOCPKT_IOCTL 64
11122851890Sopenharmony_ci#define TIOCSER_TEMT 0x01
11222851890Sopenharmony_ci#endif
113