Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
serial.h File Reference
#include <linux/types.h>
#include <linux/tty_flags.h>

Go to the source code of this file.

Data Structures

struct  serial_struct
 
struct  serial_multiport_struct
 
struct  serial_icounter_struct
 
struct  serial_rs485
 

Macros

#define ASYNC_CLOSING_WAIT_INF   0
 
#define ASYNC_CLOSING_WAIT_NONE   65535
 
#define PORT_UNKNOWN   0
 
#define PORT_8250   1
 
#define PORT_16450   2
 
#define PORT_16550   3
 
#define PORT_16550A   4
 
#define PORT_CIRRUS   5 /* usurped by cyclades.c */
 
#define PORT_16650   6
 
#define PORT_16650V2   7
 
#define PORT_16750   8
 
#define PORT_STARTECH   9 /* usurped by cyclades.c */
 
#define PORT_16C950   10 /* Oxford Semiconductor */
 
#define PORT_16654   11
 
#define PORT_16850   12
 
#define PORT_RSA   13 /* RSA-DV II/S card */
 
#define PORT_MAX   13
 
#define SERIAL_IO_PORT   0
 
#define SERIAL_IO_HUB6   1
 
#define SERIAL_IO_MEM   2
 
#define UART_CLEAR_FIFO   0x01
 
#define UART_USE_FIFO   0x02
 
#define UART_STARTECH   0x04
 
#define UART_NATSEMI   0x08
 
#define SER_RS485_ENABLED   (1 << 0) /* If enabled */
 
#define SER_RS485_RTS_ON_SEND
 
#define SER_RS485_RTS_AFTER_SEND
 
#define SER_RS485_RX_DURING_TX   (1 << 4)
 

Macro Definition Documentation

#define ASYNC_CLOSING_WAIT_INF   0

Definition at line 43 of file serial.h.

#define ASYNC_CLOSING_WAIT_NONE   65535

Definition at line 44 of file serial.h.

#define PORT_16450   2

Definition at line 51 of file serial.h.

#define PORT_16550   3

Definition at line 52 of file serial.h.

#define PORT_16550A   4

Definition at line 53 of file serial.h.

#define PORT_16650   6

Definition at line 55 of file serial.h.

#define PORT_16650V2   7

Definition at line 56 of file serial.h.

#define PORT_16654   11

Definition at line 60 of file serial.h.

#define PORT_16750   8

Definition at line 57 of file serial.h.

#define PORT_16850   12

Definition at line 61 of file serial.h.

#define PORT_16C950   10 /* Oxford Semiconductor */

Definition at line 59 of file serial.h.

#define PORT_8250   1

Definition at line 50 of file serial.h.

#define PORT_CIRRUS   5 /* usurped by cyclades.c */

Definition at line 54 of file serial.h.

#define PORT_MAX   13

Definition at line 63 of file serial.h.

#define PORT_RSA   13 /* RSA-DV II/S card */

Definition at line 62 of file serial.h.

#define PORT_STARTECH   9 /* usurped by cyclades.c */

Definition at line 58 of file serial.h.

#define PORT_UNKNOWN   0

Definition at line 49 of file serial.h.

#define SER_RS485_ENABLED   (1 << 0) /* If enabled */

Definition at line 113 of file serial.h.

#define SER_RS485_RTS_AFTER_SEND
Value:
(1 << 2) /* Logical level for
RTS pin after sent*/

Definition at line 115 of file serial.h.

#define SER_RS485_RTS_ON_SEND
Value:
(1 << 1) /* Logical level for
RTS pin when
sending */

Definition at line 114 of file serial.h.

#define SER_RS485_RX_DURING_TX   (1 << 4)

Definition at line 116 of file serial.h.

#define SERIAL_IO_HUB6   1

Definition at line 66 of file serial.h.

#define SERIAL_IO_MEM   2

Definition at line 67 of file serial.h.

#define SERIAL_IO_PORT   0

Definition at line 65 of file serial.h.

#define UART_CLEAR_FIFO   0x01

Definition at line 69 of file serial.h.

#define UART_NATSEMI   0x08

Definition at line 72 of file serial.h.

#define UART_STARTECH   0x04

Definition at line 71 of file serial.h.

#define UART_USE_FIFO   0x02

Definition at line 70 of file serial.h.