Go to the documentation of this file.
9 #define CTICONTROL 0x000
10 #define CTISTATUS 0x004
12 #define CTIPROTECTION 0x00C
13 #define CTIINTACK 0x010
14 #define CTIAPPSET 0x014
15 #define CTIAPPCLEAR 0x018
16 #define CTIAPPPULSE 0x01c
18 #define CTIOUTEN 0x0A0
19 #define CTITRIGINSTATUS 0x130
20 #define CTITRIGOUTSTATUS 0x134
21 #define CTICHINSTATUS 0x138
22 #define CTICHOUTSTATUS 0x13c
23 #define CTIPERIPHID0 0xFE0
24 #define CTIPERIPHID1 0xFE4
25 #define CTIPERIPHID2 0xFE8
26 #define CTIPERIPHID3 0xFEC
27 #define CTIPCELLID0 0xFF0
28 #define CTIPCELLID1 0xFF4
29 #define CTIPCELLID2 0xFF8
30 #define CTIPCELLID3 0xFFC
35 #define LOCKACCESS 0xFB0
36 #define LOCKSTATUS 0xFB4
41 #define LOCKCODE 0xC5ACCE55
69 static inline void cti_init(
struct cti *
cti,
70 void __iomem *base,
int irq,
int trig_out)
87 static inline void cti_map_trigger(
struct cti *
cti,
88 int trig_in,
int trig_out,
int chan)
108 static inline void cti_enable(
struct cti *
cti)
119 static inline void cti_disable(
struct cti *
cti)
130 static inline void cti_irq_ack(
struct cti *
cti)
147 static inline void cti_unlock(
struct cti *
cti)
167 static inline void cti_lock(
struct cti *cti)