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/module.h>
#include <asm/irq_cpu.h>
#include <asm/i8259.h>
#include <asm/mipsregs.h>
#include <loongson.h>
#include <machine.h>

Go to the source code of this file.

Macros

#define LOONGSON_TIMER_IRQ   (MIPS_CPU_IRQ_BASE + 7) /* cpu timer */
 
#define LOONGSON_NORTH_BRIDGE_IRQ   (MIPS_CPU_IRQ_BASE + 6) /* bonito */
 
#define LOONGSON_UART_IRQ   (MIPS_CPU_IRQ_BASE + 3) /* cpu serial port */
 
#define LOONGSON_SOUTH_BRIDGE_IRQ   (MIPS_CPU_IRQ_BASE + 2) /* i8259 */
 
#define LOONGSON_INT_BIT_INT0   (1 << 11)
 
#define LOONGSON_INT_BIT_INT1   (1 << 12)
 

Functions

int mach_i8259_irq (void)
 
 EXPORT_SYMBOL (mach_i8259_irq)
 
void mach_irq_dispatch (unsigned int pending)
 
void __init mach_init_irq (void)
 

Variables

struct irqaction ip6_irqaction
 
struct irqaction cascade_irqaction
 

Macro Definition Documentation

#define LOONGSON_INT_BIT_INT0   (1 << 11)

Definition at line 26 of file irq.c.

#define LOONGSON_INT_BIT_INT1   (1 << 12)

Definition at line 27 of file irq.c.

#define LOONGSON_NORTH_BRIDGE_IRQ   (MIPS_CPU_IRQ_BASE + 6) /* bonito */

Definition at line 22 of file irq.c.

#define LOONGSON_SOUTH_BRIDGE_IRQ   (MIPS_CPU_IRQ_BASE + 2) /* i8259 */

Definition at line 24 of file irq.c.

#define LOONGSON_TIMER_IRQ   (MIPS_CPU_IRQ_BASE + 7) /* cpu timer */

Definition at line 21 of file irq.c.

#define LOONGSON_UART_IRQ   (MIPS_CPU_IRQ_BASE + 3) /* cpu serial port */

Definition at line 23 of file irq.c.

Function Documentation

EXPORT_SYMBOL ( mach_i8259_irq  )
int mach_i8259_irq ( void  )

Definition at line 33 of file irq.c.

void __init mach_init_irq ( void  )

Definition at line 108 of file irq.c.

void mach_irq_dispatch ( unsigned int  pending)

Definition at line 76 of file irq.c.

Variable Documentation

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

Definition at line 102 of file irq.c.

struct irqaction ip6_irqaction
Initial value:
= {
.handler = ip6_action,
.name = "cascade",
}

Definition at line 96 of file irq.c.