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

Go to the source code of this file.

Macros

#define NO_IRQ   (-1)
 
#define CPU_IRQ_BASE   16
 
#define TIMER_IRQ   (CPU_IRQ_BASE + 0)
 
#define IPI_IRQ   (CPU_IRQ_BASE + 1)
 
#define CPU_IRQ_MAX   (CPU_IRQ_BASE + (BITS_PER_LONG - 1))
 
#define NR_IRQS   (CPU_IRQ_MAX + 1)
 

Functions

void cpu_ack_irq (struct irq_data *d)
 
void cpu_eoi_irq (struct irq_data *d)
 
int txn_alloc_irq (unsigned int nbits)
 
int txn_claim_irq (int)
 
unsigned int txn_alloc_data (unsigned int)
 
unsigned long txn_alloc_addr (unsigned int)
 
unsigned long txn_affinity_addr (unsigned int irq, int cpu)
 
int cpu_claim_irq (unsigned int irq, struct irq_chip *, void *)
 
int cpu_check_affinity (struct irq_data *d, const struct cpumask *dest)
 

Variables

struct tasklet_struct power_tasklet
 

Macro Definition Documentation

#define CPU_IRQ_BASE   16

Definition at line 20 of file irq.h.

#define CPU_IRQ_MAX   (CPU_IRQ_BASE + (BITS_PER_LONG - 1))

Definition at line 25 of file irq.h.

#define IPI_IRQ   (CPU_IRQ_BASE + 1)

Definition at line 24 of file irq.h.

#define NO_IRQ   (-1)

Definition at line 13 of file irq.h.

#define NR_IRQS   (CPU_IRQ_MAX + 1)

Definition at line 27 of file irq.h.

#define TIMER_IRQ   (CPU_IRQ_BASE + 0)

Definition at line 23 of file irq.h.

Function Documentation

void cpu_ack_irq ( struct irq_data d)

Definition at line 83 of file irq.c.

int cpu_check_affinity ( struct irq_data d,
const struct cpumask dest 
)
int cpu_claim_irq ( unsigned int  irq,
struct irq_chip ,
void  
)

Definition at line 235 of file irq.c.

void cpu_eoi_irq ( struct irq_data d)

Definition at line 98 of file irq.c.

unsigned long txn_affinity_addr ( unsigned int  irq,
int  cpu 
)

Definition at line 292 of file irq.c.

unsigned long txn_alloc_addr ( unsigned  int)

Definition at line 303 of file irq.c.

unsigned int txn_alloc_data ( unsigned  int)

Definition at line 322 of file irq.c.

int txn_alloc_irq ( unsigned int  nbits)

Definition at line 274 of file irq.c.

int txn_claim_irq ( int  )

Definition at line 251 of file irq.c.

Variable Documentation

struct tasklet_struct power_tasklet