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_IOCTLS_H
2022851890Sopenharmony_ci#define __ASM_IOCTLS_H
2122851890Sopenharmony_ci#include <asm/ioctl.h>
2222851890Sopenharmony_ci#define TCGETA 0x5401
2322851890Sopenharmony_ci#define TCSETA 0x5402
2422851890Sopenharmony_ci#define TCSETAW 0x5403
2522851890Sopenharmony_ci#define TCSETAF 0x5404
2622851890Sopenharmony_ci#define TCSBRK 0x5405
2722851890Sopenharmony_ci#define TCXONC 0x5406
2822851890Sopenharmony_ci#define TCFLSH 0x5407
2922851890Sopenharmony_ci#define TCGETS 0x540d
3022851890Sopenharmony_ci#define TCSETS 0x540e
3122851890Sopenharmony_ci#define TCSETSW 0x540f
3222851890Sopenharmony_ci#define TCSETSF 0x5410
3322851890Sopenharmony_ci#define TIOCEXCL 0x740d
3422851890Sopenharmony_ci#define TIOCNXCL 0x740e
3522851890Sopenharmony_ci#define TIOCOUTQ 0x7472
3622851890Sopenharmony_ci#define TIOCSTI 0x5472
3722851890Sopenharmony_ci#define TIOCMGET 0x741d
3822851890Sopenharmony_ci#define TIOCMBIS 0x741b
3922851890Sopenharmony_ci#define TIOCMBIC 0x741c
4022851890Sopenharmony_ci#define TIOCMSET 0x741a
4122851890Sopenharmony_ci#define TIOCPKT 0x5470
4222851890Sopenharmony_ci#define TIOCPKT_DATA 0x00
4322851890Sopenharmony_ci#define TIOCPKT_FLUSHREAD 0x01
4422851890Sopenharmony_ci#define TIOCPKT_FLUSHWRITE 0x02
4522851890Sopenharmony_ci#define TIOCPKT_STOP 0x04
4622851890Sopenharmony_ci#define TIOCPKT_START 0x08
4722851890Sopenharmony_ci#define TIOCPKT_NOSTOP 0x10
4822851890Sopenharmony_ci#define TIOCPKT_DOSTOP 0x20
4922851890Sopenharmony_ci#define TIOCPKT_IOCTL 0x40
5022851890Sopenharmony_ci#define TIOCSWINSZ _IOW('t', 103, struct winsize)
5122851890Sopenharmony_ci#define TIOCGWINSZ _IOR('t', 104, struct winsize)
5222851890Sopenharmony_ci#define TIOCNOTTY 0x5471
5322851890Sopenharmony_ci#define TIOCSETD 0x7401
5422851890Sopenharmony_ci#define TIOCGETD 0x7400
5522851890Sopenharmony_ci#define FIOCLEX 0x6601
5622851890Sopenharmony_ci#define FIONCLEX 0x6602
5722851890Sopenharmony_ci#define FIOASYNC 0x667d
5822851890Sopenharmony_ci#define FIONBIO 0x667e
5922851890Sopenharmony_ci#define FIOQSIZE 0x667f
6022851890Sopenharmony_ci#define TIOCGLTC 0x7474
6122851890Sopenharmony_ci#define TIOCSLTC 0x7475
6222851890Sopenharmony_ci#define TIOCSPGRP _IOW('t', 118, int)
6322851890Sopenharmony_ci#define TIOCGPGRP _IOR('t', 119, int)
6422851890Sopenharmony_ci#define TIOCCONS _IOW('t', 120, int)
6522851890Sopenharmony_ci#define FIONREAD 0x467f
6622851890Sopenharmony_ci#define TIOCINQ FIONREAD
6722851890Sopenharmony_ci#define TIOCGETP 0x7408
6822851890Sopenharmony_ci#define TIOCSETP 0x7409
6922851890Sopenharmony_ci#define TIOCSETN 0x740a
7022851890Sopenharmony_ci#define TIOCSBRK 0x5427
7122851890Sopenharmony_ci#define TIOCCBRK 0x5428
7222851890Sopenharmony_ci#define TIOCGSID 0x7416
7322851890Sopenharmony_ci#define TCGETS2 _IOR('T', 0x2A, struct termios2)
7422851890Sopenharmony_ci#define TCSETS2 _IOW('T', 0x2B, struct termios2)
7522851890Sopenharmony_ci#define TCSETSW2 _IOW('T', 0x2C, struct termios2)
7622851890Sopenharmony_ci#define TCSETSF2 _IOW('T', 0x2D, struct termios2)
7722851890Sopenharmony_ci#define TIOCGRS485 _IOR('T', 0x2E, struct serial_rs485)
7822851890Sopenharmony_ci#define TIOCSRS485 _IOWR('T', 0x2F, struct serial_rs485)
7922851890Sopenharmony_ci#define TIOCGPTN _IOR('T', 0x30, unsigned int)
8022851890Sopenharmony_ci#define TIOCSPTLCK _IOW('T', 0x31, int)
8122851890Sopenharmony_ci#define TIOCGDEV _IOR('T', 0x32, unsigned int)
8222851890Sopenharmony_ci#define TIOCSIG _IOW('T', 0x36, int)
8322851890Sopenharmony_ci#define TIOCVHANGUP 0x5437
8422851890Sopenharmony_ci#define TIOCGPKT _IOR('T', 0x38, int)
8522851890Sopenharmony_ci#define TIOCGPTLCK _IOR('T', 0x39, int)
8622851890Sopenharmony_ci#define TIOCGEXCL _IOR('T', 0x40, int)
8722851890Sopenharmony_ci#define TIOCGPTPEER _IO('T', 0x41)
8822851890Sopenharmony_ci#define TIOCGISO7816 _IOR('T', 0x42, struct serial_iso7816)
8922851890Sopenharmony_ci#define TIOCSISO7816 _IOWR('T', 0x43, struct serial_iso7816)
9022851890Sopenharmony_ci#define TIOCSCTTY 0x5480
9122851890Sopenharmony_ci#define TIOCGSOFTCAR 0x5481
9222851890Sopenharmony_ci#define TIOCSSOFTCAR 0x5482
9322851890Sopenharmony_ci#define TIOCLINUX 0x5483
9422851890Sopenharmony_ci#define TIOCGSERIAL 0x5484
9522851890Sopenharmony_ci#define TIOCSSERIAL 0x5485
9622851890Sopenharmony_ci#define TCSBRKP 0x5486
9722851890Sopenharmony_ci#define TIOCSERCONFIG 0x5488
9822851890Sopenharmony_ci#define TIOCSERGWILD 0x5489
9922851890Sopenharmony_ci#define TIOCSERSWILD 0x548a
10022851890Sopenharmony_ci#define TIOCGLCKTRMIOS 0x548b
10122851890Sopenharmony_ci#define TIOCSLCKTRMIOS 0x548c
10222851890Sopenharmony_ci#define TIOCSERGSTRUCT 0x548d
10322851890Sopenharmony_ci#define TIOCSERGETLSR 0x548e
10422851890Sopenharmony_ci#define TIOCSERGETMULTI 0x548f
10522851890Sopenharmony_ci#define TIOCSERSETMULTI 0x5490
10622851890Sopenharmony_ci#define TIOCMIWAIT 0x5491
10722851890Sopenharmony_ci#define TIOCGICOUNT 0x5492
10822851890Sopenharmony_ci#endif
109