1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><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 9. Public Functions Provided"><link rel="prev" href="API-handle-fasteoi-irq.html" title="handle_fasteoi_irq"><link rel="next" href="intfunctions.html" title="Chapter 10. 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> </td><th width="60%" align="center">Chapter 9. Public Functions Provided</th><td width="20%" align="right"> <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 — 
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>struct irq_desc * <var class="pdparam">desc</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="id-1.11.29.5"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>desc</code></em></span></dt><dd><p>
4     the interrupt description structure for this irq
5    </p></dd></dl></div></div><div class="refsect1"><a name="id-1.11.29.6"></a><h2>Description</h2><p>
6   Interrupt occures on the falling and/or rising edge of a hardware
7   signal. The occurrence is latched into the irq controller hardware
8   and must be acked in order to be reenabled. After the ack another
9   interrupt can happen on the same source even before the first one
10   is handled by the associated event handler. If this happens it
11   might be necessary to disable (mask) the interrupt depending on the
12   controller hardware. This requires to reenable the interrupt inside
13   of the loop which handles the interrupts which have arrived while
14   the handler was running. If all pending interrupts are handled, the
15   loop is left.
16</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> </td><td width="20%" align="center"><a accesskey="u" href="pubfunctions.html">Up</a></td><td width="40%" align="right"> <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> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 10. Internal Functions Provided</td></tr></table></div></body></html>
17