Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
setup.c File Reference
#include <linux/console.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/param.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/types.h>
#include <linux/pm.h>
#include <linux/irq.h>
#include <asm/bootinfo.h>
#include <asm/cpu.h>
#include <asm/cpu-features.h>
#include <asm/irq.h>
#include <asm/irq_cpu.h>
#include <asm/mipsregs.h>
#include <asm/reboot.h>
#include <asm/time.h>
#include <asm/traps.h>
#include <asm/wbflush.h>
#include <asm/dec/interrupts.h>
#include <asm/dec/ioasic.h>
#include <asm/dec/ioasic_addrs.h>
#include <asm/dec/ioasic_ints.h>
#include <asm/dec/kn01.h>
#include <asm/dec/kn02.h>
#include <asm/dec/kn02ba.h>
#include <asm/dec/kn02ca.h>
#include <asm/dec/kn03.h>
#include <asm/dec/kn230.h>
#include <asm/dec/system.h>

Go to the source code of this file.

Functions

void dec_machine_restart (char *command)
 
void dec_machine_halt (void)
 
void dec_machine_power_off (void)
 
irqreturn_t dec_intr_halt (int irq, void *dev_id)
 
 EXPORT_SYMBOL (dec_kn_slot_base)
 
 EXPORT_SYMBOL (dec_kn_slot_size)
 
 DEFINE_SPINLOCK (ioasic_ssr_lock)
 
 EXPORT_SYMBOL (ioasic_base)
 
 EXPORT_SYMBOL (dec_interrupt)
 
void __init plat_mem_setup (void)
 
void __init arch_init_irq (void)
 
asmlinkage unsigned int dec_irq_dispatch (unsigned int irq)
 

Variables

unsigned long dec_kn_slot_base
 
unsigned long dec_kn_slot_size
 
int dec_tc_bus
 
volatile u32ioasic_base
 
int dec_interrupt [DEC_NR_INTS]
 
int_ptr cpu_mask_nr_tbl [DEC_MAX_CPU_INTS][2]
 
int_ptr asic_mask_nr_tbl [DEC_MAX_ASIC_INTS][2]
 
int cpu_fpu_mask = DEC_CPU_IRQ_MASK(DEC_CPU_INR_FPU)
 

Function Documentation

void __init arch_init_irq ( void  )

Definition at line 713 of file setup.c.

irqreturn_t dec_intr_halt ( int  irq,
void dev_id 
)

Definition at line 37 of file reset.c.

asmlinkage unsigned int dec_irq_dispatch ( unsigned int  irq)

Definition at line 767 of file setup.c.

void dec_machine_halt ( void  )

Definition at line 26 of file reset.c.

void dec_machine_power_off ( void  )

Definition at line 31 of file reset.c.

void dec_machine_restart ( char command)

Definition at line 21 of file reset.c.

DEFINE_SPINLOCK ( ioasic_ssr_lock  )
EXPORT_SYMBOL ( dec_kn_slot_base  )
EXPORT_SYMBOL ( dec_kn_slot_size  )
EXPORT_SYMBOL ( ioasic_base  )
EXPORT_SYMBOL ( dec_interrupt  )
void __init plat_mem_setup ( void  )

Definition at line 152 of file setup.c.

Variable Documentation

int_ptr asic_mask_nr_tbl[DEC_MAX_ASIC_INTS][2]
Initial value:
= {
{ { .i = ~0 }, { .p = asic_intr_unimplemented } },
}

Definition at line 96 of file setup.c.

Definition at line 99 of file setup.c.

int_ptr cpu_mask_nr_tbl[DEC_MAX_CPU_INTS][2]
Initial value:
= {
{ { .i = ~0 }, { .p = dec_intr_unimplemented } },
}

Definition at line 93 of file setup.c.

int dec_interrupt[DEC_NR_INTS]
Initial value:
= {
[0 ... DEC_NR_INTS - 1] = -1
}

Definition at line 87 of file setup.c.

unsigned long dec_kn_slot_base

Definition at line 52 of file setup.c.

unsigned long dec_kn_slot_size

Definition at line 52 of file setup.c.

int dec_tc_bus

Definition at line 57 of file setup.c.

volatile u32* ioasic_base

Definition at line 61 of file setup.c.