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

Go to the source code of this file.

Data Structures

struct  old_serial_port
 

Macros

#define SPK_SERIAL_TIMEOUT   100000
 
#define SPK_XMITR_TIMEOUT   100000
 
#define SPK_CTS_TIMEOUT   100000
 
#define SPK_LO_TTY   0
 
#define SPK_HI_TTY   3
 
#define NUM_DISABLE_TIMEOUTS   3
 
#define SPK_TIMEOUT   100
 
#define BOTH_EMPTY   (UART_LSR_TEMT | UART_LSR_THRE)
 
#define spk_serial_tx_busy()   ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
 
#define BASE_BAUD   (1843200 / 16)
 
#define STD_COM_FLAGS   (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
#define STD_COM4_FLAGS   ASYNC_BOOT_AUTOCONF
 
#define SERIAL_PORT_DFNS
 
#define IRQF_SHARED   SA_SHIRQ
 

Macro Definition Documentation

#define BASE_BAUD   (1843200 / 16)

Definition at line 42 of file serialio.h.

#define BOTH_EMPTY   (UART_LSR_TEMT | UART_LSR_THRE)

Definition at line 35 of file serialio.h.

#define IRQF_SHARED   SA_SHIRQ

Definition at line 62 of file serialio.h.

#define NUM_DISABLE_TIMEOUTS   3

Definition at line 32 of file serialio.h.

#define SERIAL_PORT_DFNS
Value:
/* UART CLK PORT IRQ FLAGS */ \
{ 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS }, /* ttyS0 */ \
{ 0, BASE_BAUD, 0x2F8, 3, STD_COM_FLAGS }, /* ttyS1 */ \
{ 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS }, /* ttyS2 */ \
{ 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */

Definition at line 54 of file serialio.h.

#define SPK_CTS_TIMEOUT   100000

Definition at line 27 of file serialio.h.

#define SPK_HI_TTY   3

Definition at line 30 of file serialio.h.

#define SPK_LO_TTY   0

Definition at line 29 of file serialio.h.

#define SPK_SERIAL_TIMEOUT   100000

Definition at line 23 of file serialio.h.

#define spk_serial_tx_busy ( )    ((inb(speakup_info.port_tts + UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)

Definition at line 37 of file serialio.h.

#define SPK_TIMEOUT   100

Definition at line 34 of file serialio.h.

#define SPK_XMITR_TIMEOUT   100000

Definition at line 25 of file serialio.h.

#define STD_COM4_FLAGS   ASYNC_BOOT_AUTOCONF

Definition at line 50 of file serialio.h.

#define STD_COM_FLAGS   (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)

Definition at line 49 of file serialio.h.