xref: /linux/rust/kernel/irq.rs (revision 746680ec6696585e30db3e18c93a63df9cbec39c)
11f54d5e5SDaniel Almeida // SPDX-License-Identifier: GPL-2.0
21f54d5e5SDaniel Almeida 
31f54d5e5SDaniel Almeida //! IRQ abstractions.
41f54d5e5SDaniel Almeida //!
51f54d5e5SDaniel Almeida //! An IRQ is an interrupt request from a device. It is used to get the CPU's
61f54d5e5SDaniel Almeida //! attention so it can service a hardware event in a timely manner.
71f54d5e5SDaniel Almeida //!
81f54d5e5SDaniel Almeida //! The current abstractions handle IRQ requests and handlers, i.e.: it allows
91f54d5e5SDaniel Almeida //! drivers to register a handler for a given IRQ line.
101f54d5e5SDaniel Almeida //!
111f54d5e5SDaniel Almeida //! C header: [`include/linux/device.h`](srctree/include/linux/interrupt.h)
12*746680ecSDaniel Almeida 
13*746680ecSDaniel Almeida /// Flags to be used when registering IRQ handlers.
14*746680ecSDaniel Almeida mod flags;
15*746680ecSDaniel Almeida 
16*746680ecSDaniel Almeida pub use flags::Flags;
17