Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
irq.c File Reference
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/export.h>
#include <linux/err.h>
#include <mach/sysasic.h>

Go to the source code of this file.

Macros

#define ESR_BASE   0x005f6900 /* Base event status register */
 
#define EMR_BASE   0x005f6910 /* Base event mask register */
 
#define LEVEL(event)   (((event) - HW_EVENT_IRQ_BASE) / 32)
 
#define EVENT_BIT(event)   (((event) - HW_EVENT_IRQ_BASE) & 31)
 

Functions

int systemasic_irq_demux (int irq)
 
void systemasic_irq_init (void)
 

Variables

struct irq_chip systemasic_int
 

Macro Definition Documentation

#define EMR_BASE   0x005f6910 /* Base event mask register */

Definition at line 47 of file irq.c.

#define ESR_BASE   0x005f6900 /* Base event status register */

Definition at line 46 of file irq.c.

#define EVENT_BIT (   event)    (((event) - HW_EVENT_IRQ_BASE) & 31)

Definition at line 56 of file irq.c.

#define LEVEL (   event)    (((event) - HW_EVENT_IRQ_BASE) / 32)

Definition at line 53 of file irq.c.

Function Documentation

int systemasic_irq_demux ( int  irq)

Definition at line 106 of file irq.c.

void systemasic_irq_init ( void  )

Definition at line 143 of file irq.c.

Variable Documentation

struct irq_chip systemasic_int
Initial value:
= {
.name = "System ASIC",
.irq_mask = disable_systemasic_irq,
.irq_mask_ack = mask_ack_systemasic_irq,
.irq_unmask = enable_systemasic_irq,
}

Definition at line 96 of file irq.c.