XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions | Variables
termios.h File Reference
#include <linux/kernel.h>
#include <asm-generic/ioctls.h>
Include dependency graph for termios.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  termios
 
struct  termios2
 
struct  ktermios
 
struct  winsize
 
struct  termio
 

Macros

#define TIOCM_LE   0x001
 
#define TIOCM_DTR   0x002
 
#define TIOCM_RTS   0x004
 
#define TIOCM_ST   0x008
 
#define TIOCM_SR   0x010
 
#define TIOCM_CTS   0x020
 
#define TIOCM_CAR   0x040
 
#define TIOCM_RNG   0x080
 
#define TIOCM_DSR   0x100
 
#define TIOCM_CD   TIOCM_CAR
 
#define TIOCM_RI   TIOCM_RNG
 
#define TIOCM_OUT1   0x2000
 
#define TIOCM_OUT2   0x4000
 
#define TIOCM_LOOP   0x8000
 
#define IGNBRK   0x001 /* Ignore break condition */
 
#define BRKINT   0x002 /* Signal interrupt on break */
 
#define IGNPAR   0x004 /* Ignore characters with parity errors */
 
#define PARMRK   0x008 /* Mark parity and framing errors */
 
#define INPCK   0x010 /* Enable input parity check */
 
#define ISTRIP   0x020 /* Strip 8th bit off characters */
 
#define INLCR   0x040 /* Map NL to CR on input */
 
#define IGNCR   0x080 /* Ignore CR */
 
#define ICRNL   0x100 /* Map CR to NL on input */
 
#define IXANY   0x800 /* Any character will restart after stop */
 
#define IUCLC   0x0200
 
#define IXON   0x0400
 
#define IXOFF   0x1000
 
#define IMAXBEL   0x2000
 
#define IUTF8   0x4000
 
#define OPOST   0x01 /* Perform output processing */
 
#define OLCUC   0x00002
 
#define ONLCR   0x00004
 
#define OCRNL   0x08
 
#define ONOCR   0x10
 
#define ONLRET   0x20
 
#define OFILL   0x40
 
#define OFDEL   0x80
 
#define NLDLY   0x00100
 
#define NL0   0x00000
 
#define NL1   0x00100
 
#define CRDLY   0x00600
 
#define CR0   0x00000
 
#define CR1   0x00200
 
#define CR2   0x00400
 
#define CR3   0x00600
 
#define TABDLY   0x01800
 
#define TAB0   0x00000
 
#define TAB1   0x00800
 
#define TAB2   0x01000
 
#define TAB3   0x01800
 
#define XTABS   0x01800
 
#define BSDLY   0x02000
 
#define BS0   0x00000
 
#define BS1   0x02000
 
#define VTDLY   0x04000
 
#define VT0   0x00000
 
#define VT1   0x04000
 
#define FFDLY   0x08000
 
#define FF0   0x00000
 
#define FF1   0x08000
 
#define CBAUD   0x0000100f
 
#define CSIZE   0x00000030
 
#define CS5   0x00000000
 
#define CS6   0x00000010
 
#define CS7   0x00000020
 
#define CS8   0x00000030
 
#define CSTOPB   0x00000040
 
#define CREAD   0x00000080
 
#define PARENB   0x00000100
 
#define PARODD   0x00000200
 
#define HUPCL   0x00000400
 
#define CLOCAL   0x00000800
 
#define CBAUDEX   0x00001000
 
#define BOTHER   0x00001000
 
#define B57600   0x00001001
 
#define B115200   0x00001002
 
#define B230400   0x00001003
 
#define B460800   0x00001004
 
#define B500000   0x00001005
 
#define B576000   0x00001006
 
#define B921600   0x00001007
 
#define B1000000   0x00001008
 
#define B1152000   0x00001009
 
#define B1500000   0x0000100a
 
#define B2000000   0x0000100b
 
#define B2500000   0x0000100c
 
#define B3000000   0x0000100d
 
#define B3500000   0x0000100e
 
#define B4000000   0x0000100f
 
