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/interrupt.h>
#include <linux/irq.h>
#include <asm/irq_cpu.h>
#include <loongson1.h>
#include <irq.h>

Go to the source code of this file.

Macros

#define LS1X_INTC_REG(n, x)   ((void __iomem *)KSEG1ADDR(LS1X_INTC_BASE + (n * 0x18) + (x)))
 
#define LS1X_INTC_INTISR(n)   LS1X_INTC_REG(n, 0x0)
 
#define LS1X_INTC_INTIEN(n)   LS1X_INTC_REG(n, 0x4)
 
#define LS1X_INTC_INTSET(n)   LS1X_INTC_REG(n, 0x8)
 
#define LS1X_INTC_INTCLR(n)   LS1X_INTC_REG(n, 0xc)
 
#define LS1X_INTC_INTPOL(n)   LS1X_INTC_REG(n, 0x10)
 
#define LS1X_INTC_INTEDGE(n)   LS1X_INTC_REG(n, 0x14)
 

Functions

asmlinkage void plat_irq_dispatch (void)
 
void __init arch_init_irq (void)
 

Variables

struct irqaction cascade_irqaction
 

Macro Definition Documentation

#define LS1X_INTC_INTCLR (   n)    LS1X_INTC_REG(n, 0xc)

Definition at line 23 of file irq.c.

#define LS1X_INTC_INTEDGE (   n)    LS1X_INTC_REG(n, 0x14)

Definition at line 25 of file irq.c.

#define LS1X_INTC_INTIEN (   n)    LS1X_INTC_REG(n, 0x4)

Definition at line 21 of file irq.c.

#define LS1X_INTC_INTISR (   n)    LS1X_INTC_REG(n, 0x0)

Definition at line 20 of file irq.c.

#define LS1X_INTC_INTPOL (   n)    LS1X_INTC_REG(n, 0x10)

Definition at line 24 of file irq.c.

#define LS1X_INTC_INTSET (   n)    LS1X_INTC_REG(n, 0x8)

Definition at line 22 of file irq.c.

#define LS1X_INTC_REG (   n,
  x 
)    ((void __iomem *)KSEG1ADDR(LS1X_INTC_BASE + (n * 0x18) + (x)))

Definition at line 17 of file irq.c.

Function Documentation

void __init arch_init_irq ( void  )

Definition at line 143 of file irq.c.

asmlinkage void plat_irq_dispatch ( void  )

Definition at line 87 of file irq.c.

Variable Documentation

struct irqaction cascade_irqaction
Initial value:
= {
.handler = no_action,
.name = "cascade",
.flags = IRQF_NO_THREAD,
}

Definition at line 110 of file irq.c.