|
Linux Kernel
3.7.1
|
#include <linux/init.h>#include <linux/kernel.h>#include <linux/module.h>#include <linux/bitmap.h>#include <linux/io.h>#include <mach/ilsel.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | ILSEL_BASE 0xb8100004 |
| #define | ILSEL_LEVELS 15 |
Functions | |
| int | ilsel_enable (ilsel_source_t set) |
| EXPORT_SYMBOL_GPL (ilsel_enable) | |
| int | ilsel_enable_fixed (ilsel_source_t set, unsigned int level) |
| EXPORT_SYMBOL_GPL (ilsel_enable_fixed) | |
| void | ilsel_disable (unsigned int irq) |
| EXPORT_SYMBOL_GPL (ilsel_disable) | |
| EXPORT_SYMBOL_GPL | ( | ilsel_enable | ) |
| EXPORT_SYMBOL_GPL | ( | ilsel_enable_fixed | ) |
| EXPORT_SYMBOL_GPL | ( | ilsel_disable | ) |
| int ilsel_enable | ( | ilsel_source_t | set | ) |
ilsel_enable - Enable an ILSEL set. : ILSEL source (see ilsel_source_t enum in include/asm-sh/ilsel.h).
Enables a given non-aliased ILSEL source (<= ILSEL_KEY) at the highest available interrupt level. Callers should take care to order callsites noting descending interrupt levels. Aliasing FPGA and external board IRQs need to use ilsel_enable_fixed().
The return value is an IRQ number that can later be taken down with ilsel_disable().
| int ilsel_enable_fixed | ( | ilsel_source_t | set, |
| unsigned int | level | ||
| ) |
ilsel_enable_fixed - Enable an ILSEL set at a fixed interrupt level : ILSEL source (see ilsel_source_t enum in include/asm-sh/ilsel.h). : Interrupt level (1 - 15)
Enables a given ILSEL source at a fixed interrupt level. Necessary both for level reservation as well as for aliased sources that only exist on special ILSEL::s.
Returns an IRQ number (as ilsel_enable()).
1.8.2