Go to the documentation of this file.
9 #ifndef __ASM_TXX9TMR_H
10 #define __ASM_TXX9TMR_H
12 #include <linux/types.h>
31 #define TXx9_TMTCR_TCE 0x00000080
32 #define TXx9_TMTCR_CCDE 0x00000040
33 #define TXx9_TMTCR_CRE 0x00000020
34 #define TXx9_TMTCR_ECES 0x00000008
35 #define TXx9_TMTCR_CCS 0x00000004
36 #define TXx9_TMTCR_TMODE_MASK 0x00000003
37 #define TXx9_TMTCR_TMODE_ITVL 0x00000000
38 #define TXx9_TMTCR_TMODE_PGEN 0x00000001
39 #define TXx9_TMTCR_TMODE_WDOG 0x00000002
42 #define TXx9_TMTISR_TPIBS 0x00000004
43 #define TXx9_TMTISR_TPIAS 0x00000002
44 #define TXx9_TMTISR_TIIS 0x00000001
47 #define TXx9_TMITMR_TIIE 0x00008000
48 #define TXx9_TMITMR_TZCE 0x00000001
51 #define TXx9_TMWTMR_TWIE 0x00008000
52 #define TXx9_TMWTMR_WDIS 0x00000080
53 #define TXx9_TMWTMR_TWC 0x00000001
56 unsigned int imbusclk);
58 unsigned int imbusclk);
61 #ifdef CONFIG_CPU_TX39XX
62 #define TXX9_TIMER_BITS 24
64 #define TXX9_TIMER_BITS 32