Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
common.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/dma-mapping.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/hardware/vic.h>
#include <asm/system_misc.h>
#include <mach/map.h>
#include <mach/hardware.h>
#include <mach/regs-gpio.h>
#include <plat/cpu.h>
#include <plat/clock.h>
#include <plat/devs.h>
#include <plat/pm.h>
#include <plat/gpio-cfg.h>
#include <plat/irq-uart.h>
#include <plat/irq-vic-timer.h>
#include <plat/regs-irqtype.h>
#include <plat/regs-serial.h>
#include <plat/watchdog-reset.h>
#include "common.h"

Go to the source code of this file.

Macros

#define UART_OFFS   (S3C_PA_UART & 0xfffff)
 
#define IRQ_VIC0_RESUME   (1 << (IRQ_RTC_TIC - IRQ_VIC0_BASE))
 
#define IRQ_VIC1_RESUME
 
#define eint_offset(irq)   ((irq) - IRQ_EINT(0))
 
#define eint_irq_to_bit(irq)   ((u32)(1 << eint_offset(irq)))
 

Functions

void __init s3c64xx_init_io (struct map_desc *mach_desc, int size)
 
 core_initcall (s3c64xx_dev_init)
 
void __init s3c64xx_init_irq (u32 vic0_valid, u32 vic1_valid)
 
 arch_initcall (s3c64xx_init_irq_eint)
 
void s3c64xx_restart (char mode, const char *cmd)
 
void __init s3c64xx_init_late (void)
 

Macro Definition Documentation

#define eint_irq_to_bit (   irq)    ((u32)(1 << eint_offset(irq)))

Definition at line 198 of file common.c.

#define eint_offset (   irq)    ((irq) - IRQ_EINT(0))

Definition at line 197 of file common.c.

#define IRQ_VIC0_RESUME   (1 << (IRQ_RTC_TIC - IRQ_VIC0_BASE))

Definition at line 178 of file common.c.

#define IRQ_VIC1_RESUME
Value:

Definition at line 179 of file common.c.

#define UART_OFFS   (S3C_PA_UART & 0xfffff)

Definition at line 86 of file common.c.

Function Documentation

arch_initcall ( s3c64xx_init_irq_eint  )
core_initcall ( s3c64xx_dev_init  )
void __init s3c64xx_init_io ( struct map_desc mach_desc,
int  size 
)

Definition at line 153 of file common.c.

void __init s3c64xx_init_irq ( u32  vic0_valid,
u32  vic1_valid 
)

Definition at line 185 of file common.c.

void __init s3c64xx_init_late ( void  )

Definition at line 388 of file common.c.

void s3c64xx_restart ( char  mode,
const char cmd 
)

Definition at line 379 of file common.c.