Home
last modified time | relevance | path

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

/openbsd/sys/arch/sh/sh/
H A Dclock.c67 uint32_t tmuclk; /* source clock of TMU0 (Hz) */ member
137 sh_clock.tmuclk = sh_clock.pclock / 16; in sh_clock_init()
142 sh_clock.tmuclk = SH_RTC_CLOCK; in sh_clock_init()
155 sh_clock.cpucycle_1us = (sh_clock.tmuclk * 10) / t0; in sh_clock_init()
157 cnt_1s = ((uint64_t)sh_clock.tmuclk * 10000000 * 10 + t0 / 2) / t0; in sh_clock_init()
282 sh_clock.hz_cnt = sh_clock.tmuclk / hz - 1; in cpu_startclock()