#define CIBAUD   0x100f0000 /* input baud rate */
 
#define ADDRB   0x20000000
 
#define CMSPAR   0x40000000 /* mark or space (stick) parity */
 
#define CRTSCTS   0x80000000 /* flow control */
 
#define IBSHIFT   16 /* Shift from CBAUD to CIBAUD */
 
#define B0   0x00000000
 
#define B50   0x00000001
 
#define B75   0x00000002
 
#define B110   0x00000003
 
#define B134   0x00000004
 
#define B150   0x00000005
 
#define B200   0x00000006
 
#define B300   0x00000007
 
#define B600   0x00000008
 
#define B1200   0x00000009
 
#define B1800   0x0000000a
 
#define B2400   0x0000000b
 
#define B4800   0x0000000c
 
#define B9600   0x0000000d
 
#define B19200   0x0000000e
 
#define B38400   0x0000000f
 
#define EXTA   B19200
 
#define EXTB   B38400
 
#define ISIG   0x00001
 
#define ICANON   0x00002
 
#define XCASE   0x00004
 
#define ECHO   0x00008
 
#define ECHOE   0x00010
 
#define ECHOK   0x00020
 
#define ECHONL   0x00040
 
#define NOFLSH   0x00080
 
#define TOSTOP   0x00100
 
#define ECHOCTL   0x00200
 
#define ECHOPRT   0x00400
 
#define ECHOKE   0x00800
 
#define FLUSHO   0x01000
 
#define PENDIN   0x04000
 
#define IEXTEN   0x08000
 
#define EXTPROC   0x10000
 
#define TCOOFF   0
 
#define TCOON   1
 
#define TCIOFF   2
 
#define TCION   3
 
#define TCIFLUSH   0
 
#define TCOFLUSH   1
 
#define TCIOFLUSH   2
 
#define TCSANOW   0
 
#define TCSADRAIN   1
 
#define TCSAFLUSH   2
 
#define NCCS   19
 
#define VINTR   0
 
#define VQUIT   1
 
#define VERASE   2
 
#define VKILL   3
 
#define VEOF   4
 
#define VTIME   5
 
#define VMIN   6
 
#define VSWTC   7
 
#define VSTART   8
 
#define VSTOP   9
 
#define VSUSP   10
 
#define VEOL   11
 
#define VREPRINT   12
 
#define VDISCARD   13
 
#define VWERASE   14
 
#define VLNEXT   15
 
#define VEOL2   16
 
#define NCC   8
 

Typedefs

typedef unsigned char cc_t
 
typedef unsigned int speed_t
 
typedef unsigned int tcflag_t
 

Functions

void tty_termios_copy_hw (struct ktermios *new, const struct ktermios *old)
 

Variables

struct ktermios tty_std_termios
 

Macro Definition Documentation

◆ ADDRB

#define ADDRB   0x20000000

◆ B0

#define B0   0x00000000

◆ B1000000

#define B1000000   0x00001008

◆ B110

#define B110   0x00000003

◆ B115200

#define B115200   0x00001002

◆ B1152000

#define B1152000   0x00001009

◆ B1200

#define B1200   0x00000009

◆ B134

#define B134   0x00000004

◆ B150

#define B150   0x00000005

◆ B1500000

#define B1500000   0x0000100a

◆ B1800

#define B1800   0x0000000a

◆ B19200

#define B19200   0x0000000e

◆ B200

#define B200   0x00000006

◆ B2000000

#define B2000000   0x0000100b

◆ B230400

#define B230400   0x00001003

◆ B2400

#define B2400   0x0000000b

◆ B2500000

#define B2500000   0x0000100c

◆ B300

#define B300   0x00000007

◆ B3000000

#define B3000000   0x0000100d

◆ B3500000

#define B3500000   0x0000100e

◆ B38400

#define B38400   0x0000000f

◆ B4000000

#define B4000000   0x0000100f

◆ B460800

#define B460800   0x00001004

◆ B4800

#define B4800   0x0000000c

◆ B50

#define B50   0x00000001

◆ B500000

#define B500000   0x00001005

