Searched refs:CPLD_OFFSET (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/arm/mach-davinci/
H A Dboard-dm365-evm.c64 #define CPLD_OFFSET(a13a8,a2a1) (((a13a8) << 10) + ((a2a1) << 3)) macro
66 #define CPLD_VERSION CPLD_OFFSET(0,0) /* r/o */
67 #define CPLD_TEST CPLD_OFFSET(0,1)
68 #define CPLD_LEDS CPLD_OFFSET(0,2)
69 #define CPLD_MUX CPLD_OFFSET(0,3)
70 #define CPLD_SWITCH CPLD_OFFSET(1,0) /* r/o */
71 #define CPLD_POWER CPLD_OFFSET(1,1)
72 #define CPLD_VIDEO CPLD_OFFSET(1,2)
73 #define CPLD_CARDSTAT CPLD_OFFSET(1,3) /* r/o */
75 #define CPLD_DILC_OUT CPLD_OFFSET(2,0)
76 #define CPLD_DILC_IN CPLD_OFFSET(2,1) /* r/o */
78 #define CPLD_IMG_DIR0 CPLD_OFFSET(2,2)
79 #define CPLD_IMG_MUX0 CPLD_OFFSET(2,3)
80 #define CPLD_IMG_MUX1 CPLD_OFFSET(3,0)
81 #define CPLD_IMG_DIR1 CPLD_OFFSET(3,1)
82 #define CPLD_IMG_MUX2 CPLD_OFFSET(3,2)
83 #define CPLD_IMG_MUX3 CPLD_OFFSET(3,3)
84 #define CPLD_IMG_DIR2 CPLD_OFFSET(4,0)
85 #define CPLD_IMG_MUX4 CPLD_OFFSET(4,1)
86 #define CPLD_IMG_MUX5 CPLD_OFFSET(4,2)
88 #define CPLD_RESETS CPLD_OFFSET(4,3)
90 #define CPLD_CCD_DIR1 CPLD_OFFSET(0x3e,0)
91 #define CPLD_CCD_IO1 CPLD_OFFSET(0x3e,1)
92 #define CPLD_CCD_DIR2 CPLD_OFFSET(0x3e,2)
93 #define CPLD_CCD_IO2 CPLD_OFFSET(0x3e,3)
94 #define CPLD_CCD_DIR3 CPLD_OFFSET(0x3f,0)
95 #define CPLD_CCD_IO3 CPLD_OFFSET(0x3f,1)

Completed in 130 milliseconds