Searched refs:period (Results 1 - 25 of 130) sorted by relevance

123456

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash1.C37 Raw_Data(const Dated_Data *source,const D_Interval& period);
40 Raw_Data::Raw_Data(const Dated_Data *source,const D_Interval& period) argument
41 : Dated_Data(Time_Interval(Date(&period,source->Dates().Start()),
42 Date(&period,source->Dates().Stop())))
/openbsd-current/sys/dev/fdt/
H A Dsxidog.c140 sxidog_callback(void *arg, int period) argument
145 if (period > 16)
146 period = 16;
147 else if (period < 0)
148 period = 0;
151 if (period > 6)
152 period = 6 + (period - 5) / 2;
156 enable = (period > 0) ? WDOG_RST_EN : 0;
158 enable | WDOG_EN | WDOG_INTV_VALUE(period));
[all...]
H A Dbcm2835_dog.c121 bcmdog_wdog_set(struct bcmdog_softc *sc, uint32_t period) argument
125 if (period == 0) {
134 wdog = period & PM_WDOG_TIMEMASK;
142 bcmdog_wdog_cb(void *self, int period) argument
146 bcmdog_wdog_set(sc, period << 16);
147 return period;
/openbsd-current/gnu/llvm/libcxx/include/__chrono/
H A Dsteady_clock.h32 typedef duration::period period; typedef in class:chrono::steady_clock
H A Dsystem_clock.h32 typedef duration::period period; typedef in class:chrono::system_clock
H A Dfile_clock.h54 typedef nano period; typedef in struct:_FilesystemClock
57 typedef nano period;
60 typedef chrono::duration<rep, period> duration;
/openbsd-current/usr.sbin/watchdogd/
H A Dwatchdogd.c42 fprintf(stderr, "usage: %s [-dnq] [-i interval] [-p period]\n",
59 u_int interval = 0, period = 30, nperiod; local
79 period = (u_int)strtonum(optarg, 2LL, 86400LL, &errstr);
81 errx(1, "period is %s: %s", errstr, optarg);
96 if (interval == 0 && (interval = period / 3) == 0)
99 if (period <= interval)
102 /* save kern.watchdog.period and kern.watchdog.auto for restore */
108 if (sysctl(mib, 3, &speriod, &len, &period, sizeof(period)) == -1) {
112 err(1, "can't access kern.watchdog.period");
[all...]
/openbsd-current/usr.bin/indent/
H A Dindent_codes.h67 #define period 32 macro
/openbsd-current/sys/kern/
H A Dkern_watchdog.c74 int error, period; local
81 period = wdog_period;
83 &period, 0, INT_MAX);
88 wdog_period = (*wdog_ctl_cb)(wdog_ctl_cb_arg, period);
H A Dkern_sensors.c176 unsigned int period; member in struct:sensor_task
186 sensor_task_register(void *arg, void (*func)(void *), unsigned int period) argument
191 if (period == 0)
192 panic("sensor_task_register: period is 0");
205 st->period = period;
222 * as dying by setting period to 0 and let sensor_task_work mop up.
226 st->period = 0;
258 unsigned int period = 0; local
262 period
[all...]
H A Dkern_clockintr.c272 clockintr_advance(struct clockintr *cl, uint64_t period) argument
279 count = nsec_advance(&expiration, period, nsecuptime());
287 clockrequest_advance(struct clockrequest *cr, uint64_t period) argument
294 return nsec_advance(&cr->cr_expiration, period, cq->cq_uptime);
421 clockintr_stagger(struct clockintr *cl, uint64_t period, uint32_t numer, argument
431 cl->cl_expiration = period / denom * numer;
538 * Advance *next in increments of period until it exceeds now.
545 nsec_advance(uint64_t *next, uint64_t period, uint64_t now) argument
552 if (now < *next + period) {
553 *next += period;
[all...]
/openbsd-current/sys/dev/pci/
H A Dichwdt.c158 ichwdt_cb(void *arg, int period) argument
163 if (period == 0) {
176 if (period > 1000)
177 period = 1000;
179 if (sc->sc_period != period) {
181 nticks = (period * 33000000) / sc->sc_divisor;
185 sc->sc_dev.dv_xname, period, nticks));
202 sc->sc_period = period;
204 return (period);
H A Dtcpcib.c130 tcpcib_wdt_init(struct tcpcib_softc *sc, int period) argument
135 preload = (period * 33000000) >> 15;
311 tcpcib_wdt_cb(void *arg, int period) argument
315 if (period == 0) {
320 if (period > 600)
321 period = 600;
322 if (sc->sc_wdt_period != period)
323 tcpcib_wdt_init(sc, period);
333 sc->sc_wdt_period = period;
335 return (period);
[all...]
/openbsd-current/sys/arch/armv7/omap/
H A Domdog.c158 omdog_cb(void *self, int period) argument
162 if (sc->sc_period != 0 && sc->sc_period != period)
165 if (period != 0) {
166 if (sc->sc_period != period) {
173 OMDOG_VAL(period));
182 if (sc->sc_period != period)
186 sc->sc_period = period;
188 return (period);
/openbsd-current/sys/arch/i386/pci/
H A Dgeodesc.c153 geodesc_wdogctl_cb(void *self, int period) argument
157 if (period > 0x03ff)
158 period = 0x03ff;
159 bus_space_write_2(sc->sc_iot, sc->sc_ioh, GCB_WDTO, period * 64);
160 return (period);
/openbsd-current/sys/arch/sparc64/dev/
H A Dbeeper.c138 beeper_bell(void *vsc, u_int pitch, u_int period, u_int volume, int poll) argument
148 if (pitch == 0 || period == 0) {
157 timeout_add_msec(&sc->sc_to, period);
H A Dpmc.c119 pmc_wdog_cb(void *arg, int period) argument
124 mins = (period + 59) / 60;
/openbsd-current/sys/dev/isa/
H A Dit.c477 it_wdog_cb(void *arg, int period) argument
490 if (period > 1000)
491 period = 1000;
492 else if (period < 0)
493 period = 0;
495 if (period > 0) {
501 period > 0xff) {
502 if (period % 60 >= 30)
503 period += 60;
504 period /
[all...]
/openbsd-current/sys/dev/sun/
H A Dsunkbd.c85 sunkbd_bell(struct sunkbd_softc *sc, u_int period, u_int pitch, u_int volume) argument
91 if (tadpole_bell(period / 10, pitch, volume) != 0)
100 if (pitch == 0 || period == 0) {
109 timeout_add_msec(&sc->sc_bellto, period);
236 sunkbd_bell(sc, d_bell->period, d_bell->pitch, d_bell->volume);
/openbsd-current/sys/dev/pci/drm/radeon/
H A Dsumo_smc.c144 u32 period, unit, timer_value; local
150 period = 100 * (xclk / 100 / sumo_power_of_4(unit));
152 timer_value = (period << 16) | (unit << 4);
/openbsd-current/sbin/wsconsctl/
H A Dkeyboard.c58 { "bell.period", &bell.period, FMT_UINT, FLG_MODIFY },
61 { "bell.period.default", &dfbell.period, FMT_UINT, FLG_MODIFY },
87 if (field_by_value(keyboard_field_tab, &bell.period)->flags & FLG_GET)
97 if (field_by_value(keyboard_field_tab, &dfbell.period)->flags & FLG_GET)
165 if (field_by_value(keyboard_field_tab, &bell.period)->flags & FLG_SET)
177 if (field_by_value(keyboard_field_tab, &dfbell.period)->flags & FLG_SET)
/openbsd-current/sys/dev/ic/
H A Dsiop_common.c113 /* find min/max sync period for this chip */
121 if (sc->st_maxsync < scf_period[i].period)
122 sc->st_maxsync = scf_period[i].period;
123 if (sc->st_minsync > scf_period[i].period)
124 sc->st_minsync = scf_period[i].period;
131 if (sc->dt_maxsync < dt_scf_period[i].period)
132 sc->dt_maxsync = dt_scf_period[i].period;
133 if (sc->dt_minsync > dt_scf_period[i].period)
134 sc->dt_minsync = dt_scf_period[i].period;
350 siop_target->offset = siop_target->period
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/rdi-share/
H A Dhostchan.h308 * delay for a given period (in microseconds)
310 void Adp_delay(unsigned int period);
/openbsd-current/sys/net/
H A Dhfsc.h70 u_int period; member in struct:hfsc_class_stats
98 u_int vtperiod; /* vt period sequence no */
99 u_int parentperiod; /* parent's vt period seqno */
/openbsd-current/sys/arch/octeon/dev/
H A Doctmmc.c343 uint64_t period, sample; local
375 period = 1000000000000ull / octeon_ioclock_speed();
376 sample = (divround(bus->bus_cmd_skew, period) <<
379 sample |= (divround(bus->bus_dat_skew, period) <<
400 uint64_t period; local
404 period = divround(octeon_ioclock_speed(), init_freq * 1000 * 2);
405 if (period > MIO_EMM_SWITCH_CLK_MAX)
406 period = MIO_EMM_SWITCH_CLK_MAX;
411 bus->bus_switch |= period << MIO_EMM_SWITCH_CLK_HI_SHIFT;
412 bus->bus_switch |= period << MIO_EMM_SWITCH_CLK_LO_SHIF
531 uint64_t period; local
[all...]

Completed in 341 milliseconds

123456