xref: /linux/rust/kernel/irq.rs (revision 1f54d5e5cd2a03cb6dd8326db576f8763f9b6785)
1*1f54d5e5SDaniel Almeida // SPDX-License-Identifier: GPL-2.0
2*1f54d5e5SDaniel Almeida 
3*1f54d5e5SDaniel Almeida //! IRQ abstractions.
4*1f54d5e5SDaniel Almeida //!
5*1f54d5e5SDaniel Almeida //! An IRQ is an interrupt request from a device. It is used to get the CPU's
6*1f54d5e5SDaniel Almeida //! attention so it can service a hardware event in a timely manner.
7*1f54d5e5SDaniel Almeida //!
8*1f54d5e5SDaniel Almeida //! The current abstractions handle IRQ requests and handlers, i.e.: it allows
9*1f54d5e5SDaniel Almeida //! drivers to register a handler for a given IRQ line.
10*1f54d5e5SDaniel Almeida //!
11*1f54d5e5SDaniel Almeida //! C header: [`include/linux/device.h`](srctree/include/linux/interrupt.h)
12