1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct irq_chip_type</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="structs.html" title="Chapter&#160;8.&#160;Structures"><link rel="prev" href="API-struct-irq-chip-regs.html" title="struct irq_chip_regs"><link rel="next" href="API-struct-irq-chip-generic.html" title="struct irq_chip_generic"></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">struct irq_chip_type</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-irq-chip-regs.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;8.&#160;Structures</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-irq-chip-generic.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-irq-chip-type"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct irq_chip_type &#8212; 
2     Generic interrupt chip instance for a flow type
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct irq_chip_type {
5  struct irq_chip chip;
6  struct irq_chip_regs regs;
7  irq_flow_handler_t handler;
8  u32 type;
9  u32 mask_cache_priv;
10  u32 * mask_cache;
11};  </pre></div><div class="refsect1"><a name="idp1103014692"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">chip</span></dt><dd><p>
12   The real interrupt chip which provides the callbacks
13      </p></dd><dt><span class="term">regs</span></dt><dd><p>
14   Register offsets for this chip
15      </p></dd><dt><span class="term">handler</span></dt><dd><p>
16   Flow handler associated with this chip
17      </p></dd><dt><span class="term">type</span></dt><dd><p>
18   Chip can handle these flow types
19      </p></dd><dt><span class="term">mask_cache_priv</span></dt><dd><p>
20   Cached mask register private to the chip type
21      </p></dd><dt><span class="term">mask_cache</span></dt><dd><p>
22   Pointer to cached mask register
23      </p></dd></dl></div></div><div class="refsect1"><a name="idp1103019444"></a><h2>Description</h2><p>
24   A irq_generic_chip can have several instances of irq_chip_type when
25   it requires different functions and register offsets for different
26   flow types.
27</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-irq-chip-regs.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="structs.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-irq-chip-generic.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct irq_chip_regs</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 class="phrase">struct irq_chip_generic</span></td></tr></table></div></body></html>
28