1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Chip-level hardware encapsulation</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="Abstraction.html" title="Chapter 4. Abstraction layers"><link rel="prev" href="Highlevel_IRQ_flow_handlers.html" title="High-level IRQ flow handlers"><link rel="next" href="doirq.html" title="Chapter 5. __do_IRQ entry point"></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">Chip-level hardware encapsulation</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Highlevel_IRQ_flow_handlers.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Abstraction layers</th><td width="20%" align="right"> <a accesskey="n" href="doirq.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="Chiplevel_hardware_encapsulation"></a>Chip-level hardware encapsulation</h2></div></div></div><p> 2 The chip-level hardware descriptor structure irq_chip 3 contains all the direct chip relevant functions, which 4 can be utilized by the irq flow implementations. 5 </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>irq_ack()</p></li><li class="listitem"><p>irq_mask_ack() - Optional, recommended for performance</p></li><li class="listitem"><p>irq_mask()</p></li><li class="listitem"><p>irq_unmask()</p></li><li class="listitem"><p>irq_eoi() - Optional, required for EOI flow handlers</p></li><li class="listitem"><p>irq_retrigger() - Optional</p></li><li class="listitem"><p>irq_set_type() - Optional</p></li><li class="listitem"><p>irq_set_wake() - Optional</p></li></ul></div><p> 6 These primitives are strictly intended to mean what they say: ack means 7 ACK, masking means masking of an IRQ line, etc. It is up to the flow 8 handler(s) to use these basic units of low-level functionality. 9 </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Highlevel_IRQ_flow_handlers.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Abstraction.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="doirq.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">High-level IRQ flow handlers </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 5. __do_IRQ entry point</td></tr></table></div></body></html> 10