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

Go to the source code of this file.

Macros

#define HW_ICOLL_VECTOR   0x0000
 
#define HW_ICOLL_LEVELACK   0x0010
 
#define HW_ICOLL_CTRL   0x0020
 
#define HW_ICOLL_STAT_OFFSET   0x0070
 
#define HW_ICOLL_INTERRUPTn_SET(n)   (0x0124 + (n) * 0x10)
 
#define HW_ICOLL_INTERRUPTn_CLR(n)   (0x0128 + (n) * 0x10)
 
#define BM_ICOLL_INTERRUPTn_ENABLE   0x00000004
 
#define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL0   0x1
 
#define ICOLL_NUM_IRQS   128
 

Functions

asmlinkage void
__exception_irq_entry 
icoll_handle_irq (struct pt_regs *regs)
 
void __init icoll_of_init (struct device_node *np, struct device_node *interrupt_parent)
 
void __init icoll_init_irq (void)
 

Macro Definition Documentation

#define BM_ICOLL_INTERRUPTn_ENABLE   0x00000004

Definition at line 36 of file icoll.c.

#define BV_ICOLL_LEVELACK_IRQLEVELACK__LEVEL0   0x1

Definition at line 37 of file icoll.c.

#define HW_ICOLL_CTRL   0x0020

Definition at line 32 of file icoll.c.

#define HW_ICOLL_INTERRUPTn_CLR (   n)    (0x0128 + (n) * 0x10)

Definition at line 35 of file icoll.c.

#define HW_ICOLL_INTERRUPTn_SET (   n)    (0x0124 + (n) * 0x10)

Definition at line 34 of file icoll.c.

#define HW_ICOLL_LEVELACK   0x0010

Definition at line 31 of file icoll.c.

#define HW_ICOLL_STAT_OFFSET   0x0070

Definition at line 33 of file icoll.c.

#define HW_ICOLL_VECTOR   0x0000

Definition at line 30 of file icoll.c.

#define ICOLL_NUM_IRQS   128

Definition at line 39 of file icoll.c.

Function Documentation

asmlinkage void __exception_irq_entry icoll_handle_irq ( struct pt_regs regs)

Definition at line 73 of file icoll.c.

void __init icoll_init_irq ( void  )

Definition at line 122 of file icoll.c.

void __init icoll_of_init ( struct device_node np,
struct device_node interrupt_parent 
)

Definition at line 103 of file icoll.c.