Home
last modified time | relevance | path

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

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