1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_ILSEL_H
3 #define __ASM_SH_ILSEL_H
18 * ILSEL Aliases - corner cases for interleaved level tables.
20 * Someone thought this was a good idea and less hassle than
21 * demuxing a shared vector, really.
33 ILSEL_FPGA2 = ILSEL_FPGA0,
34 ILSEL_FPGA3 = ILSEL_FPGA1,
35 ILSEL_EX5 = ILSEL_EX1,
36 ILSEL_EX6 = ILSEL_EX2,
37 ILSEL_EX7 = ILSEL_EX3,
38 ILSEL_EX8 = ILSEL_EX4,
41 /* arch/sh/boards/renesas/x3proto/ilsel.c */
42 int ilsel_enable(ilsel_source_t set);
43 int ilsel_enable_fixed(ilsel_source_t set, unsigned int level);
44 void ilsel_disable(unsigned int irq);
46 #endif /* __ASM_SH_ILSEL_H */