Searched refs:sc_timerclock (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/sys/arch/arm/at91/
H A Dat91tctmr.c87 uint32_t sc_timerclock; member in struct:at91tctmr_softc
111 return (tmp / sc->sc_timerclock);
199 sc->sc_timerclock = AT91_MSTCLK / 2U;
202 sc->sc_timerclock = AT91_MSTCLK / 8U;
205 sc->sc_timerclock = AT91_MSTCLK / 32U;
208 sc->sc_timerclock = AT91_MSTCLK / 128U;
213 sc->sc_divider = (sc->sc_timerclock + HZ - 1) / HZ; /* round up */
214 sc->sc_usec_per_tick = 1000000UL / (sc->sc_timerclock / sc->sc_divider);
223 DPRINTF("%s: done, tclock=%"PRIu32" div=%"PRIu32" uspertick=%"PRIu32"\n", __FUNCTION__, sc->sc_timerclock, sc->sc_divider, sc->sc_usec_per_tick);
281 hz = sc->sc_timerclock / s
[all...]

Completed in 89 milliseconds