Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
unit-init.c File Reference
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <asm/io.h>
#include <asm/setup.h>
#include <asm/processor.h>
#include <asm/irq.h>
#include <asm/intctl-regs.h>
#include <asm/serial-regs.h>
#include <unit/fpga-regs.h>
#include <unit/serial.h>
#include <unit/smsc911x.h>

Go to the source code of this file.

Macros

#define TTYS0_SERIAL_IER   __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_IER * 2, u8)
 
#define LAN_IRQ_CFG   __SYSREG(SMSC911X_BASE + 0x54, u32)
 
#define LAN_INT_EN   __SYSREG(SMSC911X_BASE + 0x5c, u32)
 
#define IRQCTL   __SYSREG(0xd5000090, u32)
 

Functions

asmlinkage void __init unit_init (void)
 
asmlinkage void __init unit_setup (void)
 
void __init unit_init_IRQ (void)
 

Macro Definition Documentation

#define IRQCTL   __SYSREG(0xd5000090, u32)
#define LAN_INT_EN   __SYSREG(SMSC911X_BASE + 0x5c, u32)

Definition at line 30 of file unit-init.c.

#define LAN_IRQ_CFG   __SYSREG(SMSC911X_BASE + 0x54, u32)

Definition at line 29 of file unit-init.c.

#define TTYS0_SERIAL_IER   __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_IER * 2, u8)

Definition at line 28 of file unit-init.c.

Function Documentation

asmlinkage void __init unit_init ( void  )

Definition at line 35 of file unit-init.c.

void __init unit_init_IRQ ( void  )

Definition at line 109 of file unit-init.c.

asmlinkage void __init unit_setup ( void  )

Definition at line 85 of file unit-init.c.