1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>handle_edge_irq</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux generic IRQ handling"><link rel="up" href="pubfunctions.html" title="Chapter&#160;9.&#160;Public Functions Provided"><link rel="prev" href="API-handle-fasteoi-irq.html" title="handle_fasteoi_irq"><link rel="next" href="intfunctions.html" title="Chapter&#160;10.&#160;Internal Functions Provided"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">handle_edge_irq</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-handle-fasteoi-irq.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;9.&#160;Public Functions Provided</th><td width="20%" align="right">&#160;<a accesskey="n" href="intfunctions.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-handle-edge-irq"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>handle_edge_irq &#8212; 
2     edge type IRQ handler
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">void <b class="fsfunc">handle_edge_irq </b>(</code></td><td>unsigned int <var class="pdparam">irq</var>, </td></tr><tr><td>&#160;</td><td>struct irq_desc * <var class="pdparam">desc</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a name="idp1103268156"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>irq</code></em></span></dt><dd><p>
4     the interrupt number
5    </p></dd><dt><span class="term"><em class="parameter"><code>desc</code></em></span></dt><dd><p>
6     the interrupt description structure for this irq
7    </p></dd></dl></div></div><div class="refsect1"><a name="idp1103270740"></a><h2>Description</h2><p>
8   Interrupt occures on the falling and/or rising edge of a hardware
9   signal. The occurrence is latched into the irq controller hardware
10   and must be acked in order to be reenabled. After the ack another
11   interrupt can happen on the same source even before the first one
12   is handled by the associated event handler. If this happens it
13   might be necessary to disable (mask) the interrupt depending on the
14   controller hardware. This requires to reenable the interrupt inside
15   of the loop which handles the interrupts which have arrived while
16   the handler was running. If all pending interrupts are handled, the
17   loop is left.
18</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-handle-fasteoi-irq.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="pubfunctions.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="intfunctions.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">handle_fasteoi_irq</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;Chapter&#160;10.&#160;Internal Functions Provided</td></tr></table></div></body></html>
19