Lines Matching refs:CLOCKBASE
24 #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()
56 msb1 = in_8(CLOCKBASE + 5); in hp300_gettimeoffset()
57 lsb = in_8(CLOCKBASE + 7); in hp300_gettimeoffset()
58 msb2 = in_8(CLOCKBASE + 5); in hp300_gettimeoffset()
61 lsb = in_8(CLOCKBASE + 7); in hp300_gettimeoffset()
68 out_8(CLOCKBASE + CLKCR2, 0x1); /* select CR1 */ in hp300_sched_init()
69 out_8(CLOCKBASE + CLKCR1, 0x1); /* reset */ in hp300_sched_init()
71 asm volatile(" movpw %0,%1@(5)" : : "d" (INTVAL), "a" (CLOCKBASE)); in hp300_sched_init()
76 out_8(CLOCKBASE + CLKCR2, 0x1); /* select CR1 */ in hp300_sched_init()
77 out_8(CLOCKBASE + CLKCR1, 0x40); /* enable irq */ in hp300_sched_init()