Searched refs:CLKEVT (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/arch/arm/mach-spear/ |
H A D | time.c | 35 #define CLKEVT 0 /* gpt0, channel0 as clockevent */ macro 98 u16 val = readw(gpt_base + CR(CLKEVT)); in timer_shutdown() 102 writew(val, gpt_base + CR(CLKEVT)); in timer_shutdown() 119 val = readw(gpt_base + CR(CLKEVT)); in spear_set_oneshot() 121 writew(val, gpt_base + CR(CLKEVT)); in spear_set_oneshot() 136 writew(period, gpt_base + LOAD(CLKEVT)); in spear_set_periodic() 138 val = readw(gpt_base + CR(CLKEVT)); in spear_set_periodic() 141 writew(val, gpt_base + CR(CLKEVT)); in spear_set_periodic() 160 u16 val = readw(gpt_base + CR(CLKEVT)); in clockevent_next_event() 163 writew(val & ~CTRL_ENABLE, gpt_base + CR(CLKEVT)); in clockevent_next_event() [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-spear/ |
H A D | time.c | 32 #define CLKEVT 0 /* gpt0, channel0 as clockevent */ macro 95 u16 val = readw(gpt_base + CR(CLKEVT)); in spear_timer_shutdown() 99 writew(val, gpt_base + CR(CLKEVT)); in spear_timer_shutdown() 116 val = readw(gpt_base + CR(CLKEVT)); in spear_set_oneshot() 118 writew(val, gpt_base + CR(CLKEVT)); in spear_set_oneshot() 133 writew(period, gpt_base + LOAD(CLKEVT)); in spear_set_periodic() 135 val = readw(gpt_base + CR(CLKEVT)); in spear_set_periodic() 138 writew(val, gpt_base + CR(CLKEVT)); in spear_set_periodic() 157 u16 val = readw(gpt_base + CR(CLKEVT)); in clockevent_next_event() 160 writew(val & ~CTRL_ENABLE, gpt_base + CR(CLKEVT)); in clockevent_next_event() [all...] |
Completed in 2 milliseconds