Lines Matching defs:n
28 #define TIMER_IR_CR(n) (1 << ((n) + 4)) argument
29 #define TIMER_IR_MR(n) (1 << (n)) argument
37 #define TIMER_MCR_STOP(n) (1 << (3 * (n) + 2)) argument
38 #define TIMER_MCR_RESET(n) (1 << (3 * (n) + 1)) argument
39 #define TIMER_MCR_INTERRUPT(n) (1 << (3 * (n))) argument
42 #define TIMER_CCR_INTERRUPT(n) (1 << (3 * (n) + 2)) argument
43 #define TIMER_CCR_FALLING_EDGE(n) (1 << (3 * (n) + 1)) argument
44 #define TIMER_CCR_RISING_EDGE(n) (1 << (3 * (n))) argument
47 #define TIMER_EMR_EMC_TOGGLE(n) (0x3 << (2 * (n) + 4)) argument
48 #define TIMER_EMR_EMC_SET(n) (0x2 << (2 * (n) + 4)) argument
49 #define TIMER_EMR_EMC_CLEAR(n) (0x1 << (2 * (n) + 4)) argument
50 #define TIMER_EMR_EMC_NOTHING(n) (0x0 << (2 * (n) + 4)) argument
51 #define TIMER_EMR_EM(n) (1 << (n)) argument
54 #define TIMER_CTCR_INPUT(n) ((n) << 2) argument