Home
last modified time | relevance | path

Searched refs:CLOCKBASE (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/arch/m68k/hp300/
Dtime.c37 #define CLOCKBASE 0xf05f8000 macro
63 in_8(CLOCKBASE + CLKSR); in hp300_tick()
64 asm volatile ("movpw %1@(5),%0" : "=d" (tmp) : "a" (CLOCKBASE)); in hp300_tick()
83 msb = in_8(CLOCKBASE + CLKMSB1); in hp300_read_clk()
85 if ((in_8(CLOCKBASE + CLKSR) & CLKSR_INT1) && msb > 0) in hp300_read_clk()
87 lsb = in_8(CLOCKBASE + CLKLSB1); in hp300_read_clk()
88 msb_new = in_8(CLOCKBASE + CLKMSB1); in hp300_read_clk()
103 out_8(CLOCKBASE + CLKCR2, 0x1); /* select CR1 */ in hp300_sched_init()
104 out_8(CLOCKBASE + CLKCR1, 0x1); /* reset */ in hp300_sched_init()
106 asm volatile(" movpw %0,%1@(5)" : : "d" (INTVAL), "a" (CLOCKBASE)); in hp300_sched_init()
[all …]