Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
avic.c File Reference
#include <linux/module.h>
#include <linux/irq.h>
#include <linux/irqdomain.h>
#include <linux/io.h>
#include <linux/of.h>
#include <mach/common.h>
#include <asm/mach/irq.h>
#include <asm/exception.h>
#include <mach/hardware.h>
#include <mach/irqs.h>
#include "irq-common.h"

Go to the source code of this file.

Macros

#define AVIC_INTCNTL   0x00 /* int control reg */
 
#define AVIC_NIMASK   0x04 /* int mask reg */
 
#define AVIC_INTENNUM   0x08 /* int enable number reg */
 
#define AVIC_INTDISNUM   0x0C /* int disable number reg */
 
#define AVIC_INTENABLEH   0x10 /* int enable reg high */
 
#define AVIC_INTENABLEL   0x14 /* int enable reg low */
 
#define AVIC_INTTYPEH   0x18 /* int type reg high */
 
#define AVIC_INTTYPEL   0x1C /* int type reg low */
 
#define AVIC_NIPRIORITY(x)   (0x20 + 4 * (7 - (x))) /* int priority */
 
#define AVIC_NIVECSR   0x40 /* norm int vector/status */
 
#define AVIC_FIVECSR   0x44 /* fast int vector/status */
 
#define AVIC_INTSRCH   0x48 /* int source reg high */
 
#define AVIC_INTSRCL   0x4C /* int source reg low */
 
#define AVIC_INTFRCH   0x50 /* int force reg high */
 
#define AVIC_INTFRCL   0x54 /* int force reg low */
 
#define AVIC_NIPNDH   0x58 /* norm int pending high */
 
#define AVIC_NIPNDL   0x5C /* norm int pending low */
 
#define AVIC_FIPNDH   0x60 /* fast int pending high */
 
#define AVIC_FIPNDL   0x64 /* fast int pending low */
 
#define AVIC_NUM_IRQS   64
 
#define avic_irq_suspend   NULL
 
#define avic_irq_resume   NULL
 

Functions

asmlinkage void
__exception_irq_entry 
avic_handle_irq (struct pt_regs *regs)
 
void __init mxc_init_irq (void __iomem *irqbase)
 

Variables

void __iomemavic_base
 

Macro Definition Documentation

#define AVIC_FIPNDH   0x60 /* fast int pending high */

Definition at line 50 of file avic.c.

#define AVIC_FIPNDL   0x64 /* fast int pending low */

Definition at line 51 of file avic.c.

#define AVIC_FIVECSR   0x44 /* fast int vector/status */

Definition at line 43 of file avic.c.

#define AVIC_INTCNTL   0x00 /* int control reg */

Definition at line 33 of file avic.c.

#define AVIC_INTDISNUM   0x0C /* int disable number reg */

Definition at line 36 of file avic.c.

#define AVIC_INTENABLEH   0x10 /* int enable reg high */

Definition at line 37 of file avic.c.

#define AVIC_INTENABLEL   0x14 /* int enable reg low */

Definition at line 38 of file avic.c.

#define AVIC_INTENNUM   0x08 /* int enable number reg */

Definition at line 35 of file avic.c.

#define AVIC_INTFRCH   0x50 /* int force reg high */

Definition at line 46 of file avic.c.

#define AVIC_INTFRCL   0x54 /* int force reg low */

Definition at line 47 of file avic.c.

#define AVIC_INTSRCH   0x48 /* int source reg high */

Definition at line 44 of file avic.c.

#define AVIC_INTSRCL   0x4C /* int source reg low */

Definition at line 45 of file avic.c.

#define AVIC_INTTYPEH   0x18 /* int type reg high */

Definition at line 39 of file avic.c.

#define AVIC_INTTYPEL   0x1C /* int type reg low */

Definition at line 40 of file avic.c.

#define avic_irq_resume   NULL

Definition at line 138 of file avic.c.

#define avic_irq_suspend   NULL

Definition at line 137 of file avic.c.

#define AVIC_NIMASK   0x04 /* int mask reg */

Definition at line 34 of file avic.c.

#define AVIC_NIPNDH   0x58 /* norm int pending high */

Definition at line 48 of file avic.c.

#define AVIC_NIPNDL   0x5C /* norm int pending low */

Definition at line 49 of file avic.c.

#define AVIC_NIPRIORITY (   x)    (0x20 + 4 * (7 - (x))) /* int priority */

Definition at line 41 of file avic.c.

#define AVIC_NIVECSR   0x40 /* norm int vector/status */

Definition at line 42 of file avic.c.

#define AVIC_NUM_IRQS   64

Definition at line 53 of file avic.c.

Function Documentation

asmlinkage void __exception_irq_entry avic_handle_irq ( struct pt_regs regs)

Definition at line 164 of file avic.c.

void __init mxc_init_irq ( void __iomem irqbase)

Definition at line 182 of file avic.c.

Variable Documentation

void __iomem* avic_base

Definition at line 55 of file avic.c.