Lines Matching defs:ch
47 #define TCFG0_BIT_CH(ch) ((ch) == 0 || (ch) == 1 ? 0 : 8) argument
48 #define TCFG1_BIT_CH(ch) ((ch) * 4) argument
49 #define TCON_BIT_CH(ch) ((ch) ? (ch) * 4 + 4 : 0) argument
50 #define TINT_CH(ch) (ch) argument
51 #define TINT_CSTAT_BIT_CH(ch) ((ch) + 5) argument
61 static inline void timer_clock(void __iomem *base, int ch, int mux, int scl) in timer_clock()
70 static inline void timer_count(void __iomem *base, int ch, unsigned int cnt) in timer_count()
76 static inline void timer_start(void __iomem *base, int ch) in timer_start()
92 static inline void timer_stop(void __iomem *base, int ch) in timer_stop()
103 static inline unsigned long timer_read(void __iomem *base, int ch) in timer_read()
115 int ch = CONFIG_TIMER_SYS_TICK_CH; in timer_init() local
182 int ch = CONFIG_TIMER_SYS_TICK_CH; in reset_timer_masked() local
194 int ch = CONFIG_TIMER_SYS_TICK_CH; in get_timer_masked() local