Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
irq.h File Reference
#include <linux/platform_device.h>
#include <asm/cpu_type.h>

Go to the source code of this file.

Data Structures

struct  irq_bucket
 
struct  sun4m_irq_percpu
 
struct  sun4m_irq_global
 
struct  sparc_config
 

Macros

#define SUN4M_HARD_INT(x)   (0x000000001 << (x))
 
#define SUN4M_SOFT_INT(x)   (0x000010000 << (x))
 
#define SUN4D_MAX_BOARD   10
 
#define SUN4D_MAX_IRQ   ((SUN4D_MAX_BOARD + 2) << 5)
 
#define FEAT_L10_CLOCKSOURCE   (1 << 0) /* L10 timer is used as a clocksource */
 
#define FEAT_L10_CLOCKEVENT   (1 << 1) /* L10 timer is used as a clockevent */
 
#define FEAT_L14_ONESHOT   (1 << 2) /* L14 timer clockevent can oneshot */
 

Functions

unsigned int irq_alloc (unsigned int real_irq, unsigned int pil)
 
void irq_link (unsigned int irq)
 
void irq_unlink (unsigned int irq)
 
void handler_irq (unsigned int pil, struct pt_regs *regs)
 
unsigned long leon_get_irqmask (unsigned int irq)
 

Variables

struct irq_bucketirq_map [SUN4D_MAX_IRQ]
 
struct sun4m_irq_percpu __iomemsun4m_irq_percpu [SUN4M_NCPUS]
 
struct sun4m_irq_global __iomemsun4m_irq_global
 
struct sparc_config sparc_config
 

Macro Definition Documentation

#define FEAT_L10_CLOCKEVENT   (1 << 1) /* L10 timer is used as a clockevent */

Definition at line 48 of file irq.h.

#define FEAT_L10_CLOCKSOURCE   (1 << 0) /* L10 timer is used as a clocksource */

Definition at line 47 of file irq.h.

#define FEAT_L14_ONESHOT   (1 << 2) /* L14 timer clockevent can oneshot */

Definition at line 49 of file irq.h.

#define SUN4D_MAX_BOARD   10

Definition at line 15 of file irq.h.

#define SUN4D_MAX_IRQ   ((SUN4D_MAX_BOARD + 2) << 5)

Definition at line 16 of file irq.h.

#define SUN4M_HARD_INT (   x)    (0x000000001 << (x))

Definition at line 12 of file irq.h.

#define SUN4M_SOFT_INT (   x)    (0x000010000 << (x))

Definition at line 13 of file irq.h.

Function Documentation

void handler_irq ( unsigned int  pil,
struct pt_regs regs 
)

Definition at line 216 of file irq_32.c.

unsigned int irq_alloc ( unsigned int  real_irq,
unsigned int  pil 
)

Definition at line 121 of file irq_32.c.

void irq_link ( unsigned int  irq)

Definition at line 155 of file irq_32.c.

void irq_unlink ( unsigned int  irq)

Definition at line 174 of file irq_32.c.

unsigned long leon_get_irqmask ( unsigned int  irq)

Definition at line 92 of file leon_kernel.c.

Variable Documentation

Definition at line 116 of file irq_32.c.

Definition at line 27 of file irq_32.c.

Definition at line 101 of file sun4m_irq.c.

Definition at line 100 of file sun4m_irq.c.