Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
gic.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/list.h>
#include <linux/smp.h>
#include <linux/cpu_pm.h>
#include <linux/cpumask.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/irqdomain.h>
#include <linux/interrupt.h>
#include <linux/percpu.h>
#include <linux/slab.h>
#include <asm/irq.h>
#include <asm/exception.h>
#include <asm/smp_plat.h>
#include <asm/mach/irq.h>
#include <asm/hardware/gic.h>

Go to the source code of this file.

Data Structures

union  gic_base
 
struct  gic_chip_data
 

Macros

#define MAX_GIC_NR   1
 
#define gic_data_dist_base(d)   ((d)->dist_base.common_base)
 
#define gic_data_cpu_base(d)   ((d)->cpu_base.common_base)
 
#define gic_set_base_accessor(d, f)
 
#define gic_set_wake   NULL
 

Functions

asmlinkage void
__exception_irq_entry 
gic_handle_irq (struct pt_regs *regs)
 
void __init gic_cascade_irq (unsigned int gic_nr, unsigned int irq)
 
void __init gic_init_bases (unsigned int gic_nr, int irq_start, void __iomem *dist_base, void __iomem *cpu_base, u32 percpu_offset, struct device_node *node)
 
void __cpuinit gic_secondary_init (unsigned int gic_nr)
 

Variables

struct irq_chip gic_arch_extn
 
struct irq_domain_ops gic_irq_domain_ops
 

Macro Definition Documentation

#define gic_data_cpu_base (   d)    ((d)->cpu_base.common_base)

Definition at line 119 of file gic.c.

#define gic_data_dist_base (   d)    ((d)->dist_base.common_base)

Definition at line 118 of file gic.c.

#define gic_set_base_accessor (   d,
  f 
)

Definition at line 120 of file gic.c.

#define gic_set_wake   NULL

Definition at line 268 of file gic.c.

#define MAX_GIC_NR   1

Definition at line 86 of file gic.c.

Function Documentation

void __init gic_cascade_irq ( unsigned int  gic_nr,
unsigned int  irq 
)

Definition at line 337 of file gic.c.

asmlinkage void __exception_irq_entry gic_handle_irq ( struct pt_regs regs)

Definition at line 271 of file gic.c.

void __init gic_init_bases ( unsigned int  gic_nr,
int  irq_start,
void __iomem dist_base,
void __iomem cpu_base,
u32  percpu_offset,
struct device_node node 
)

Definition at line 643 of file gic.c.

void __cpuinit gic_secondary_init ( unsigned int  gic_nr)

Definition at line 725 of file gic.c.

Variable Documentation

struct irq_chip gic_arch_extn
Initial value:
= {
.irq_eoi = NULL,
.irq_mask = NULL,
.irq_unmask = NULL,
.irq_retrigger = NULL,
.irq_set_type = NULL,
.irq_set_wake = NULL,
}

Definition at line 76 of file gic.c.

struct irq_domain_ops gic_irq_domain_ops
Initial value:
= {
.map = gic_irq_domain_map,
.xlate = gic_irq_domain_xlate,
}

Definition at line 638 of file gic.c.