STRUCT IRQ_DATA

Section: Structures (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

struct_irq_data - per irq and irq chip data passed down to chip functions  

SYNOPSIS

struct irq_data {
  unsigned int irq;
  unsigned int node;
  struct irq_chip * chip;
  void * handler_data;
  void * chip_data;
  struct msi_desc * msi_desc;
#ifdef CONFIG_SMP
  cpumask_var_t affinity;
#endif
};  
 

MEMBERS

irq

interrupt number

node

node index useful for balancing

chip

low level interrupt hardware access

handler_data

per-IRQ data for the irq_chip methods

chip_data

platform-specific per-chip private data for the chip methods, to allow shared chip implementations

msi_desc

MSI descriptor

affinity

IRQ affinity on SMP
 

DESCRIPTION

The fields here need to overlay the ones in irq_desc until we cleaned up the direct references and switched everything over to irq_data.  

AUTHORS

Thomas Gleixner <tglx@linutronix.de>

Author.

Ingo Molnar <mingo@elte.hu>

Author.
 

COPYRIGHT