Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/mac68k/mac68k/
H A Dclock.c241 int profint = PRF_INTERVAL; /* Clock ticks between interrupts */ variable
256 if (profint > CLK_INTERVAL) in initprofclock()
257 profint = CLK_INTERVAL; in initprofclock()
259 if (CLK_INTERVAL % profint != 0) in initprofclock()
261 profint = CLK_INTERVAL / (CLK_INTERVAL / profint); in initprofclock()
263 profscale = CLK_INTERVAL / profint; in initprofclock()
265 profinthigh = profint >> 8; in initprofclock()
266 profintlow = profint & 0xff; in initprofclock()
272 via_reg(VIA2, vT1L) = (profint - 1) & 0xff; in startprofclock()
273 via_reg(VIA2, vT1LH) = (profint - 1) >> 8; in startprofclock()
[all …]
/netbsd-src/sys/arch/x68k/x68k/
H A Dclock.c381 int profint = PRF_INTERVAL; /* Clock ticks between interrupts */ variable
423 if (profint > CLK_INTERVAL || (CLK_INTERVAL % profint) != 0) in initprofclock()
424 profint = CLK_INTERVAL; in initprofclock()
425 profscale = CLK_INTERVAL / profint; in initprofclock()
/netbsd-src/sys/arch/hp300/hp300/
H A Dclock.c190 int intvl, statint, profint, minint; in cpu_initclocks() local
226 profint = COUNTS_PER_SEC / profhz; in cpu_initclocks()
236 profint--; in cpu_initclocks()
241 profmin = profint - (statvar >> 1); in cpu_initclocks()
/netbsd-src/sys/arch/amiga/dev/
H A Dclock.c553 int profint = PRF_INTERVAL; /* Clock ticks between interrupts */ variable
597 if (profint > amiga_clk_interval || (amiga_clk_interval % profint) != 0) in initprofclock()
598 profint = amiga_clk_interval; in initprofclock()
599 profscale = amiga_clk_interval / profint; in initprofclock()
613 interval = profint - 1; in startprofclock()
/netbsd-src/sys/arch/evbarm/ifpga/
H A Difpga_clock.c244 int profint; in cpu_initclocks() local
270 profint = COUNTS_PER_SEC / profhz; in cpu_initclocks()
278 profint--; in cpu_initclocks()
282 profmin = profint - (statvar >> 1); in cpu_initclocks()