HomeSort by: relevance | last modified time | path
    Searched defs:ticks (Results 1 - 25 of 168) sorted by relevancy

1 2 3 4 5 6 7

  /src/sys/arch/pmax/stand/common/
clock.c 40 long ticks; local in function:getsecs
41 ticks = (*callv->_time)((long *)0);
42 return (ticks);
clock.c 40 long ticks; local in function:getsecs
41 ticks = (*callv->_time)((long *)0);
42 return (ticks);
clock.c 40 long ticks; local in function:getsecs
41 ticks = (*callv->_time)((long *)0);
42 return (ticks);
  /src/sys/arch/sun68k/stand/libsa/
clock.c 15 long ticks; local in function:getsecs
17 ticks = getticks();
18 return ((ticks / hz));
24 long ticks; local in function:getticks
26 ticks = *romVectorPtr->nmiClock;
27 return (ticks);
clock.c 15 long ticks; local in function:getsecs
17 ticks = getticks();
18 return ((ticks / hz));
24 long ticks; local in function:getticks
26 ticks = *romVectorPtr->nmiClock;
27 return (ticks);
clock.c 15 long ticks; local in function:getsecs
17 ticks = getticks();
18 return ((ticks / hz));
24 long ticks; local in function:getticks
26 ticks = *romVectorPtr->nmiClock;
27 return (ticks);
  /src/sys/arch/sgimips/dev/
ctl.c 200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1); local in function:ctl_blink
201 callout_reset(&ctl_blink_ch, ticks, ctl_blink, sc);
ctl.c 200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1); local in function:ctl_blink
201 callout_reset(&ctl_blink_ch, ticks, ctl_blink, sc);
ctl.c 200 int ticks = ((averunnable.ldavg[0] + FSCALE) * hz) >> (FSHIFT + 1); local in function:ctl_blink
201 callout_reset(&ctl_blink_ch, ticks, ctl_blink, sc);
  /src/sys/arch/riscv/riscv/
clock_machdep.c 156 const uint64_t ticks = (uint64_t)us * timer_ticks_per_usec; local in function:delay
157 const uint64_t finish = csr_time_read() + ticks;
clock_machdep.c 156 const uint64_t ticks = (uint64_t)us * timer_ticks_per_usec; local in function:delay
157 const uint64_t finish = csr_time_read() + ticks;
clock_machdep.c 156 const uint64_t ticks = (uint64_t)us * timer_ticks_per_usec; local in function:delay
157 const uint64_t finish = csr_time_read() + ticks;
  /src/sys/arch/arm/ti/
