Sophie

Sophie

distrib > CentOS > 6 > i386 > by-pkgid > 2c51d8eb79f8810ada971ee8c30ce1e5 > files > 1451

kernel-doc-2.6.32-71.14.1.el6.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>struct irq_desc</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2" /><link rel="home" href="index.html" title="Linux generic IRQ handling" /><link rel="up" href="ch07.html" title="Chapter&#160;7.&#160;Structures" /><link rel="prev" href="re01.html" title="struct irq_chip" /><link rel="next" href="re03.html" title="alloc_desc_masks" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>struct irq_desc</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re01.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;7.&#160;Structures</th><td width="20%" align="right">&#160;<a accesskey="n" href="re03.html">Next</a></td></tr></table><hr /></div><div class="refentry" title="struct irq_desc"><a id="API-struct-irq-desc"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct irq_desc &#8212; 
     interrupt descriptor
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
struct irq_desc {
  unsigned int irq;
  struct timer_rand_state * timer_rand_state;
  unsigned int * kstat_irqs;
#ifdef CONFIG_INTR_REMAP
  struct irq_2_iommu * irq_2_iommu;
#endif
  irq_flow_handler_t handle_irq;
  struct irq_chip * chip;
  struct msi_desc * msi_desc;
  void * handler_data;
  void * chip_data;
  struct irqaction * action;
  unsigned int status;
  unsigned int depth;
  unsigned int wake_depth;
  unsigned int irq_count;
  unsigned long last_unhandled;
  unsigned int irqs_unhandled;
  spinlock_t lock;
#ifdef CONFIG_SMP
  cpumask_var_t affinity;
  unsigned int node;
#ifdef CONFIG_GENERIC_PENDING_IRQ
  cpumask_var_t pending_mask;
#endif
#endif
  atomic_t threads_active;
  wait_queue_head_t wait_for_threads;
#ifdef CONFIG_PROC_FS
  struct proc_dir_entry * dir;
#endif
  const char * name;
};  </pre></div><div class="refsect1" title="Members"><a id="id2588133"></a><h2>Members</h2><div class="variablelist"><dl><dt><span class="term">irq</span></dt><dd><p>
   interrupt number for this descriptor
      </p></dd><dt><span class="term">timer_rand_state</span></dt><dd><p>
   pointer to timer rand state struct
      </p></dd><dt><span class="term">kstat_irqs</span></dt><dd><p>
   irq stats per cpu
      </p></dd><dt><span class="term">irq_2_iommu</span></dt><dd><p>
   iommu with this irq
      </p></dd><dt><span class="term">handle_irq</span></dt><dd><p>
   highlevel irq-events handler [if NULL, <code class="function">__do_IRQ</code>]
      </p></dd><dt><span class="term">chip</span></dt><dd><p>
   low level interrupt hardware access
      </p></dd><dt><span class="term">msi_desc</span></dt><dd><p>
   MSI descriptor
      </p></dd><dt><span class="term">handler_data</span></dt><dd><p>
   per-IRQ data for the irq_chip methods
      </p></dd><dt><span class="term">chip_data</span></dt><dd><p>
   platform-specific per-chip private data for the chip
   methods, to allow shared chip implementations
      </p></dd><dt><span class="term">action</span></dt><dd><p>
   the irq action chain
      </p></dd><dt><span class="term">status</span></dt><dd><p>
   status information
      </p></dd><dt><span class="term">depth</span></dt><dd><p>
   disable-depth, for nested <code class="function">irq_disable</code> calls
      </p></dd><dt><span class="term">wake_depth</span></dt><dd><p>
   enable depth, for multiple <code class="function">set_irq_wake</code> callers
      </p></dd><dt><span class="term">irq_count</span></dt><dd><p>
   stats field to detect stalled irqs
      </p></dd><dt><span class="term">last_unhandled</span></dt><dd><p>
   aging timer for unhandled count
      </p></dd><dt><span class="term">irqs_unhandled</span></dt><dd><p>
   stats field for spurious unhandled interrupts
      </p></dd><dt><span class="term">lock</span></dt><dd><p>
   locking for SMP
      </p></dd><dt><span class="term">affinity</span></dt><dd><p>
   IRQ affinity on SMP
      </p></dd><dt><span class="term">node</span></dt><dd><p>
   node index useful for balancing
      </p></dd><dt><span class="term">pending_mask</span></dt><dd><p>
   pending rebalanced interrupts
      </p></dd><dt><span class="term">threads_active</span></dt><dd><p>
   number of irqaction threads currently running
      </p></dd><dt><span class="term">wait_for_threads</span></dt><dd><p>
   wait queue for sync_irq to wait for threaded handlers
      </p></dd><dt><span class="term">dir</span></dt><dd><p>
   /proc/irq/ procfs entry
      </p></dd><dt><span class="term">name</span></dt><dd><p>
   flow handler name for /proc/interrupts output
      </p></dd></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re01.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch07.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>struct irq_chip</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>alloc_desc_masks</span></td></tr></table></div></body></html>