Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
py-console.c File Reference
#include <linux/init.h>
#include <linux/console.h>
#include <linux/kdev_t.h>
#include <linux/major.h>
#include <linux/termios.h>
#include <linux/sched.h>
#include <linux/tty.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <asm/serial.h>
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  yo_uartregs
 

Macros

#define iu_rbr   u1.rbr
 
#define iu_thr   u1.thr
 
#define iu_dll   u1.dll
 
#define iu_ier   u2.ier
 
#define iu_dlm   u2.dlm
 
#define iu_iir   u3.iir
 
#define iu_fcr   u3.fcr
 
#define ssnop()   __asm__ __volatile__("sll $0, $0, 1\n");
 
#define ssnop_4()   do { ssnop(); ssnop(); ssnop(); ssnop(); } while (0)
 
#define IO_BASE_64   0x9000000000000000ULL
 

Functions

void prom_putchar (char c)
 

Variables

struct yo_uartregs yo_uregs_t
 

Macro Definition Documentation

#define IO_BASE_64   0x9000000000000000ULL

Definition at line 54 of file py-console.c.

#define iu_dll   u1.dll

Definition at line 45 of file py-console.c.

#define iu_dlm   u2.dlm

Definition at line 47 of file py-console.c.

#define iu_fcr   u3.fcr

Definition at line 49 of file py-console.c.

#define iu_ier   u2.ier

Definition at line 46 of file py-console.c.

#define iu_iir   u3.iir

Definition at line 48 of file py-console.c.

#define iu_rbr   u1.rbr

Definition at line 43 of file py-console.c.

#define iu_thr   u1.thr

Definition at line 44 of file py-console.c.

#define ssnop ( )    __asm__ __volatile__("sll $0, $0, 1\n");

Definition at line 51 of file py-console.c.

#define ssnop_4 ( )    do { ssnop(); ssnop(); ssnop(); ssnop(); } while (0)

Definition at line 52 of file py-console.c.

Function Documentation

void prom_putchar ( char  c)

Definition at line 102 of file py-console.c.

Variable Documentation

struct yo_uartregs yo_uregs_t