Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
virtex.c File Reference
#include "ops.h"
#include "io.h"
#include "stdio.h"

Go to the source code of this file.

Macros

#define UART_DLL   0 /* Out: Divisor Latch Low */
 
#define UART_DLM   1 /* Out: Divisor Latch High */
 
#define UART_FCR   2 /* Out: FIFO Control Register */
 
#define UART_FCR_CLEAR_RCVR   0x02 /* Clear the RCVR FIFO */
 
#define UART_FCR_CLEAR_XMIT   0x04 /* Clear the XMIT FIFO */
 
#define UART_LCR   3 /* Out: Line Control Register */
 
#define UART_MCR   4 /* Out: Modem Control Register */
 
#define UART_MCR_RTS   0x02 /* RTS complement */
 
#define UART_MCR_DTR   0x01 /* DTR complement */
 
#define UART_LCR_DLAB   0x80 /* Divisor latch access bit */
 
#define UART_LCR_WLEN8   0x03 /* Wordlength: 8 bits */
 

Functions

int platform_specific_init (void)
 

Macro Definition Documentation

#define UART_DLL   0 /* Out: Divisor Latch Low */

Definition at line 16 of file virtex.c.

#define UART_DLM   1 /* Out: Divisor Latch High */

Definition at line 17 of file virtex.c.

#define UART_FCR   2 /* Out: FIFO Control Register */

Definition at line 18 of file virtex.c.

#define UART_FCR_CLEAR_RCVR   0x02 /* Clear the RCVR FIFO */

Definition at line 19 of file virtex.c.

#define UART_FCR_CLEAR_XMIT   0x04 /* Clear the XMIT FIFO */

Definition at line 20 of file virtex.c.

#define UART_LCR   3 /* Out: Line Control Register */

Definition at line 21 of file virtex.c.

#define UART_LCR_DLAB   0x80 /* Divisor latch access bit */

Definition at line 25 of file virtex.c.

#define UART_LCR_WLEN8   0x03 /* Wordlength: 8 bits */

Definition at line 26 of file virtex.c.

#define UART_MCR   4 /* Out: Modem Control Register */

Definition at line 22 of file virtex.c.

#define UART_MCR_DTR   0x01 /* DTR complement */

Definition at line 24 of file virtex.c.

#define UART_MCR_RTS   0x02 /* RTS complement */

Definition at line 23 of file virtex.c.

Function Documentation

int platform_specific_init ( void  )

Definition at line 79 of file virtex.c.