Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
gic.h File Reference
#include <linux/compiler.h>
#include <linux/irqdomain.h>

Go to the source code of this file.

Macros

#define GIC_CPU_CTRL   0x00
 
#define GIC_CPU_PRIMASK   0x04
 
#define GIC_CPU_BINPOINT   0x08
 
#define GIC_CPU_INTACK   0x0c
 
#define GIC_CPU_EOI   0x10
 
#define GIC_CPU_RUNNINGPRI   0x14
 
#define GIC_CPU_HIGHPRI   0x18
 
#define GIC_DIST_CTRL   0x000
 
#define GIC_DIST_CTR   0x004
 
#define GIC_DIST_ENABLE_SET   0x100
 
#define GIC_DIST_ENABLE_CLEAR   0x180
 
#define GIC_DIST_PENDING_SET   0x200
 
#define GIC_DIST_PENDING_CLEAR   0x280
 
#define GIC_DIST_ACTIVE_BIT   0x300
 
#define GIC_DIST_PRI   0x400
 
#define GIC_DIST_TARGET   0x800
 
#define GIC_DIST_CONFIG   0xc00
 
#define GIC_DIST_SOFTINT   0xf00
 

Functions

void gic_init_bases (unsigned int, int, void __iomem *, void __iomem *, u32 offset, struct device_node *)
 
int gic_of_init (struct device_node *node, struct device_node *parent)
 
void gic_secondary_init (unsigned int)
 
void gic_handle_irq (struct pt_regs *regs)
 
void gic_cascade_irq (unsigned int gic_nr, unsigned int irq)
 
void gic_raise_softirq (const struct cpumask *mask, unsigned int irq)
 

Variables

struct irq_chip gic_arch_extn
 

Macro Definition Documentation

#define GIC_CPU_BINPOINT   0x08

Definition at line 17 of file gic.h.

#define GIC_CPU_CTRL   0x00

Definition at line 15 of file gic.h.

#define GIC_CPU_EOI   0x10

Definition at line 19 of file gic.h.

#define GIC_CPU_HIGHPRI   0x18

Definition at line 21 of file gic.h.

#define GIC_CPU_INTACK   0x0c

Definition at line 18 of file gic.h.

#define GIC_CPU_PRIMASK   0x04

Definition at line 16 of file gic.h.

#define GIC_CPU_RUNNINGPRI   0x14

Definition at line 20 of file gic.h.

#define GIC_DIST_ACTIVE_BIT   0x300

Definition at line 29 of file gic.h.

#define GIC_DIST_CONFIG   0xc00

Definition at line 32 of file gic.h.

#define GIC_DIST_CTR   0x004

Definition at line 24 of file gic.h.

#define GIC_DIST_CTRL   0x000

Definition at line 23 of file gic.h.

#define GIC_DIST_ENABLE_CLEAR   0x180

Definition at line 26 of file gic.h.

#define GIC_DIST_ENABLE_SET   0x100

Definition at line 25 of file gic.h.

#define GIC_DIST_PENDING_CLEAR   0x280

Definition at line 28 of file gic.h.

#define GIC_DIST_PENDING_SET   0x200

Definition at line 27 of file gic.h.

#define GIC_DIST_PRI   0x400

Definition at line 30 of file gic.h.

#define GIC_DIST_SOFTINT   0xf00

Definition at line 33 of file gic.h.

#define GIC_DIST_TARGET   0x800

Definition at line 31 of file gic.h.

Function Documentation

void gic_cascade_irq ( unsigned int  gic_nr,
unsigned int  irq 
)

Definition at line 337 of file gic.c.

void gic_handle_irq ( struct pt_regs regs)

Definition at line 271 of file gic.c.

void gic_init_bases ( unsigned  int,
int  ,
void __iomem ,
void __iomem ,
u32  offset,
struct device_node  
)

Definition at line 643 of file gic.c.

int gic_of_init ( struct device_node node,
struct device_node parent 
)
void gic_raise_softirq ( const struct cpumask mask,
unsigned int  irq 
)
void gic_secondary_init ( unsigned  int)

Definition at line 725 of file gic.c.

Variable Documentation

struct irq_chip gic_arch_extn

Definition at line 76 of file gic.c.