1
2
3
4
5
6
7
8
9
10
11
12
13 #ifndef __ASM_ARCH_NEPONSET_H
14 #define __ASM_ARCH_NEPONSET_H
15
16
17
18
19 #define NCR_GP01_OFF (1<<0)
20 #define NCR_TP_PWR_EN (1<<1)
21 #define NCR_MS_PWR_EN (1<<2)
22 #define NCR_ENET_OSC_EN (1<<3)
23 #define NCR_SPI_KB_WK_UP (1<<4)
24 #define NCR_A0VPP (1<<5)
25 #define NCR_A1VPP (1<<6)
26
27 void neponset_ncr_frob(unsigned int, unsigned int);
28 #define neponset_ncr_set(v) neponset_ncr_frob(0, v)
29 #define neponset_ncr_clear(v) neponset_ncr_frob(v, 0)
30
31 #endif