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/io.h>
#include <asm/irq.h>
#include <variant/hardware.h>

Go to the source code of this file.

Macros

#define INTC_STATUS   0x000
 
#define INTC_RAW   0x010
 
#define INTC_STATUS_AG   0x100
 
#define INTC_CFG(n)   (0x200 + 4 * (n))
 
#define TO_INTC_ENABLE(n)   (((n) << 1) + 1)
 

Functions

void variant_irq_enable (unsigned int irq)
 
void variant_irq_disable (unsigned int irq)
 

Variables

const signed charplatform_irq_mappings [NR_IRQS]
 

Macro Definition Documentation

#define INTC_CFG (   n)    (0x200 + 4 * (n))

Definition at line 16 of file irq.c.

#define INTC_RAW   0x010

Definition at line 14 of file irq.c.

#define INTC_STATUS   0x000

Definition at line 13 of file irq.c.

#define INTC_STATUS_AG   0x100

Definition at line 15 of file irq.c.

#define TO_INTC_ENABLE (   n)    (((n) << 1) + 1)

Function Documentation

void variant_irq_disable ( unsigned int  irq)

Definition at line 71 of file irq.c.

void variant_irq_enable ( unsigned int  irq)

Definition at line 66 of file irq.c.

Variable Documentation

const signed char* platform_irq_mappings[NR_IRQS]

Definition at line 44 of file device.c.