Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
irq-bcm2835.c File Reference
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/irqdomain.h>
#include <linux/irqchip/bcm2835.h>
#include <asm/exception.h>

Go to the source code of this file.

Data Structures

struct  armctrl_ic
 

Macros

#define MAKE_HWIRQ(b, n)   ((b << 5) | (n))
 
#define HWIRQ_BANK(i)   (i >> 5)
 
#define HWIRQ_BIT(i)   BIT(i & 0x1f)
 
#define NR_IRQS_BANK0   8
 
#define BANK0_HWIRQ_MASK   0xff
 
#define SHORTCUT1_MASK   0x00007c00
 
#define SHORTCUT2_MASK   0x001f8000
 
#define SHORTCUT_SHIFT   10
 
#define BANK1_HWIRQ   BIT(8)
 
#define BANK2_HWIRQ   BIT(9)
 
#define BANK0_VALID_MASK
 
#define REG_FIQ_CONTROL   0x0c
 
#define NR_BANKS   3
 
#define IRQS_PER_BANK   32
 

Functions

void __init bcm2835_init_irq (void)
 
asmlinkage void
__exception_irq_entry 
bcm2835_handle_irq (struct pt_regs *regs)
 

Macro Definition Documentation

#define BANK0_HWIRQ_MASK   0xff

Definition at line 62 of file irq-bcm2835.c.

#define BANK0_VALID_MASK
Value:

Definition at line 69 of file irq-bcm2835.c.

#define BANK1_HWIRQ   BIT(8)

Definition at line 67 of file irq-bcm2835.c.

#define BANK2_HWIRQ   BIT(9)

Definition at line 68 of file irq-bcm2835.c.

#define HWIRQ_BANK (   i)    (i >> 5)

Definition at line 58 of file irq-bcm2835.c.

#define HWIRQ_BIT (   i)    BIT(i & 0x1f)

Definition at line 59 of file irq-bcm2835.c.

#define IRQS_PER_BANK   32

Definition at line 75 of file irq-bcm2835.c.

#define MAKE_HWIRQ (   b,
  n 
)    ((b << 5) | (n))

Definition at line 57 of file irq-bcm2835.c.

#define NR_BANKS   3

Definition at line 74 of file irq-bcm2835.c.

#define NR_IRQS_BANK0   8

Definition at line 61 of file irq-bcm2835.c.

#define REG_FIQ_CONTROL   0x0c

Definition at line 72 of file irq-bcm2835.c.

#define SHORTCUT1_MASK   0x00007c00

Definition at line 64 of file irq-bcm2835.c.

#define SHORTCUT2_MASK   0x001f8000

Definition at line 65 of file irq-bcm2835.c.

#define SHORTCUT_SHIFT   10

Definition at line 66 of file irq-bcm2835.c.

Function Documentation

asmlinkage void __exception_irq_entry bcm2835_handle_irq ( struct pt_regs regs)

Definition at line 203 of file irq-bcm2835.c.

void __init bcm2835_init_irq ( void  )

Definition at line 175 of file irq-bcm2835.c.