include: replace linux/module.h with "struct module" wherever possible
[linux-2.6/next.git] / arch / sh / include / mach-x3proto / mach / ilsel.h
blobe3d304b280f6eba2daf50b76701fe634e7fe163e
1 #ifndef __ASM_SH_ILSEL_H
2 #define __ASM_SH_ILSEL_H
4 typedef enum {
5 ILSEL_NONE,
6 ILSEL_LAN,
7 ILSEL_USBH_I,
8 ILSEL_USBH_S,
9 ILSEL_USBH_V,
10 ILSEL_RTC,
11 ILSEL_USBP_I,
12 ILSEL_USBP_S,
13 ILSEL_USBP_V,
14 ILSEL_KEY,
17 * ILSEL Aliases - corner cases for interleaved level tables.
19 * Someone thought this was a good idea and less hassle than
20 * demuxing a shared vector, really.
23 /* ILSEL0 and 2 */
24 ILSEL_FPGA0,
25 ILSEL_FPGA1,
26 ILSEL_EX1,
27 ILSEL_EX2,
28 ILSEL_EX3,
29 ILSEL_EX4,
31 /* ILSEL1 and 3 */
32 ILSEL_FPGA2 = ILSEL_FPGA0,
33 ILSEL_FPGA3 = ILSEL_FPGA1,
34 ILSEL_EX5 = ILSEL_EX1,
35 ILSEL_EX6 = ILSEL_EX2,
36 ILSEL_EX7 = ILSEL_EX3,
37 ILSEL_EX8 = ILSEL_EX4,
38 } ilsel_source_t;
40 /* arch/sh/boards/renesas/x3proto/ilsel.c */
41 int ilsel_enable(ilsel_source_t set);
42 int ilsel_enable_fixed(ilsel_source_t set, unsigned int level);
43 void ilsel_disable(unsigned int irq);
45 #endif /* __ASM_SH_ILSEL_H */