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

1234567

/freebsd-10.0-release/sys/arm/ti/am335x/
H A Dam335x_pwm.h31 int am335x_pwm_config_ecas(int unit, int period, int duty);
H A Dam335x_pwm.c205 * API function to set period/duty cycles for ECASx
208 am335x_pwm_config_ecas(int unit, int period, int duty) argument
218 if (duty > period)
221 if (period == 0)
232 ECAP_WRITE4(sc, ECAP_CAP3, period - 1);
261 device_printf(sc->sc_dev, "Duty cycle can't be greater then period\n");
284 uint32_t period; local
286 period = sc->sc_pwm_period;
287 error = sysctl_handle_int(oidp, &period, 0, req);
292 if (period <
[all...]
/freebsd-10.0-release/lib/libpam/libpam/
H A Dpam_debug_log.c48 char *fmtbuf, *modname, *period; local
52 period = strchr(modname, '.');
53 if (period == NULL)
54 period = strchr(modname, '\0');
56 asprintf(&fmtbuf, "%.*s: %s: %s\n", (int)(period - modname),
/freebsd-10.0-release/sys/boot/pc98/libpc98/
H A Dtime.c84 * Use the BIOS Wait function to pause for (period) microseconds.
90 delay(int period) argument
94 period = (period + 500) / 1000;
95 for( ; period != 0 ; period--)
/freebsd-10.0-release/usr.bin/indent/
H A Dindent_codes.h70 #define period 32 macro
/freebsd-10.0-release/contrib/ldns/
H A Dduration.c200 uint32_t period = (uint32_t) duration; local
203 while (period > 0) {
205 period /= 10;
321 time_t period = 0; local
324 period += (duration->seconds);
325 period += (duration->minutes)*60;
326 period += (duration->hours)*3600;
327 period += (duration->days)*86400;
328 period += (duration->weeks)*86400*7;
329 period
[all...]
/freebsd-10.0-release/sys/boot/i386/libi386/
H A Dtime.c95 * Use the BIOS Wait function to pause for (period) microseconds.
101 delay(int period) argument
106 v86.ecx = period >> 16;
107 v86.edx = period & 0xffff;
/freebsd-10.0-release/tools/regression/netinet/ip_id_period/
H A Dip_id_period.py55 period = count - id_lastseen[id] variable
56 if id not in id_minperiod or period < id_minperiod[id]:
57 id_minperiod[id] = period
68 print("id: %d period: %d" % (id_tuple[1], id_tuple[0]))
75 print("id: %d period: %d" % (id_tuple[1], id_tuple[0]))
/freebsd-10.0-release/sys/kern/
H A Dkern_et.c160 * period - period of subsequent periodic ticks.
163 et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument
168 KASSERT(period >= 0, ("et_start: negative period"));
169 KASSERT((et->et_flags & ET_FLAGS_PERIODIC) || period == 0,
170 ("et_start: period specified for oneshot-only timer"));
171 KASSERT((et->et_flags & ET_FLAGS_ONESHOT) || period != 0,
172 ("et_start: period not specified for periodic-only timer"));
173 if (period !
[all...]
/freebsd-10.0-release/etc/defaults/
H A Dperiodic.conf319 periodvar=${var%enable}period
336 local var="$1" periodvar value period
344 periodvar=${var%enable}period
345 eval period=\"\$$periodvar\"
348 case "$period" in
354 case "$period" in
360 case "$period" in
367 case "$period" in
/freebsd-10.0-release/sys/sys/
H A Dtimeet.h48 sbintime_t first, sbintime_t period);
96 int et_start(struct eventtimer *et, sbintime_t first, sbintime_t period);
/freebsd-10.0-release/contrib/ntp/adjtimed/
H A Dadjtimed.c280 struct itimerval period, remains; local
293 * Apply a slew rate of slew_rate over a period of dt/slew_rate seconds.
301 period.it_value.tv_sec = dt / slew_rate;
302 period.it_value.tv_usec = (dt % slew_rate) * (MILLION / slew_rate);
304 * Note: we assume the kernel will convert the specified period into ticks
312 period.it_value.tv_sec, period.it_value.tv_usec);
315 period.it_value.tv_sec, period.it_value.tv_usec);
327 * (do this after changing the rate because the period ha
[all...]
/freebsd-10.0-release/sys/dev/sound/pci/
H A Dhdspe-pcm.c45 uint32_t period; member in struct:hdspe_latency
270 for (i = 0; i < sc->period * 2 /* fragments */; i++) {
447 long long period; local
478 period = HDSPE_FREQ_AIO;
497 period /= speed;
498 hdspe_write_4(sc, HDSPE_FREQ_REG, period);
530 for (i = 0; latency_map[i].period != 0; i++) {
531 if (latency_map[i].period == blocksize) {
538 for (i = 0; latency_map[i].period != 0; i++) {
540 threshold = hl->period
[all...]
/freebsd-10.0-release/usr.bin/calendar/
H A Dpom.c184 double period = FSECSPERDAY / 2.0; local
191 p1 = onday + (period / SECSPERDAY);
192 period /= 2;
194 while (period > 30) { /* half a minute */
195 // printf("period:%g - p1:%g - ", period, p1);
202 p1 += (period / SECSPERDAY);
204 p1 -= (period / SECSPERDAY);
205 period /= 2;
206 // printf("newdir:%d - p1:%10.10f - period
[all...]
/freebsd-10.0-release/contrib/ntp/libntp/
H A Dadjtime.c256 * 1 second period until the desired delta is achieved.
273 * execution period (1s). If slightly less than 1s (0.95-0.99), then olddelta
274 * residual error (introduced by execution period jitter) will be reduced.
299 struct _clockperiod period; local
315 * Get the current clock period (nanoseconds)
317 if (ClockPeriod (CLOCK_REALTIME, 0, &period, 0) < 0)
323 count = 1e9 * ADJUST_PERIOD / period.nsec;
335 increment_limit = CORR_SLEW_LIMIT * period.nsec;
/freebsd-10.0-release/release/picobsd/tinyware/passwd/
H A Dlocal_passwd.c126 time_t period; local
132 period = login_getcaptime(lc, "passwordtime", 0, 0);
133 if (period > (time_t)0) {
134 pw->pw_change = time(NULL) + period;
/freebsd-10.0-release/sys/powerpc/aim/
H A Dclock.c88 sbintime_t first, sbintime_t period);
211 sbintime_t first, sbintime_t period)
216 if (period != 0) {
218 s->div = (decr_et.et_frequency * period) >> 32;
210 decr_et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument
/freebsd-10.0-release/sys/powerpc/booke/
H A Dclock.c91 sbintime_t first, sbintime_t period);
208 decr_et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument
213 if (period != 0) {
215 s->div = (decr_et.et_frequency * period) >> 32;
/freebsd-10.0-release/sys/x86/isa/
H A Dclock.c123 uint32_t period; member in struct:attimer_softc
140 static void set_i8254_freq(int mode, uint32_t period);
147 if (i8254_timecounter && sc->period != 0) {
407 set_i8254_freq(int mode, uint32_t period) argument
419 new_count = min(((uint64_t)i8254_freq * period +
470 set_i8254_freq(attimer_sc->mode, attimer_sc->period);
539 set_i8254_freq(attimer_sc->mode, attimer_sc->period);
561 if (sc->period == 0)
592 attimer_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument
597 if (period !
[all...]
/freebsd-10.0-release/contrib/dialog/
H A Dtimebox.c51 int period; member in struct:_box
95 int period, int value,
105 data->period = period;
106 data->value = value % period;
366 obj->value += obj->period;
367 obj->value %= obj->period;
377 if (value < obj->period) {
91 init_object(BOX * data, WINDOW *parent, int x, int y, int width, int height, int period, int value, int code) argument
/freebsd-10.0-release/sys/dev/advansys/
H A Dadvlib.c354 tinfo->current.period,
374 /*period*/0,
710 tid_no, /*period*/0, /*offset*/0,
712 if (tinfo->current.period != tinfo->goal.period) {
713 adv_msgout_sdtr(adv, tinfo->goal.period,
965 tid_no, /*period*/0, /*offset*/0,
970 tid_no, /*period*/0, /*offset*/0,
988 tid_no, /*period*/0, /*offset*/0,
990 if (tinfo->current.period !
1079 adv_sdtr_to_period_offset(struct adv_softc *adv, u_int8_t sync_data, u_int8_t *period, u_int8_t *offset, int tid) argument
1093 adv_set_syncrate(struct adv_softc *adv, struct cam_path *path, u_int tid, u_int period, u_int offset, u_int type) argument
1174 adv_period_offset_to_sdtr(struct adv_softc *adv, u_int *period, u_int *offset, int tid) argument
1919 u_int period; local
[all...]
/freebsd-10.0-release/sys/ia64/ia64/
H A Dclock.c108 ia64_clock_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument
113 if (period != 0) {
115 load = (et->et_frequency * period) >> 32;
/freebsd-10.0-release/usr.sbin/mfiutil/
H A Dmfi_bbu.c41 /* The autolearn period is given in seconds. */
43 mfi_autolearn_period(uint32_t period, char *buf, size_t sz) argument
48 d = period / (24 * 3600);
49 h = (period % (24 * 3600)) / 3600;
/freebsd-10.0-release/sys/arm/lpc/
H A Dlpc_timer.c76 sbintime_t first, sbintime_t period);
198 lpc_timer_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument
203 if (period == 0) {
208 sc->lt_period = ((uint32_t)et->et_frequency * period) >> 32;
/freebsd-10.0-release/sys/i386/ibcs2/
H A Dibcs2_xenix.c137 long period; local
140 period = (long)uap->millisec / (1000/hz);
141 if (period)
142 pause("nap", period);

Completed in 192 milliseconds

1234567