linux/include/uapi/asm-generic/termbits-common.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef __ASM_GENERIC_TERMBITS_COMMON_H
#define __ASM_GENERIC_TERMBITS_COMMON_H

cc_t;
speed_t;

/* c_iflag bits */
#define IGNBRK
#define BRKINT
#define IGNPAR
#define PARMRK
#define INPCK
#define ISTRIP
#define INLCR
#define IGNCR
#define ICRNL
#define IXANY

/* c_oflag bits */
#define OPOST
#define OCRNL
#define ONOCR
#define ONLRET
#define OFILL
#define OFDEL

/* c_cflag bit meaning */
/* Common CBAUD rates */
#define B0
#define B50
#define B75
#define B110
#define B134
#define B150
#define B200
#define B300
#define B600
#define B1200
#define B1800
#define B2400
#define B4800
#define B9600
#define B19200
#define B38400
#define EXTA
#define EXTB

#define ADDRB
#define CMSPAR
#define CRTSCTS

#define IBSHIFT

/* tcflow() ACTION argument and TCXONC use these */
#define TCOOFF
#define TCOON
#define TCIOFF
#define TCION

/* tcflush() QUEUE_SELECTOR argument and TCFLSH use these */
#define TCIFLUSH
#define TCOFLUSH
#define TCIOFLUSH

#endif /* __ASM_GENERIC_TERMBITS_COMMON_H */