◆ B57600

#define B57600   0x00001001

◆ B576000

#define B576000   0x00001006

◆ B600

#define B600   0x00000008

◆ B75

#define B75   0x00000002

◆ B921600

#define B921600   0x00001007

◆ B9600

#define B9600   0x0000000d

◆ BOTHER

#define BOTHER   0x00001000

◆ BRKINT

#define BRKINT   0x002 /* Signal interrupt on break */

◆ BS0

#define BS0   0x00000

◆ BS1

#define BS1   0x02000

◆ BSDLY

#define BSDLY   0x02000

◆ CBAUD

#define CBAUD   0x0000100f

◆ CBAUDEX

#define CBAUDEX   0x00001000

◆ CIBAUD

#define CIBAUD   0x100f0000 /* input baud rate */

◆ CLOCAL

#define CLOCAL   0x00000800

◆ CMSPAR

#define CMSPAR   0x40000000 /* mark or space (stick) parity */

◆ CR0

#define CR0   0x00000

◆ CR1

#define CR1   0x00200

◆ CR2

#define CR2   0x00400

◆ CR3

#define CR3   0x00600

◆ CRDLY

#define CRDLY   0x00600

◆ CREAD

#define CREAD   0x00000080

◆ CRTSCTS

#define CRTSCTS   0x80000000 /* flow control */

◆ CS5

#define CS5   0x00000000

◆ CS6

#define CS6   0x00000010

◆ CS7

#define CS7   0x00000020

◆ CS8

#define CS8   0x00000030

◆ CSIZE

#define CSIZE   0x00000030

◆ CSTOPB

#define CSTOPB   0x00000040

◆ ECHO

#define ECHO   0x00008

◆ ECHOCTL

#define ECHOCTL   0x00200

◆ ECHOE

#define ECHOE   0x00010

◆ ECHOK

#define ECHOK   0x00020

◆ ECHOKE

#define ECHOKE   0x00800

◆ ECHONL

#define ECHONL   0x00040

◆ ECHOPRT

#define ECHOPRT   0x00400

◆ EXTA

#define EXTA   B19200

◆ EXTB

#define EXTB   B38400

◆ EXTPROC

#define EXTPROC   0x10000

◆ FF0

#define FF0   0x00000

◆ FF1

#define FF1   0x08000

◆ FFDLY

#define FFDLY   0x08000

◆ FLUSHO

#define FLUSHO   0x01000

◆ HUPCL

#define HUPCL   0x00000400

◆ IBSHIFT

#define IBSHIFT   16 /* Shift from CBAUD to CIBAUD */

◆ ICANON

#define ICANON   0x00002

◆ ICRNL

#define ICRNL   0x100 /* Map CR to NL on input */

◆ IEXTEN

#define IEXTEN   0x08000

◆ IGNBRK

#define IGNBRK   0x001 /* Ignore break condition */

◆ IGNCR

#define IGNCR   0x080 /* Ignore CR */

◆ IGNPAR

#define IGNPAR   0x004 /* Ignore characters with parity errors */

◆ IMAXBEL

#define IMAXBEL   0x2000

◆ INLCR

#define INLCR   0x040 /* Map NL to CR on input */

◆ INPCK

#define INPCK   0x010 /* Enable input parity check */

◆ ISIG

#define ISIG   0x00001

◆ ISTRIP

#define ISTRIP   0x020 /* Strip 8th bit off characters */

◆ IUCLC

#define IUCLC   0x0200

◆ IUTF8

#define IUTF8   0x4000

◆ IXANY

#define IXANY   0x800 /* Any character will restart after stop */

◆ IXOFF

#define IXOFF   0x1000

◆ IXON

#define IXON   0x0400

◆ NCC

#define NCC   8

◆ NCCS

#define NCCS   19

◆ NL0

#define NL0   0x00000

◆ NL1

#define NL1   0x00100

◆ NLDLY

#define NLDLY   0x00100

◆ NOFLSH

#define NOFLSH   0x00080

◆ OCRNL

#define OCRNL   0x08

