Searched refs:timer (Results 1 - 25 of 206) sorted by relevance

123456789

/netbsd-6-1-5-RELEASE/common/lib/libx86emu/
H A Dx86emu_i8254.c56 * Compute tick of the virtual timer based on start time and
75 x86emu_i8254_counter(struct x86emu_i8254_timer *timer, uint64_t curtick) argument
79 /* Initial value if timer is disabled or not yet started */
80 if (timer->gate_high || timer->start_tick > curtick)
81 return timer->active_counter;
84 if (timer->active_is_bcd)
89 curtick -= timer->start_tick;
92 if (curtick <= timer->active_counter)
93 return timer
110 x86emu_i8254_out(struct x86emu_i8254_timer *timer, uint64_t curtick) argument
162 x86emu_i8254_latch_status(struct x86emu_i8254_timer *timer, uint64_t curtick) argument
173 x86emu_i8254_latch_counter(struct x86emu_i8254_timer *timer, uint64_t curtick) argument
184 struct x86emu_i8254_timer *timer; local
231 x86emu_i8254_read_counter(struct x86emu_i8254 *sc, struct x86emu_i8254_timer *timer) argument
274 x86emu_i8254_write_counter(struct x86emu_i8254 *sc, struct x86emu_i8254_timer *timer, uint8_t val) argument
332 struct x86emu_i8254_timer *timer; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-run/
H A Dtimer.hpp47 // The "timer" class.
50 class timer : utils::noncopyable { class in namespace:atf::atf_run
55 timer(const unsigned int);
56 virtual ~timer(void);
67 class child_timer : public timer {
H A Dtimer.cpp50 #include "timer.hpp"
56 static impl::timer* compat_handle;
69 impl::timer* timer = static_cast< impl::timer* >(si->si_value.sival_ptr); local
70 timer->set_fired();
71 timer->timeout_callback();
86 // The "timer" class.
89 struct impl::timer::impl {
105 impl::timer function in class:impl::timer
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-run/
H A Dtimer.hpp48 // The "timer" class.
51 class timer : utils::noncopyable { class in namespace:atf::atf_run
56 timer(const unsigned int);
57 virtual ~timer(void);
67 class child_timer : public timer {
H A Dtimer.cpp40 #include "timer.hpp"
52 impl::timer* m_timer = NULL;
66 // The "timer" class.
69 impl::timer::timer(const unsigned int seconds) function in class:impl::timer
82 throw system_error(IMPL_NAME "::timer::timer",
83 "Failed to program timer", errno);
86 impl::timer::~timer(voi
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/
H A Dtimer.c36 #include <isc/timer.h>
84 /*! Locked by timer lock. */
139 isc__timer_reset(isc_timer_t *timer, isc_timertype_t type,
143 isc__timer_gettype(isc_timer_t *timer);
145 isc__timer_touch(isc_timer_t *timer);
203 schedule(isc__timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
216 REQUIRE(timer->type != isc_timertype_inactive);
222 manager = timer->manager;
236 if (timer->type != isc_timertype_once) {
237 result = isc_time_add(now, &timer
337 deschedule(isc__timer_t *timer) argument
369 destroy(isc__timer_t *timer) argument
402 isc__timer_t *timer; local
522 isc__timer_t *timer = (isc__timer_t *)timer0; local
595 isc__timer_t *timer = (isc__timer_t *)timer0; local
609 isc__timer_t *timer = (isc__timer_t *)timer0; local
640 isc__timer_t *timer = (isc__timer_t *)timer0; local
658 isc__timer_t *timer; local
687 isc__timer_t *timer; local
864 isc__timer_t *timer; local
[all...]
H A Dtimer_api.c29 #include <isc/timer.h>
113 isc_timer_attach(isc_timer_t *timer, isc_timer_t **timerp) { argument
114 REQUIRE(ISCAPI_TIMER_VALID(timer));
117 timer->methods->attach(timer, timerp);
119 ENSURE(*timerp == timer);
132 isc_timer_reset(isc_timer_t *timer, isc_timertype_t type, argument
136 REQUIRE(ISCAPI_TIMER_VALID(timer));
138 return (timer->methods->reset(timer, typ
142 isc_timer_touch(isc_timer_t *timer) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dlocaltime_r.c45 localtime_r(const time_t *timer, struct tm *result) argument
49 return (localtime_s(result, timer) == 0)? result : NULL;
54 tm = localtime((time_t *)timer);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/
H A Dtimer.c20 /* Id: timer.c,v 1.84.58.4 2009/01/23 23:47:21 tbox Exp */
36 #include <isc/timer.h>
68 /*! Locked by timer lock. */
113 schedule(isc_timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
126 REQUIRE(timer->type != isc_timertype_inactive);
132 manager = timer->manager;
146 if (timer->type != isc_timertype_once) {
147 result = isc_time_add(now, &timer->interval, &due);
150 if (timer->type == isc_timertype_limited &&
151 isc_time_compare(&timer
247 deschedule(isc_timer_t *timer) argument
275 destroy(isc_timer_t *timer) argument
306 isc_timer_t *timer; local
419 isc_timer_reset(isc_timer_t *timer, isc_timertype_t type, isc_time_t *expires, isc_interval_t *interval, isc_boolean_t purge) argument
495 isc_timer_gettype(isc_timer_t *timer) argument
508 isc_timer_touch(isc_timer_t *timer) argument
538 isc_timer_attach(isc_timer_t *timer, isc_timer_t **timerp) argument
555 isc_timer_t *timer; local
584 isc_timer_t *timer; local
757 isc_timer_t *timer; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/next68k/next68k/
H A Dclock.c88 volatile struct timer_reg *timer; local
99 timer = (volatile struct timer_reg *)IIOV(NEXT_P_TIMER);
100 timer->csr |= TIMER_REG_UPDATE;
117 * if no alternative timer is available.
125 volatile struct timer_reg *timer; local
130 timer = (volatile struct timer_reg *)IIOV(NEXT_P_TIMER);
131 cnt = 1000000/hz; /* usec timer */
132 timer->csr = 0;
133 timer->msb = (cnt >> 8);
134 timer
[all...]
/netbsd-6-1-5-RELEASE/sys/netinet/
H A Dtcp_timer.h77 #define TCPT_2MSL 3 /* 2*msl quiet time timer */
80 * The TCPT_REXMT timer is used to force retransmissions.
81 * The TCP has the TCPT_REXMT timer set whenever segments
84 * then the retransmit timer is cleared (if there are no more
86 * are more ACKs expected). Whenever the retransmit timer goes off,
88 * on the retransmit timer.
90 * The TCPT_PERSIST timer is used to keep window size information
94 * the TCPT_PERSIST timer. When it expires, if the window is nonzero,
99 * packet time. The TCPT_PERSIST timer is cleared whenever we receive
102 * The TCPT_KEEP timer i
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/scripts/
H A Dfreq_adj.in16 chop($timer = `sysctl -n kern.timecounter.hardware 2> /dev/null`);
18 $timer =~ tr/\U/\L/;
20 if ($timer eq '') {
25 $timer = $1;
32 $opt_t = $timer if !defined($opt_t);
34 if ($timer ne '') { # $timer found...
36 if ($timer ne $opt_t) { # - - and they differ
37 warn "You specified a $opt_t timer but I detected a $timer time
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/include/
H A Dopenpicreg.h62 #define OPENPIC_TIMER_CC(timer) (0x1100 + (timer) * 0x40)
64 #define OPENPIC_TIMER_BC(timer) (0x1110 + (timer) * 0x40)
66 #define OPENPIC_TIMER_VECTOR(timer) (0x1120 + (timer) * 0x40)
68 #define OPENPIC_TIMER_DEST(timer) (0x1130 + (timer) * 0x40)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/
H A Do_time.h64 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/include/dns/
H A Dtimer.h20 /* Id: timer.h,v 1.9 2007/06/19 23:47:17 tbox Exp */
25 /*! \file dns/timer.h */
41 dns_timer_setidle(isc_timer_t *timer, unsigned int maxtime,
47 * Set the timer 'timer' to go off after 'idletime' seconds of inactivity,
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/
H A Dtimer.c20 /* Id: timer.c,v 1.7 2007/06/19 23:47:16 tbox Exp */
28 #include <isc/timer.h>
31 #include <dns/timer.h>
39 dns_timer_setidle(isc_timer_t *timer, unsigned int maxtime, argument
52 * work around the silly limitation of the ISC timer interface
57 CHECK(isc_timer_reset(timer, isc_timertype_once,
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dam9513reg.h36 * Driver support for the Am9513 timer chip. See
240 /* These are the timer numbers: */
251 #define AM9513_TIMER_BIT(timer) (1 << ((timer) - 1))
257 #define AM9513_CMD_LOAD_MODE(timer) _AM9513_CMD(0x00 | (timer))
258 #define AM9513_CMD_LOAD_LOAD(timer) _AM9513_CMD(0x08 | (timer))
259 #define AM9513_CMD_LOAD_HOLD(timer) _AM9513_CMD(0x10 | (timer))
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/raidframe/
H A Drf_states.c169 RF_Etimer_t timer; local
178 timer = tracerec->timer;
179 RF_ETIMER_STOP(timer);
180 RF_ETIMER_EVAL(timer);
181 tracerec->specific.user.exec_us = RF_ETIMER_VAL_US(timer);
182 RF_ETIMER_START(tracerec->timer);
300 RF_Etimer_t timer; local
310 RF_ETIMER_START(timer);
311 RF_ETIMER_START(desc->timer);
366 RF_Etimer_t timer; local
390 RF_Etimer_t timer; local
493 RF_Etimer_t timer; local
692 RF_Etimer_t timer; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/etc/
H A Dmakefile19 nasm -f coff timer.asm
20 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86
24 nasm -f gnuwin32 timer.asm
25 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86
29 nasm -f elf -DUSE_ELF timer.asm
30 $(CC) -DX86_TIMER $(CFLAGS) tune.c timer.o $(LIBNAME) -o tune86l
/netbsd-6-1-5-RELEASE/sys/net/agr/
H A Dieee8023ad_lacp_impl.h45 #define LACP_TIMER_ARM(port, timer, val) \
46 (port)->lp_timer[(timer)] = (val)
47 #define LACP_TIMER_DISARM(port, timer) \
48 (port)->lp_timer[(timer)] = 0
49 #define LACP_TIMER_ISARMED(port, timer) \
50 ((port)->lp_timer[(timer)] > 0)
/netbsd-6-1-5-RELEASE/usr.sbin/rtadvd/
H A Dtimer.c1 /* $NetBSD: timer.c,v 1.9 2006/03/05 23:47:08 rpaulo Exp $ */
2 /* $KAME: timer.c,v 1.11 2005/04/14 06:22:35 suz Exp $ */
41 #include "timer.h"
93 rtadvd_remove_timer(struct rtadvd_timer **timer) argument
96 TAILQ_REMOVE(&ra_timer, *timer, next);
97 free(*timer);
98 *timer = NULL;
102 rtadvd_set_timer(struct timeval *tm, struct rtadvd_timer *timer) argument
106 /* reset the timer */
109 TIMEVAL_ADD(&now, tm, &timer
158 rtadvd_timer_rest(struct rtadvd_timer *timer) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/include/isc/
H A Dtimer.h20 /* Id: timer.h,v 1.40 2008/06/23 23:47:11 tbox Exp */
29 /*! \file isc/timer.h
46 * Timers can change type. It is typical to create a timer as
47 * an 'inactive' timer and then change it into a 'ticker' or
48 * 'once' timer.
53 * Clients of this module must not be holding a timer's task's lock when
54 * making a call that affects that timer. Failure to follow this rule
125 * Create a new 'type' timer managed by 'manager'. The timers parameters
128 * arg value. The new timer is returned in 'timerp'.
132 *\li For ticker timers, the timer wil
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/include/isc/
H A Dtimer.h20 /* Id: timer.h,v 1.43 2009/09/02 23:48:03 tbox Exp */
29 /*! \file isc/timer.h
46 * Timers can change type. It is typical to create a timer as
47 * an 'inactive' timer and then change it into a 'ticker' or
48 * 'once' timer.
53 * Clients of this module must not be holding a timer's task's lock when
54 * making a call that affects that timer. Failure to follow this rule
108 /*% Timer and timer manager methods */
122 void (*attach)(isc_timer_t *timer, isc_timer_t **timerp);
124 isc_result_t (*reset)(isc_timer_t *timer, isc_timertype_
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/lm32/
H A Ddv-lm32timer.c1 /* Lattice Mico32 timer model.
27 unsigned base; /* Base address of this timer. */
28 unsigned limit; /* Limit address of this timer. */
57 struct lm32timer *timer = hw_data (me); local
59 /* Is timer started? */
60 if (timer->control & 0x4)
62 if (timer->snapshot)
64 /* Decrement timer. */
65 timer->snapshot--;
67 else if (timer
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/mn10300/
H A Ddv-mn103tim.c91 /* Don't include timer 6 because it's handled specially. */
94 #define NR_REG_TIMERS 6 /* Exclude timer 6 - it's handled specially. */
111 mn10300_timer timer[NR_TIMERS]; member in struct:mn103tim
113 /* treat timer 6 registers specially. */
115 unsigned8 tm6mda, tm6mdb; /* compare/capture mode regs for timer 6 */
136 { "timer-0-underflow", TIMER0_UFLOW, 0, output_port, },
137 { "timer-1-underflow", TIMER1_UFLOW, 0, output_port, },
138 { "timer-2-underflow", TIMER2_UFLOW, 0, output_port, },
139 { "timer-3-underflow", TIMER3_UFLOW, 0, output_port, },
140 { "timer
[all...]

Completed in 190 milliseconds

123456789