Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mpsc.c File Reference
#include <stdarg.h>
#include <stddef.h>
#include "types.h"
#include "string.h"
#include "stdio.h"
#include "io.h"
#include "ops.h"

Go to the source code of this file.

Macros

#define MPSC_CHR_1   0x000c
 
#define MPSC_CHR_2   0x0010
 
#define MPSC_CHR_2_TA   (1<<7)
 
#define MPSC_CHR_2_TCS   (1<<9)
 
#define MPSC_CHR_2_RA   (1<<23)
 
#define MPSC_CHR_2_CRD   (1<<25)
 
#define MPSC_CHR_2_EH   (1<<31)
 
#define MPSC_CHR_4   0x0018
 
#define MPSC_CHR_4_Z   (1<<29)
 
#define MPSC_CHR_5   0x001c
 
#define MPSC_CHR_5_CTL1_INTR   (1<<12)
 
#define MPSC_CHR_5_CTL1_VALID   (1<<15)
 
#define MPSC_CHR_10   0x0030
 
#define MPSC_INTR_CAUSE   0x0000
 
#define MPSC_INTR_CAUSE_RCC   (1<<6)
 
#define MPSC_INTR_MASK   0x0080
 
#define SDMA_SDCM   0x0008
 
#define SDMA_SDCM_AR   (1<<15)
 
#define SDMA_SDCM_AT   (1<<31)
 

Functions

int mpsc_console_init (void *devp, struct serial_console_data *scdp)
 

Macro Definition Documentation

#define MPSC_CHR_1   0x000c

Definition at line 21 of file mpsc.c.

#define MPSC_CHR_10   0x0030

Definition at line 37 of file mpsc.c.

#define MPSC_CHR_2   0x0010

Definition at line 23 of file mpsc.c.

#define MPSC_CHR_2_CRD   (1<<25)

Definition at line 27 of file mpsc.c.

#define MPSC_CHR_2_EH   (1<<31)

Definition at line 28 of file mpsc.c.

#define MPSC_CHR_2_RA   (1<<23)

Definition at line 26 of file mpsc.c.

#define MPSC_CHR_2_TA   (1<<7)

Definition at line 24 of file mpsc.c.

#define MPSC_CHR_2_TCS   (1<<9)

Definition at line 25 of file mpsc.c.

#define MPSC_CHR_4   0x0018

Definition at line 30 of file mpsc.c.

#define MPSC_CHR_4_Z   (1<<29)

Definition at line 31 of file mpsc.c.

#define MPSC_CHR_5   0x001c

Definition at line 33 of file mpsc.c.

#define MPSC_CHR_5_CTL1_INTR   (1<<12)

Definition at line 34 of file mpsc.c.

#define MPSC_CHR_5_CTL1_VALID   (1<<15)

Definition at line 35 of file mpsc.c.

#define MPSC_INTR_CAUSE   0x0000

Definition at line 39 of file mpsc.c.

#define MPSC_INTR_CAUSE_RCC   (1<<6)

Definition at line 40 of file mpsc.c.

#define MPSC_INTR_MASK   0x0080

Definition at line 41 of file mpsc.c.

#define SDMA_SDCM   0x0008

Definition at line 43 of file mpsc.c.

#define SDMA_SDCM_AR   (1<<15)

Definition at line 44 of file mpsc.c.

#define SDMA_SDCM_AT   (1<<31)

Definition at line 45 of file mpsc.c.

Function Documentation

int mpsc_console_init ( void devp,
struct serial_console_data scdp 
)

Definition at line 125 of file mpsc.c.