1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chapter&#160;7.&#160;Generic interrupt chip</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="index.html" title="Linux generic IRQ handling"><link rel="prev" href="locking.html" title="Chapter&#160;6.&#160;Locking on SMP"><link rel="next" href="API-irq-gc-mask-set-bit.html" title="irq_gc_mask_set_bit"></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">Chapter&#160;7.&#160;Generic interrupt chip</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="locking.html">Prev</a>&#160;</td><th width="60%" align="center">&#160;</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-irq-gc-mask-set-bit.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="genericchip"></a>Chapter&#160;7.&#160;Generic interrupt chip</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="refentrytitle"><a href="API-irq-gc-mask-set-bit.html"><span class="phrase">irq_gc_mask_set_bit</span></a></span><span class="refpurpose"> &#8212; 
2  Mask chip via setting bit in mask register
3 </span></dt><dt><span class="refentrytitle"><a href="API-irq-gc-mask-clr-bit.html"><span class="phrase">irq_gc_mask_clr_bit</span></a></span><span class="refpurpose"> &#8212; 
4     Mask chip via clearing bit in mask register
5 </span></dt><dt><span class="refentrytitle"><a href="API-irq-gc-ack-set-bit.html"><span class="phrase">irq_gc_ack_set_bit</span></a></span><span class="refpurpose"> &#8212; 
6     Ack pending interrupt via setting bit
7 </span></dt><dt><span class="refentrytitle"><a href="API-irq-alloc-generic-chip.html"><span class="phrase">irq_alloc_generic_chip</span></a></span><span class="refpurpose"> &#8212; 
8     Allocate a generic chip and initialize it
9 </span></dt><dt><span class="refentrytitle"><a href="API-irq-alloc-domain-generic-chips.html"><span class="phrase">irq_alloc_domain_generic_chips</span></a></span><span class="refpurpose"> &#8212; 
10     Allocate generic chips for an irq domain
11 </span></dt><dt><span class="refentrytitle"><a href="API-irq-get-domain-generic-chip.html"><span class="phrase">irq_get_domain_generic_chip</span></a></span><span class="refpurpose"> &#8212; 
12     Get a pointer to the generic chip of a hw_irq
13 </span></dt><dt><span class="refentrytitle"><a href="API-irq-setup-generic-chip.html"><span class="phrase">irq_setup_generic_chip</span></a></span><span class="refpurpose"> &#8212; 
14     Setup a range of interrupts with a generic chip
15 </span></dt><dt><span class="refentrytitle"><a href="API-irq-setup-alt-chip.html"><span class="phrase">irq_setup_alt_chip</span></a></span><span class="refpurpose"> &#8212; 
16     Switch to alternative chip
17 </span></dt><dt><span class="refentrytitle"><a href="API-irq-remove-generic-chip.html"><span class="phrase">irq_remove_generic_chip</span></a></span><span class="refpurpose"> &#8212; 
18     Remove a chip
19 </span></dt></dl></div><p>
20       To avoid copies of identical implementations of IRQ chips the
21       core provides a configurable generic interrupt chip
22       implementation. Developers should check carefully whether the
23       generic chip fits their needs before implementing the same
24       functionality slightly differently themselves.
25     </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="locking.html">Prev</a>&#160;</td><td width="20%" align="center">&#160;</td><td width="40%" align="right">&#160;<a accesskey="n" href="API-irq-gc-mask-set-bit.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;6.&#160;Locking on SMP&#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">irq_gc_mask_set_bit</span></td></tr></table></div></body></html>
26