1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>__handle_domain_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="intfunctions.html" title="Chapter 10. Internal Functions Provided"><link rel="prev" href="intfunctions.html" title="Chapter 10. Internal Functions Provided"><link rel="next" href="API-irq-get-next-irq.html" title="irq_get_next_irq"></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_domain_irq</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="intfunctions.html">Prev</a> </td><th width="60%" align="center">Chapter 10. Internal Functions Provided</th><td width="20%" align="right"> <a accesskey="n" href="API-irq-get-next-irq.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API---handle-domain-irq"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>__handle_domain_irq — 2 Invoke the handler for a HW irq belonging to a domain 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">int <b class="fsfunc">__handle_domain_irq </b>(</code></td><td>struct irq_domain * <var class="pdparam">domain</var>, </td></tr><tr><td> </td><td>unsigned int <var class="pdparam">hwirq</var>, </td></tr><tr><td> </td><td>bool <var class="pdparam">lookup</var>, </td></tr><tr><td> </td><td>struct pt_regs * <var class="pdparam">regs</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1103278524"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>domain</code></em></span></dt><dd><p> 4 The domain where to perform the lookup 5 </p></dd><dt><span class="term"><em class="parameter"><code>hwirq</code></em></span></dt><dd><p> 6 The HW irq number to convert to a logical one 7 </p></dd><dt><span class="term"><em class="parameter"><code>lookup</code></em></span></dt><dd><p> 8 Whether to perform the domain lookup or not 9 </p></dd><dt><span class="term"><em class="parameter"><code>regs</code></em></span></dt><dd><p> 10 Register file coming from the low-level handling code 11 </p></dd></dl></div></div><div class="refsect1"><a name="idp1103283164"></a><h2>Returns</h2><p> 12 0 on success, or -EINVAL if conversion has failed 13</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="intfunctions.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="intfunctions.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-irq-get-next-irq.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 10. Internal Functions Provided </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">irq_get_next_irq</span></td></tr></table></div></body></html> 14