Home | History | Annotate | Download | only in asm
      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_IOCTLS_H
     20 #define __ASM_IOCTLS_H
     21 #include <asm/ioctl.h>
     22 #define TCGETA 0x5401
     23 #define TCSETA 0x5402
     24 #define TCSETAW 0x5403
     25 #define TCSETAF 0x5404
     26 #define TCSBRK 0x5405
     27 #define TCXONC 0x5406
     28 #define TCFLSH 0x5407
     29 #define TCGETS 0x540d
     30 #define TCSETS 0x540e
     31 #define TCSETSW 0x540f
     32 #define TCSETSF 0x5410
     33 #define TIOCEXCL 0x740d
     34 #define TIOCNXCL 0x740e
     35 #define TIOCOUTQ 0x7472
     36 #define TIOCSTI 0x5472
     37 #define TIOCMGET 0x741d
     38 #define TIOCMBIS 0x741b
     39 #define TIOCMBIC 0x741c
     40 #define TIOCMSET 0x741a
     41 #define TIOCPKT 0x5470
     42 #define TIOCPKT_DATA 0x00
     43 #define TIOCPKT_FLUSHREAD 0x01
     44 #define TIOCPKT_FLUSHWRITE 0x02
     45 #define TIOCPKT_STOP 0x04
     46 #define TIOCPKT_START 0x08
     47 #define TIOCPKT_NOSTOP 0x10
     48 #define TIOCPKT_DOSTOP 0x20
     49 #define TIOCPKT_IOCTL 0x40
     50 #define TIOCSWINSZ _IOW('t', 103, struct winsize)
     51 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
     52 #define TIOCNOTTY 0x5471
     53 #define TIOCSETD 0x7401
     54 #define TIOCGETD 0x7400
     55 #define FIOCLEX 0x6601
     56 #define FIONCLEX 0x6602
     57 #define FIOASYNC 0x667d
     58 #define FIONBIO 0x667e
     59 #define FIOQSIZE 0x667f
     60 #define TIOCGLTC 0x7474
     61 #define TIOCSLTC 0x7475
     62 #define TIOCSPGRP _IOW('t', 118, int)
     63 #define TIOCGPGRP _IOR('t', 119, int)
     64 #define TIOCCONS _IOW('t', 120, int)
     65 #define FIONREAD 0x467f
     66 #define TIOCINQ FIONREAD
     67 #define TIOCGETP 0x7408
     68 #define TIOCSETP 0x7409
     69 #define TIOCSETN 0x740a
     70 #define TIOCSBRK 0x5427
     71 #define TIOCCBRK 0x5428
     72 #define TIOCGSID 0x7416
     73 #define TCGETS2 _IOR('T', 0x2A, struct termios2)
     74 #define TCSETS2 _IOW('T', 0x2B, struct termios2)
     75 #define TCSETSW2 _IOW('T', 0x2C, struct termios2)
     76 #define TCSETSF2 _IOW('T', 0x2D, struct termios2)
     77 #define TIOCGRS485 _IOR('T', 0x2E, struct serial_rs485)
     78 #define TIOCSRS485 _IOWR('T', 0x2F, struct serial_rs485)
     79 #define TIOCGPTN _IOR('T', 0x30, unsigned int)
     80 #define TIOCSPTLCK _IOW('T', 0x31, int)
     81 #define TIOCGDEV _IOR('T', 0x32, unsigned int)
     82 #define TIOCSIG _IOW('T', 0x36, int)
     83 #define TIOCVHANGUP 0x5437
     84 #define TIOCGPKT _IOR('T', 0x38, int)
     85 #define TIOCGPTLCK _IOR('T', 0x39, int)
     86 #define TIOCGEXCL _IOR('T', 0x40, int)
     87 #define TIOCGPTPEER _IO('T', 0x41)
     88 #define TIOCSCTTY 0x5480
     89 #define TIOCGSOFTCAR 0x5481
     90 #define TIOCSSOFTCAR 0x5482
     91 #define TIOCLINUX 0x5483
     92 #define TIOCGSERIAL 0x5484
     93 #define TIOCSSERIAL 0x5485
     94 #define TCSBRKP 0x5486
     95 #define TIOCSERCONFIG 0x5488
     96 #define TIOCSERGWILD 0x5489
     97 #define TIOCSERSWILD 0x548a
     98 #define TIOCGLCKTRMIOS 0x548b
     99 #define TIOCSLCKTRMIOS 0x548c
    100 #define TIOCSERGSTRUCT 0x548d
    101 #define TIOCSERGETLSR 0x548e
    102 #define TIOCSERGETMULTI 0x548f
    103 #define TIOCSERSETMULTI 0x5490
    104 #define TIOCMIWAIT 0x5491
    105 #define TIOCGICOUNT 0x5492
    106 #endif
    107