Home
last modified time | relevance | path

Searched refs:period (Results 1 – 25 of 789) sorted by relevance

12345678910>>...32

/netbsd/external/gpl3/gdb/dist/gnulib/import/
H A Dstr-two-way.h109 size_t *period) in critical_factorization() argument
122 *period = 1; in critical_factorization()
168 *period = p; in critical_factorization()
220 *period = p; in critical_factorization()
275 j += period; in two_way_short_needle()
276 memory = needle_len - period; in two_way_short_needle()
307 j += period; in two_way_short_needle()
369 if (memory && shift < period) in two_way_long_needle()
397 j += period; in two_way_long_needle()
398 memory = needle_len - period; in two_way_long_needle()
[all …]
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/
H A Dstr-two-way.h109 size_t *period) in critical_factorization() argument
122 *period = 1; in critical_factorization()
168 *period = p; in critical_factorization()
220 *period = p; in critical_factorization()
275 j += period; in two_way_short_needle()
276 memory = needle_len - period; in two_way_short_needle()
307 j += period; in two_way_short_needle()
369 if (memory && shift < period) in two_way_long_needle()
397 j += period; in two_way_long_needle()
398 memory = needle_len - period; in two_way_long_needle()
[all …]
/netbsd/external/mpl/bind/dist/bin/python/isc/tests/test-policies/
H A D04-combined-pre-post.pol17 roll-period zsk 3mo;
20 roll-period ksk 1y;
28 // Policy that defines a combined pre-publish and post-publish period lower
29 // than the rollover period
33 roll-period ksk 4mo;
39 // than the rollover period
43 roll-period ksk 4mo;
49 // than the rollover period
53 roll-period zsk 3mo;
59 // than the rollover period
[all …]
H A D02-prepublish.pol17 roll-period zsk 3mo;
20 roll-period ksk 1y;
28 // Policy that defines a pre-publish period lower than the rollover period
32 roll-period ksk 4mo;
36 // Policy that defines a pre-publish period equal to the rollover period
40 roll-period ksk 4mo;
H A D03-postpublish.pol17 roll-period zsk 3mo;
20 roll-period ksk 1y;
28 // Policy that defines a post-publish period lower than the rollover period
32 roll-period ksk 4mo;
36 // Policy that defines a post-publish period equal to the rollover period
40 roll-period ksk 4mo;
/netbsd/sys/arch/arm/amlogic/
H A Dmeson_pwm.c127 u_int period, duty, clk_div, hi, lo; in meson_pwm_get_current() local
161 conf->period = period; in meson_pwm_get_current()
181 u_int period, duty, clk_div, hi, lo; in meson_pwm_set_config() local
186 period = conf->period; in meson_pwm_set_config()
188 if (period == 0) in meson_pwm_set_config()
190 KASSERT(period >= duty); in meson_pwm_set_config()
192 duty = period - duty; in meson_pwm_set_config()
269 conf->duty_cycle, conf->period, in meson_pwm_set_config()
307 if (pwmchan->mpc_conf.period != period) { in meson_pwm_get_tag()
313 period / pwmchan->mpc_conf.period; in meson_pwm_get_tag()
[all …]
/netbsd/sbin/wdogctl/
H A Dwdogctl.c86 u_int period = WDOG_PERIOD_DEFAULT; in main() local
123 period = (unsigned int)tmp; in main()
161 enable_ext(argv[0], period); in main()
164 enable_kernel(argv[0], period); in main()
168 enable_user(argv[0], period, command == CMD_USER_TICKLE); in main()
182 wp->wm_period = period; in prep_wmode()
188 enable_kernel(const char *name, u_int period) in enable_kernel() argument
193 prep_wmode(&wm, WDOG_MODE_KTICKLE, name, period); in enable_kernel()
206 enable_ext(const char *name, u_int period) in enable_ext() argument
211 prep_wmode(&wm, WDOG_MODE_ETICKLE, name, period); in enable_ext()
[all …]
/netbsd/external/gpl3/gdb/dist/gdbsupport/
H A Drun-time-clock.h30 using period = duration::period; member
45 using period = duration::period; member
61 using period = duration::period; member
/netbsd/external/gpl3/gdb.old/dist/gdbsupport/
H A Drun-time-clock.h30 using period = duration::period; member
45 using period = duration::period; member
61 using period = duration::period; member
/netbsd/sys/arch/arm/rockchip/
H A Drk_pwm.c100 const u_int period = be32toh(pwm[2]); in rk_pwm_get_tag() local
103 sc->sc_conf.period = period; in rk_pwm_get_tag()
139 uint32_t ctrl, period, duty; in rk_pwm_get_config()
143 period = PWM_READ(sc, PWM0_PERIOD_HPR); in rk_pwm_get_config()
158 conf->period = (u_int)(((uint64_t)period * 1000000000) / rate); in rk_pwm_get_config()
174 const uint32_t period = (u_int)((conf->period * rate) / 1000000000); in rk_pwm_set_config() local
187 PWM_WRITE(sc, PWM0_PERIOD_HPR, period); in rk_pwm_set_config()
/netbsd/sys/dev/scsipi/
H A Dscsi_base.c141 int period, freq, speed, mbs; in scsi_print_xfer_mode() local
151 period = scsipi_sync_factor_to_period(periph->periph_period); in scsi_print_xfer_mode()
153 period / 100, period % 100, periph->periph_offset); in scsi_print_xfer_mode()
199 int lun, announce, mode, period, offset; in scsi_async_event_xfer_mode() local
212 period = xm->xm_period; in scsi_async_event_xfer_mode()
215 period = 0; in scsi_async_event_xfer_mode()
225 periph->periph_period != period || in scsi_async_event_xfer_mode()
230 periph->periph_period = period; in scsi_async_event_xfer_mode()
/netbsd/lib/libpam/libpam/
H A Dpam_debug_log.c55 const char *modname, *period; in _pam_verbose_error() local
62 period = strchr(modname, '.'); in _pam_verbose_error()
63 if (period == NULL) in _pam_verbose_error()
64 period = strchr(modname, '\0'); in _pam_verbose_error()
70 pam_error(pamh, "%.*s: %s: %s\n", (int)(ssize_t)(period - modname), in _pam_verbose_error()
/netbsd/sys/arch/x86/pci/
H A Drdcpcib.c262 unsigned int period; in rdc_wdtimer_setmode() local
268 period = smw->smw_period * RDC_WDT0_FREQ; in rdc_wdtimer_setmode()
269 if (period < 1 || in rdc_wdtimer_setmode()
270 period > RDC_WDT0_PERIOD_MAX) in rdc_wdtimer_setmode()
272 period = period - 1; in rdc_wdtimer_setmode()
278 rdc_ind_write(sc, RDC_WDT0_CNTL, (period >> 0) & 0xff); in rdc_wdtimer_setmode()
279 rdc_ind_write(sc, RDC_WDT0_CNTH, (period >> 8) & 0xff); in rdc_wdtimer_setmode()
280 rdc_ind_write(sc, RDC_WDT0_CNTU, (period >> 16) & 0xff); in rdc_wdtimer_setmode()
/netbsd/external/bsd/ntp/dist/adjtimed/
H A Dadjtimed.c282 struct itimerval period, remains; in AdjustClockRate() local
303 period.it_value.tv_sec = dt / slew_rate; in AdjustClockRate()
304 period.it_value.tv_usec = (dt % slew_rate) * (MILLION / slew_rate); in AdjustClockRate()
314 period.it_value.tv_sec, period.it_value.tv_usec); in AdjustClockRate()
317 period.it_value.tv_sec, period.it_value.tv_usec); in AdjustClockRate()
331 period.it_interval.tv_sec = period.it_interval.tv_usec = 0L; in AdjustClockRate()
332 setitimer(ITIMER_REAL, &period, &remains); in AdjustClockRate()
/netbsd/sys/arch/mips/ralink/
H A Dralink_wdog.c245 u_int period = smw->smw_period; in ra_wdog_setmode() local
250 ((int)period < 0)) { in ra_wdog_setmode()
252 period = -period; in ra_wdog_setmode()
262 if (period > WDOG_MAX_PERIOD) in ra_wdog_setmode()
266 r = ra_wdog_sec_to_count(period); in ra_wdog_setmode()
274 r = ra_wdog_sec_to_count(period) / 2; in ra_wdog_setmode()
/netbsd/external/bsd/openldap/dist/tests/scripts/
H A Dtest081-totp.py47 def get_interval(period=30): argument
48 return int(time.time() // period)
96 period = int(params['oathTOTPTimeStepPeriod'][0].decode())
100 interval_no = get_interval(period)
112 interval_no = get_interval(period)
139 interval_no = get_interval(period)
157 interval_no = get_interval(period)
/netbsd/external/gpl3/binutils/dist/gprofng/libcollector/
H A Ddispatcher.c508 int period; in __collector_ext_itimer_set() local
513 period = -rperiod; in __collector_ext_itimer_set()
516 period = rperiod; in __collector_ext_itimer_set()
530 itimer_period_requested = period; in __collector_ext_itimer_set()
903 int period; in _setitimer() local
909 period = -1; in _setitimer()
922 period = -1; in _setitimer()
924 period = (oval->it_interval.tv_sec * MICROSEC) + in _setitimer()
927 which, ret, period); in _setitimer()
932 SP_JCMD_CWARN, COL_WARN_ITMROVR, period); in _setitimer()
[all …]
/netbsd/external/mpl/bind/dist/contrib/kasp/
H A Dpolicy.good8 roll-period ksk 2400;
9 roll-period zsk 1500;
20 roll-period ksk 2700;
21 roll-period zsk 1500;
/netbsd/sys/dev/isa/
H A Dpcppi.c290 pcppi_bell(pcppi_tag_t self, int pitch, int period, int slp) in pcppi_bell() argument
294 pcppi_bell_locked(self, pitch, period, slp); in pcppi_bell()
299 pcppi_bell_locked(pcppi_tag_t self, int pitch, int period, int slp) in pcppi_bell_locked() argument
310 if (pitch == 0 || period == 0) { in pcppi_bell_locked()
329 delay((period * 1000000) / hz); in pcppi_bell_locked()
333 callout_schedule(&sc->sc_bell_ch, period); in pcppi_bell_locked()
368 pcppi_pckbd_bell(void *arg, u_int pitch, u_int period, u_int volume, in pcppi_pckbd_bell() argument
375 pcppi_bell_locked(arg, pitch, (period * hz) / 1000, in pcppi_pckbd_bell()
/netbsd/sys/dev/ic/
H A Dsiop_common.c139 sc->st_maxsync = scf_period[i].period; in siop_common_attach()
443 siop_target->period = 0; in siop_ppr_neg()
454 siop_target->period = 0; in siop_ppr_neg()
463 siop_target->period = sync; in siop_ppr_neg()
479 siop_target->period = 0; in siop_ppr_neg()
549 if (scf_period[i].period == sync) { in siop_sdtr_neg()
552 siop_target->period = sync; in siop_sdtr_neg()
600 if (scf_period[i].period == sync) { in siop_sdtr_neg()
603 siop_target->period = sync; in siop_sdtr_neg()
1036 if (siop_target->period) { in siop_update_xfer_mode()
[all …]
H A Daic79xx_osm.c416 u_int ppr_options = 0, period, offset; in ahd_action() local
438 period = tinfo->user.period; in ahd_action()
462 period = 0; in ahd_action()
484 ahd_validate_offset(ahd, NULL, period, &offset, in ahd_action()
487 period = 0; in ahd_action()
508 xm->xm_period = tinfo->curr.period; in ahd_action()
512 if (tinfo->curr.period) in ahd_action()
609 || tinfo->goal.period != 0 in ahd_execute_scb()
855 if (tinfo->curr.period != tinfo->goal.period in ahd_send_async()
862 xm.xm_period = tinfo->curr.period; in ahd_send_async()
[all …]
/netbsd/external/gpl3/gdb/dist/sim/lm32/
H A Ddv-lm32timer.c31 unsigned int period; member
70 timer->snapshot = timer->period; in do_timer_event()
119 timers->period = value; in lm32timer_io_write_buffer()
151 value = timers->period; in lm32timer_io_read_buffer()
213 timers->period = 0; in lm32timer_finish()
/netbsd/external/gpl3/gdb.old/dist/sim/lm32/
H A Ddv-lm32timer.c31 unsigned int period; member
70 timer->snapshot = timer->period; in do_timer_event()
119 timers->period = value; in lm32timer_io_write_buffer()
151 value = timers->period; in lm32timer_io_read_buffer()
213 timers->period = 0; in lm32timer_finish()
/netbsd/sys/dev/i2c/
H A Dpca9685.c238 const u_int period = be32toh(pwm[2]); in pcapwm_get_tag() local
246 chan->ch_conf.period = period; in pcapwm_get_tag()
310 duty_cycle = chan->ch_conf.period; in pcapwm_pwm_get_config()
324 duty_cycle = (u_int)((nticks * chan->ch_conf.period) / in pcapwm_pwm_get_config()
354 if (sc->sc_period != conf->period) { in pcapwm_pwm_set_config()
368 const u_int pwm_freq = 1000000000 / conf->period; in pcapwm_pwm_set_config()
377 "set_config: invalid period: %uns\n", conf->period); in pcapwm_pwm_set_config()
451 sc->sc_period = conf->period; in pcapwm_pwm_set_config()
/netbsd/sys/dev/wscons/
H A Dwsbelldata.h42 (dstp)->period = ((srcp)->which & WSKBD_BELL_DOPERIOD) ? \
43 (srcp)->period : (dfltp)->period; \

12345678910>>...32