Home
last modified time | relevance | path

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

/linux-4.4.14/arch/m68k/hp300/
Dtime.c23 #define CLOCKBASE 0xf05f8000 macro
42 in_8(CLOCKBASE + CLKSR); in hp300_tick()
43 asm volatile ("movpw %1@(5),%0" : "=d" (tmp) : "a" (CLOCKBASE)); in hp300_tick()
55 msb1 = in_8(CLOCKBASE + 5); in hp300_gettimeoffset()
56 lsb = in_8(CLOCKBASE + 7); in hp300_gettimeoffset()
57 msb2 = in_8(CLOCKBASE + 5); in hp300_gettimeoffset()
60 lsb = in_8(CLOCKBASE + 7); in hp300_gettimeoffset()
67 out_8(CLOCKBASE + CLKCR2, 0x1); /* select CR1 */ in hp300_sched_init()
68 out_8(CLOCKBASE + CLKCR1, 0x1); /* reset */ in hp300_sched_init()
70 asm volatile(" movpw %0,%1@(5)" : : "d" (INTVAL), "a" (CLOCKBASE)); in hp300_sched_init()
[all …]