◆ OFDEL

#define OFDEL   0x80

◆ OFILL

#define OFILL   0x40

◆ OLCUC

#define OLCUC   0x00002

◆ ONLCR

#define ONLCR   0x00004

◆ ONLRET

#define ONLRET   0x20

◆ ONOCR

#define ONOCR   0x10

◆ OPOST

#define OPOST   0x01 /* Perform output processing */

◆ PARENB

#define PARENB   0x00000100

◆ PARMRK

#define PARMRK   0x008 /* Mark parity and framing errors */

◆ PARODD

#define PARODD   0x00000200

◆ PENDIN

#define PENDIN   0x04000

◆ TAB0

#define TAB0   0x00000

◆ TAB1

#define TAB1   0x00800

◆ TAB2

#define TAB2   0x01000

◆ TAB3

#define TAB3   0x01800

◆ TABDLY

#define TABDLY   0x01800

◆ TCIFLUSH

#define TCIFLUSH   0

◆ TCIOFF

#define TCIOFF   2

◆ TCIOFLUSH

#define TCIOFLUSH   2

◆ TCION

#define TCION   3

◆ TCOFLUSH

#define TCOFLUSH   1

◆ TCOOFF

#define TCOOFF   0

◆ TCOON

#define TCOON   1

◆ TCSADRAIN

#define TCSADRAIN   1

◆ TCSAFLUSH

#define TCSAFLUSH   2

◆ TCSANOW

#define TCSANOW   0

◆ TIOCM_CAR

#define TIOCM_CAR   0x040

◆ TIOCM_CD

#define TIOCM_CD   TIOCM_CAR

◆ TIOCM_CTS

#define TIOCM_CTS   0x020

◆ TIOCM_DSR

#define TIOCM_DSR   0x100

◆ TIOCM_DTR

#define TIOCM_DTR   0x002

◆ TIOCM_LE

#define TIOCM_LE   0x001

◆ TIOCM_LOOP

#define TIOCM_LOOP   0x8000

◆ TIOCM_OUT1

#define TIOCM_OUT1   0x2000

◆ TIOCM_OUT2

#define TIOCM_OUT2   0x4000

◆ TIOCM_RI

#define TIOCM_RI   TIOCM_RNG

◆ TIOCM_RNG

#define TIOCM_RNG   0x080

◆ TIOCM_RTS

#define TIOCM_RTS   0x004

◆ TIOCM_SR

#define TIOCM_SR   0x010

◆ TIOCM_ST

#define TIOCM_ST   0x008

◆ TOSTOP

#define TOSTOP   0x00100

◆ VDISCARD

#define VDISCARD   13

◆ VEOF

#define VEOF   4

◆ VEOL

#define VEOL   11

◆ VEOL2

#define VEOL2   16

◆ VERASE

#define VERASE   2

◆ VINTR

#define VINTR   0

◆ VKILL

#define VKILL   3

◆ VLNEXT

#define VLNEXT   15

◆ VMIN

#define VMIN   6

◆ VQUIT

#define VQUIT   1

◆ VREPRINT

#define VREPRINT   12

◆ VSTART

#define VSTART   8

◆ VSTOP

#define VSTOP   9

◆ VSUSP

#define VSUSP   10

◆ VSWTC

#define VSWTC   7

◆ VT0

#define VT0   0x00000

◆ VT1

#define VT1   0x04000

◆ VTDLY

#define VTDLY   0x04000

◆ VTIME

#define VTIME   5

◆ VWERASE

#define VWERASE   14

◆ XCASE

#define XCASE   0x00004

◆ XTABS

#define XTABS   0x01800

Typedef Documentation

◆ cc_t

typedef unsigned char cc_t

◆ speed_t

typedef unsigned int speed_t

◆ tcflag_t

typedef unsigned int tcflag_t

Function Documentation

◆ tty_termios_copy_hw()

void tty_termios_copy_hw ( struct ktermios *  new,
const struct ktermios *  old 
)

Variable Documentation

◆ tty_std_termios

struct ktermios tty_std_termios
extern