Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
sun4d_irq.c File Reference
#include <linux/kernel_stat.h>
#include <linux/seq_file.h>
#include <asm/timer.h>
#include <asm/traps.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/sbi.h>
#include <asm/cacheflush.h>
#include <asm/setup.h>
#include <asm/oplib.h>
#include "kernel.h"
#include "irq.h"

Go to the source code of this file.

Data Structures

struct  sun4d_handler_data
 
struct  sun4d_timer_regs
 

Macros

#define SUN4D_TIMER_IRQ   10
 

Functions

 DEFINE_SPINLOCK (sun4d_imsk_lock)
 
void sun4d_handler_irq (int pil, struct pt_regs *regs)
 
unsigned int _sun4d_build_device_irq (unsigned int real_irq, unsigned int pil, unsigned int board)
 
unsigned int sun4d_build_device_irq (struct platform_device *op, unsigned int real_irq)
 
unsigned int sun4d_build_timer_irq (unsigned int board, unsigned int real_irq)
 
void __init sun4d_init_sbi_irq (void)
 
void __init sun4d_init_IRQ (void)
 

Variables

struct irq_chip sun4d_irq
 

Macro Definition Documentation

#define SUN4D_TIMER_IRQ   10

Definition at line 51 of file sun4d_irq.c.

Function Documentation

unsigned int _sun4d_build_device_irq ( unsigned int  real_irq,
unsigned int  pil,
unsigned int  board 
)

Definition at line 287 of file sun4d_irq.c.

DEFINE_SPINLOCK ( sun4d_imsk_lock  )
unsigned int sun4d_build_device_irq ( struct platform_device op,
unsigned int  real_irq 
)

Definition at line 322 of file sun4d_irq.c.

unsigned int sun4d_build_timer_irq ( unsigned int  board,
unsigned int  real_irq 
)

Definition at line 385 of file sun4d_irq.c.

void sun4d_handler_irq ( int  pil,
struct pt_regs regs 
)

Definition at line 145 of file sun4d_irq.c.

void __init sun4d_init_IRQ ( void  )

Definition at line 505 of file sun4d_irq.c.

void __init sun4d_init_sbi_irq ( void  )

Definition at line 481 of file sun4d_irq.c.

Variable Documentation

struct irq_chip sun4d_irq
Initial value:
= {
.name = "sun4d",
.irq_startup = sun4d_startup_irq,
.irq_shutdown = sun4d_shutdown_irq,
.irq_unmask = sun4d_unmask_irq,
.irq_mask = sun4d_mask_irq,
}

Definition at line 238 of file sun4d_irq.c.