am3_platform.c 118 long ticks = n * 24; local in function:am33xx_platform_delay
124 while (ticks > 0) {
127 ticks -= (cur - prev);
129 ticks -= (UINT32_MAX - cur + prev);
am3_platform.c 118 long ticks = n * 24; local in function:am33xx_platform_delay
124 while (ticks > 0) {
127 ticks -= (cur - prev);
129 ticks -= (UINT32_MAX - cur + prev);
am3_platform.c 118 long ticks = n * 24; local in function:am33xx_platform_delay
124 while (ticks > 0) {
127 ticks -= (cur - prev);
129 ticks -= (UINT32_MAX - cur + prev);
  /src/sys/arch/arm/at91/
at91st.c 93 /* Match value for clock timer; running at 32.768kHz, want HZ ticks per second */
105 /* convert specified number of ticks to usec, and round up */
125 /* convert specified number of usec to timer ticks, and round up */
336 static void tdelay(unsigned int ticks)
342 end = start + ticks;
344 /* just loop for the specified number of ticks */
390 /* have more than 1 tick; just do in ticks */
391 unsigned int ticks = usec / USEC_PER_TICK; local in function:delay
392 if (ticks*USEC_PER_TICK != usec)
393 ticks += 1
    [all...]
at91st.c 93 /* Match value for clock timer; running at 32.768kHz, want HZ ticks per second */
105 /* convert specified number of ticks to usec, and round up */
125 /* convert specified number of usec to timer ticks, and round up */
336 static void tdelay(unsigned int ticks)
342 end = start + ticks;
344 /* just loop for the specified number of ticks */
390 /* have more than 1 tick; just do in ticks */
391 unsigned int ticks = usec / USEC_PER_TICK; local in function:delay
392 if (ticks*USEC_PER_TICK != usec)
393 ticks += 1
    [all...]
  /src/sys/arch/i386/pci/
geodewdg.c 168 uint32_t ticks; local in function:geode_wdog_setmode
184 ticks = smw->smw_period * SC1100_WDCLK_HZ;
186 GEODE_DPRINTF(("%s: ticks0 %" PRIu32 "\n", __func__, ticks));
188 for (prescale = 0; ticks > UINT16_MAX; prescale++)
189 ticks /= 2;
191 GEODE_DPRINTF(("%s: ticks %" PRIu32 "\n", __func__, ticks));
195 KASSERT(ticks <= UINT16_MAX);
200 sc->sc_countdown = (uint16_t)ticks;
geodewdg.c 168 uint32_t ticks; local in function:geode_wdog_setmode
184 ticks = smw->smw_period * SC1100_WDCLK_HZ;
186 GEODE_DPRINTF(("%s: ticks0 %" PRIu32 "\n", __func__, ticks));
188 for (prescale = 0; ticks > UINT16_MAX; prescale++)
189 ticks /= 2;
191 GEODE_DPRINTF(("%s: ticks %" PRIu32 "\n", __func__, ticks));
195 KASSERT(ticks <= UINT16_MAX);
200 sc->sc_countdown = (uint16_t)ticks;
  /src/usr.bin/time/
time.c 166 unsigned long long ticks; local in function:main
167 #define SCALE(x) (long)(ticks ? x / ticks : 0)
169 ticks = hz * (ru.ru_utime.tv_sec + ru.ru_stime.tv_sec) +
time.c 166 unsigned long long ticks; local in function:main
167 #define SCALE(x) (long)(ticks ? x / ticks : 0)
169 ticks = hz * (ru.ru_utime.tv_sec + ru.ru_stime.tv_sec) +
  /src/sys/arch/amiga/stand/bootblock/boot/
console.c 273 unsigned long ticks; local in function:getchar
284 ticks = 10 * timelimit;
287 ticks = 2;
297 ticks = 1;
304 ticks = 1;
308 if (ticks == 1)
313 --ticks;
314 } while (ticks != 0);
console.c 273 unsigned long ticks; local in function:getchar
284 ticks = 10 * timelimit;
287 ticks = 2;
297 ticks = 1;
304 ticks = 1;
308 if (ticks == 1)
313 --ticks;
314 } while (ticks != 0);
  /src/sys/arch/powerpc/powerpc/
clock.c 145 long ticks; local in function:decr_intr
156 __asm ("mfdec %0" : "=r"(ticks));
157 for (nticks = 0; ticks < 0; nticks++)
158 ticks += ticks_per_intr;
159 __asm volatile ("mtdec %0" :: "r"(ticks));
182 ci->ci_lasttb = tb + ticks - ticks_per_intr;
  /src/sys/kern/
subr_time_arith.c 96 * Compute number of ticks in the specified amount of time.
101 unsigned long ticks; local in function:tvtohz
108 * ticks, rounding up and adding 1 to allow for the current tick
112 * Otherwise, if the number of ticks in the whole seconds part of
114 * ticks separately and add, using similar rounding methods and
122 * 10ms ticks is 248 days.
138 * Would expire now or in the past. Return 0 ticks.
142 ticks = 0;
144 ticks = (((sec * 1000000) + (unsigned long)usec + (tick - 1))
147 ticks = (sec * hz)
    [all...]

Completed in 46 milliseconds

1 2 3 4 5 6 7