~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/asm-generic/termbits-common.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/asm-generic/termbits-common.h (Version linux-6.12-rc7) and /include/uapi/asm-generic/termbits-common.h (Version linux-6.8.12)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2 #ifndef __ASM_GENERIC_TERMBITS_COMMON_H             2 #ifndef __ASM_GENERIC_TERMBITS_COMMON_H
  3 #define __ASM_GENERIC_TERMBITS_COMMON_H             3 #define __ASM_GENERIC_TERMBITS_COMMON_H
  4                                                     4 
  5 typedef unsigned char   cc_t;                       5 typedef unsigned char   cc_t;
  6 typedef unsigned int    speed_t;                    6 typedef unsigned int    speed_t;
  7                                                     7 
  8 /* c_iflag bits */                                  8 /* c_iflag bits */
  9 #define IGNBRK  0x001                   /* Ign      9 #define IGNBRK  0x001                   /* Ignore break condition */
 10 #define BRKINT  0x002                   /* Sig     10 #define BRKINT  0x002                   /* Signal interrupt on break */
 11 #define IGNPAR  0x004                   /* Ign     11 #define IGNPAR  0x004                   /* Ignore characters with parity errors */
 12 #define PARMRK  0x008                   /* Mar     12 #define PARMRK  0x008                   /* Mark parity and framing errors */
 13 #define INPCK   0x010                   /* Ena     13 #define INPCK   0x010                   /* Enable input parity check */
 14 #define ISTRIP  0x020                   /* Str     14 #define ISTRIP  0x020                   /* Strip 8th bit off characters */
 15 #define INLCR   0x040                   /* Map     15 #define INLCR   0x040                   /* Map NL to CR on input */
 16 #define IGNCR   0x080                   /* Ign     16 #define IGNCR   0x080                   /* Ignore CR */
 17 #define ICRNL   0x100                   /* Map     17 #define ICRNL   0x100                   /* Map CR to NL on input */
 18 #define IXANY   0x800                   /* Any     18 #define IXANY   0x800                   /* Any character will restart after stop */
 19                                                    19 
 20 /* c_oflag bits */                                 20 /* c_oflag bits */
 21 #define OPOST   0x01                    /* Per     21 #define OPOST   0x01                    /* Perform output processing */
 22 #define OCRNL   0x08                               22 #define OCRNL   0x08
 23 #define ONOCR   0x10                               23 #define ONOCR   0x10
 24 #define ONLRET  0x20                               24 #define ONLRET  0x20
 25 #define OFILL   0x40                               25 #define OFILL   0x40
 26 #define OFDEL   0x80                               26 #define OFDEL   0x80
 27                                                    27 
 28 /* c_cflag bit meaning */                          28 /* c_cflag bit meaning */
 29 /* Common CBAUD rates */                           29 /* Common CBAUD rates */
 30 #define     B0          0x00000000      /* han     30 #define     B0          0x00000000      /* hang up */
 31 #define    B50          0x00000001                 31 #define    B50          0x00000001
 32 #define    B75          0x00000002                 32 #define    B75          0x00000002
 33 #define   B110          0x00000003                 33 #define   B110          0x00000003
 34 #define   B134          0x00000004                 34 #define   B134          0x00000004
 35 #define   B150          0x00000005                 35 #define   B150          0x00000005
 36 #define   B200          0x00000006                 36 #define   B200          0x00000006
 37 #define   B300          0x00000007                 37 #define   B300          0x00000007
 38 #define   B600          0x00000008                 38 #define   B600          0x00000008
 39 #define  B1200          0x00000009                 39 #define  B1200          0x00000009
 40 #define  B1800          0x0000000a                 40 #define  B1800          0x0000000a
 41 #define  B2400          0x0000000b                 41 #define  B2400          0x0000000b
 42 #define  B4800          0x0000000c                 42 #define  B4800          0x0000000c
 43 #define  B9600          0x0000000d                 43 #define  B9600          0x0000000d
 44 #define B19200          0x0000000e                 44 #define B19200          0x0000000e
 45 #define B38400          0x0000000f                 45 #define B38400          0x0000000f
 46 #define EXTA            B19200                     46 #define EXTA            B19200
 47 #define EXTB            B38400                     47 #define EXTB            B38400
 48                                                    48 
 49 #define ADDRB           0x20000000      /* add     49 #define ADDRB           0x20000000      /* address bit */
 50 #define CMSPAR          0x40000000      /* mar     50 #define CMSPAR          0x40000000      /* mark or space (stick) parity */
 51 #define CRTSCTS         0x80000000      /* flo     51 #define CRTSCTS         0x80000000      /* flow control */
 52                                                    52 
 53 #define IBSHIFT         16              /* Shi     53 #define IBSHIFT         16              /* Shift from CBAUD to CIBAUD */
 54                                                    54 
 55 /* tcflow() ACTION argument and TCXONC use the     55 /* tcflow() ACTION argument and TCXONC use these */
 56 #define TCOOFF          0               /* Sus     56 #define TCOOFF          0               /* Suspend output */
 57 #define TCOON           1               /* Res     57 #define TCOON           1               /* Restart suspended output */
 58 #define TCIOFF          2               /* Sen     58 #define TCIOFF          2               /* Send a STOP character */
 59 #define TCION           3               /* Sen     59 #define TCION           3               /* Send a START character */
 60                                                    60 
 61 /* tcflush() QUEUE_SELECTOR argument and TCFLS     61 /* tcflush() QUEUE_SELECTOR argument and TCFLSH use these */
 62 #define TCIFLUSH        0               /* Dis     62 #define TCIFLUSH        0               /* Discard data received but not yet read */
 63 #define TCOFLUSH        1               /* Dis     63 #define TCOFLUSH        1               /* Discard data written but not yet sent */
 64 #define TCIOFLUSH       2               /* Dis     64 #define TCIOFLUSH       2               /* Discard all pending data */
 65                                                    65 
 66 #endif /* __ASM_GENERIC_TERMBITS_COMMON_H */       66 #endif /* __ASM_GENERIC_TERMBITS_COMMON_H */
 67                                                    67 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php