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

/netbsd-6-1-5-RELEASE/sys/arch/arm/xscale/
H A Dbecc_timer.c87 * subtract 1 from counts_per_hz when loading the preload register.
89 static uint32_t counts_per_hz; variable
106 counts_per_hz = COUNTS_PER_SEC / 100;
113 BECC_CSR_WRITE(BECC_TPRA, counts_per_hz - 1);
165 counts_per_hz = COUNTS_PER_SEC / hz;
168 BECC_CSR_WRITE(BECC_TPRA, counts_per_hz - 1);
237 delta += (last + (counts_per_hz - cur));
265 atomic_add_32(&becc_base, counts_per_hz);
H A Di80321_timer.c75 static uint32_t counts_per_hz; variable
195 counts_per_hz = COUNTS_PER_SEC / 100;
199 trr0_write(counts_per_hz); /* reload value */
200 tcr0_write(counts_per_hz); /* current value */
259 counts_per_hz = COUNTS_PER_SEC / hz;
261 trr0_write(counts_per_hz); /* reload value */
262 tcr0_write(counts_per_hz); /* current value */
339 delta += (last + (counts_per_hz - cur));
H A Dixp425_timer.c60 static uint32_t counts_per_hz; variable
189 counts_per_hz = COUNTS_PER_SEC / hz;
193 (counts_per_hz & TIMERRELOAD_MASK) | OST_TIMER_EN);
280 atomic_add_32(&ixpclk_base, counts_per_hz);
/netbsd-6-1-5-RELEASE/sys/arch/arm/omap/
H A Domap2_mputmrvar.h53 extern uint32_t counts_per_usec, counts_per_hz;
H A Domap_mputmr.c117 static uint32_t counts_per_usec, counts_per_hz; variable
204 counts_per_hz = tf.reload + 1;
242 ticks = hardref ? (hardref - newref) / counts_per_hz : 1;
262 if ((hardref - newref) / counts_per_hz)
377 delta += (last + (counts_per_hz - cur));
H A Domap2_mputmr.c102 uint32_t counts_per_usec, counts_per_hz; variable
279 delta += (last + (counts_per_hz - cur));
H A Dobio_mputmr.c241 counts_per_hz = tf.reload + 1;
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/iq80310/
H A Diq80310_timer.c83 static uint32_t counts_per_hz; variable
173 counts_per_hz = COUNTS_PER_SEC / 100;
178 timer_write(counts_per_hz);
225 counts_per_hz = COUNTS_PER_SEC / hz;
226 timer_write(counts_per_hz);
290 delta += ((counts_per_hz - last) + cur);
316 atomic_add_32(&iq80310_base, counts_per_hz);
/netbsd-6-1-5-RELEASE/sys/arch/arm/broadcom/
H A Dbcm2835_tmr.c61 static uint32_t counts_per_hz = ~0; variable
140 counts_per_hz = BCM2835_STIMER_HZ / hz;
143 stcl += counts_per_hz;
210 curr += counts_per_hz;
/netbsd-6-1-5-RELEASE/sys/arch/arm/gemini/
H A Dgemini_timer.c111 static uint32_t counts_per_hz = ~0; variable
350 delta += (last + (counts_per_hz - cur));

Completed in 136 milliseconds