Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
irq.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <asm/exception.h>
#include <asm/mach/irq.h>
#include <linux/irqdomain.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include "soc.h"
#include "iomap.h"
#include "common.h"

Go to the source code of this file.

Data Structures

struct  omap_irq_bank
 
struct  omap3_intc_regs
 

Macros

#define INTC_REVISION   0x0000
 
#define INTC_SYSCONFIG   0x0010
 
#define INTC_SYSSTATUS   0x0014
 
#define INTC_SIR   0x0040
 
#define INTC_CONTROL   0x0048
 
#define INTC_PROTECTION   0x004C
 
#define INTC_IDLE   0x0050
 
#define INTC_THRESHOLD   0x0068
 
#define INTC_MIR0   0x0084
 
#define INTC_MIR_CLEAR0   0x0088
 
#define INTC_MIR_SET0   0x008c
 
#define INTC_PENDING_IRQ0   0x0098
 
#define IRQ_BITS_PER_REG   32
 
#define OMAP2_IRQ_BASE   OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE)
 
#define OMAP3_IRQ_BASE   OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE)
 
#define INTCPS_SIR_IRQ_OFFSET   0x0040 /* omap2/3 active interrupt offset */
 
#define ACTIVEIRQ_MASK   0x7f /* omap2/3 active interrupt bits */
 
#define INTCPS_NR_MIR_REGS   3
 
#define INTCPS_NR_IRQS   96
 

Functions

int omap_irq_pending (void)
 
void __init omap2_init_irq (void)
 
void __init omap3_init_irq (void)
 
void __init ti81xx_init_irq (void)
 
asmlinkage void
__exception_irq_entry 
omap2_intc_handle_irq (struct pt_regs *regs)
 
int __init intc_of_init (struct device_node *node, struct device_node *parent)
 
void __init omap_intc_of_init (void)
 

Variables

void __iomembase_reg
 
unsigned int nr_irqs
 
struct omap3_intc_regs __attribute__
 

Macro Definition Documentation

#define ACTIVEIRQ_MASK   0x7f /* omap2/3 active interrupt bits */

Definition at line 50 of file irq.c.

#define INTC_CONTROL   0x0048

Definition at line 36 of file irq.c.

#define INTC_IDLE   0x0050

Definition at line 38 of file irq.c.

#define INTC_MIR0   0x0084

Definition at line 40 of file irq.c.

#define INTC_MIR_CLEAR0   0x0088

Definition at line 41 of file irq.c.

#define INTC_MIR_SET0   0x008c

Definition at line 42 of file irq.c.

#define INTC_PENDING_IRQ0   0x0098

Definition at line 43 of file irq.c.

#define INTC_PROTECTION   0x004C

Definition at line 37 of file irq.c.

#define INTC_REVISION   0x0000

Definition at line 32 of file irq.c.

#define INTC_SIR   0x0040

Definition at line 35 of file irq.c.

#define INTC_SYSCONFIG   0x0010

Definition at line 33 of file irq.c.

#define INTC_SYSSTATUS   0x0014

Definition at line 34 of file irq.c.

#define INTC_THRESHOLD   0x0068

Definition at line 39 of file irq.c.

#define INTCPS_NR_IRQS   96

Definition at line 52 of file irq.c.

#define INTCPS_NR_MIR_REGS   3

Definition at line 51 of file irq.c.

#define INTCPS_SIR_IRQ_OFFSET   0x0040 /* omap2/3 active interrupt offset */

Definition at line 49 of file irq.c.

#define IRQ_BITS_PER_REG   32

Definition at line 45 of file irq.c.

#define OMAP2_IRQ_BASE   OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE)

Definition at line 47 of file irq.c.

#define OMAP3_IRQ_BASE   OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE)

Definition at line 48 of file irq.c.

Function Documentation

int __init intc_of_init ( struct device_node node,
struct device_node parent 
)

Definition at line 262 of file irq.c.

void __init omap2_init_irq ( void  )

Definition at line 207 of file irq.c.

asmlinkage void __exception_irq_entry omap2_intc_handle_irq ( struct pt_regs regs)

Definition at line 256 of file irq.c.

void __init omap3_init_irq ( void  )

Definition at line 212 of file irq.c.

void __init omap_intc_of_init ( void  )

Definition at line 289 of file irq.c.

int omap_irq_pending ( void  )

Definition at line 125 of file irq.c.

void __init ti81xx_init_irq ( void  )

Definition at line 217 of file irq.c.

Variable Documentation

void __iomem* base_reg

Definition at line 64 of file irq.c.

unsigned int nr_irqs

Definition at line 65 of file irq.c.