Path: blob/master/arch/sh/include/mach-x3proto/mach/ilsel.h
15162 views
#ifndef __ASM_SH_ILSEL_H1#define __ASM_SH_ILSEL_H23typedef enum {4ILSEL_NONE,5ILSEL_LAN,6ILSEL_USBH_I,7ILSEL_USBH_S,8ILSEL_USBH_V,9ILSEL_RTC,10ILSEL_USBP_I,11ILSEL_USBP_S,12ILSEL_USBP_V,13ILSEL_KEY,1415/*16* ILSEL Aliases - corner cases for interleaved level tables.17*18* Someone thought this was a good idea and less hassle than19* demuxing a shared vector, really.20*/2122/* ILSEL0 and 2 */23ILSEL_FPGA0,24ILSEL_FPGA1,25ILSEL_EX1,26ILSEL_EX2,27ILSEL_EX3,28ILSEL_EX4,2930/* ILSEL1 and 3 */31ILSEL_FPGA2 = ILSEL_FPGA0,32ILSEL_FPGA3 = ILSEL_FPGA1,33ILSEL_EX5 = ILSEL_EX1,34ILSEL_EX6 = ILSEL_EX2,35ILSEL_EX7 = ILSEL_EX3,36ILSEL_EX8 = ILSEL_EX4,37} ilsel_source_t;3839/* arch/sh/boards/renesas/x3proto/ilsel.c */40int ilsel_enable(ilsel_source_t set);41int ilsel_enable_fixed(ilsel_source_t set, unsigned int level);42void ilsel_disable(unsigned int irq);4344#endif /* __ASM_SH_ILSEL_H */454647