Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
spear300.c File Reference
#include <linux/amba/pl08x.h>
#include <linux/of_platform.h>
#include <asm/hardware/vic.h>
#include <asm/mach/arch.h>
#include <plat/shirq.h>
#include <mach/generic.h>
#include <mach/spear.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   "SPEAr300: " fmt
 
#define SPEAR300_TELECOM_BASE   UL(0x50000000)
 
#define SPEAR300_INT_ENB_MASK_REG   0x54
 
#define SPEAR300_INT_STS_MASK_REG   0x58
 
#define SPEAR300_IT_PERS_S_IRQ_MASK   (1 << 0)
 
#define SPEAR300_IT_CHANGE_S_IRQ_MASK   (1 << 1)
 
#define SPEAR300_I2S_IRQ_MASK   (1 << 2)
 
#define SPEAR300_TDM_IRQ_MASK   (1 << 3)
 
#define SPEAR300_CAMERA_L_IRQ_MASK   (1 << 4)
 
#define SPEAR300_CAMERA_F_IRQ_MASK   (1 << 5)
 
#define SPEAR300_CAMERA_V_IRQ_MASK   (1 << 6)
 
#define SPEAR300_KEYBOARD_IRQ_MASK   (1 << 7)
 
#define SPEAR300_GPIO1_IRQ_MASK   (1 << 8)
 
#define SPEAR300_SHIRQ_RAS1_MASK   0x1FF
 
#define SPEAR300_SOC_CONFIG_BASE   UL(0x99000000)
 
#define SPEAR300_VIRQ_IT_PERS_S   (SPEAR3XX_VIRQ_START + 0)
 
#define SPEAR300_VIRQ_IT_CHANGE_S   (SPEAR3XX_VIRQ_START + 1)
 
#define SPEAR300_VIRQ_I2S   (SPEAR3XX_VIRQ_START + 2)
 
#define SPEAR300_VIRQ_TDM   (SPEAR3XX_VIRQ_START + 3)
 
#define SPEAR300_VIRQ_CAMERA_L   (SPEAR3XX_VIRQ_START + 4)
 
#define SPEAR300_VIRQ_CAMERA_F   (SPEAR3XX_VIRQ_START + 5)
 
#define SPEAR300_VIRQ_CAMERA_V   (SPEAR3XX_VIRQ_START + 6)
 
#define SPEAR300_VIRQ_KEYBOARD   (SPEAR3XX_VIRQ_START + 7)
 
#define SPEAR300_VIRQ_GPIO1   (SPEAR3XX_VIRQ_START + 8)
 
#define SPEAR300_IRQ_CLCD   SPEAR3XX_IRQ_GEN_RAS_3
 
#define SPEAR300_IRQ_SDHCI   SPEAR3XX_IRQ_INTRCOMM_RAS_ARM
 

Variables

struct pl08x_channel_data spear300_dma_info []
 
 map_io = spear300_map_io
 
 init_irq = spear3xx_dt_init_irq
 
 handle_irq = vic_handle_irq
 
 timer = &spear3xx_timer
 
 init_machine = spear300_dt_init
 
 restart = spear_restart
 
 dt_compat = spear300_dt_board_compat
 

Macro Definition Documentation

#define pr_fmt (   fmt)    "SPEAr300: " fmt

Definition at line 14 of file spear300.c.

#define SPEAR300_CAMERA_F_IRQ_MASK   (1 << 5)

Definition at line 35 of file spear300.c.

#define SPEAR300_CAMERA_L_IRQ_MASK   (1 << 4)

Definition at line 34 of file spear300.c.

#define SPEAR300_CAMERA_V_IRQ_MASK   (1 << 6)

Definition at line 36 of file spear300.c.

#define SPEAR300_GPIO1_IRQ_MASK   (1 << 8)

Definition at line 38 of file spear300.c.

#define SPEAR300_I2S_IRQ_MASK   (1 << 2)

Definition at line 32 of file spear300.c.

#define SPEAR300_INT_ENB_MASK_REG   0x54

Definition at line 28 of file spear300.c.

#define SPEAR300_INT_STS_MASK_REG   0x58

Definition at line 29 of file spear300.c.

#define SPEAR300_IRQ_CLCD   SPEAR3XX_IRQ_GEN_RAS_3

Definition at line 58 of file spear300.c.

#define SPEAR300_IRQ_SDHCI   SPEAR3XX_IRQ_INTRCOMM_RAS_ARM

Definition at line 61 of file spear300.c.

#define SPEAR300_IT_CHANGE_S_IRQ_MASK   (1 << 1)

Definition at line 31 of file spear300.c.

#define SPEAR300_IT_PERS_S_IRQ_MASK   (1 << 0)

Definition at line 30 of file spear300.c.

#define SPEAR300_KEYBOARD_IRQ_MASK   (1 << 7)

Definition at line 37 of file spear300.c.

#define SPEAR300_SHIRQ_RAS1_MASK   0x1FF

Definition at line 40 of file spear300.c.

#define SPEAR300_SOC_CONFIG_BASE   UL(0x99000000)

Definition at line 42 of file spear300.c.

#define SPEAR300_TDM_IRQ_MASK   (1 << 3)

Definition at line 33 of file spear300.c.

#define SPEAR300_TELECOM_BASE   UL(0x50000000)

Definition at line 25 of file spear300.c.

#define SPEAR300_VIRQ_CAMERA_F   (SPEAR3XX_VIRQ_START + 5)

Definition at line 52 of file spear300.c.

#define SPEAR300_VIRQ_CAMERA_L   (SPEAR3XX_VIRQ_START + 4)

Definition at line 51 of file spear300.c.

#define SPEAR300_VIRQ_CAMERA_V   (SPEAR3XX_VIRQ_START + 6)

Definition at line 53 of file spear300.c.

#define SPEAR300_VIRQ_GPIO1   (SPEAR3XX_VIRQ_START + 8)

Definition at line 55 of file spear300.c.

#define SPEAR300_VIRQ_I2S   (SPEAR3XX_VIRQ_START + 2)

Definition at line 49 of file spear300.c.

#define SPEAR300_VIRQ_IT_CHANGE_S   (SPEAR3XX_VIRQ_START + 1)

Definition at line 48 of file spear300.c.

#define SPEAR300_VIRQ_IT_PERS_S   (SPEAR3XX_VIRQ_START + 0)

Definition at line 47 of file spear300.c.

#define SPEAR300_VIRQ_KEYBOARD   (SPEAR3XX_VIRQ_START + 7)

Definition at line 54 of file spear300.c.

#define SPEAR300_VIRQ_TDM   (SPEAR3XX_VIRQ_START + 3)

Definition at line 50 of file spear300.c.

Variable Documentation

dt_compat = spear300_dt_board_compat

Definition at line 323 of file spear300.c.

handle_irq = vic_handle_irq

Definition at line 319 of file spear300.c.

Definition at line 318 of file spear300.c.

init_machine = spear300_dt_init

Definition at line 321 of file spear300.c.

map_io = spear300_map_io

Definition at line 317 of file spear300.c.

restart = spear_restart

Definition at line 322 of file spear300.c.

struct pl08x_channel_data spear300_dma_info[]

Definition at line 117 of file spear300.c.

Definition at line 320 of file spear300.c.