/freebsd-10.1-release/sys/arm/ti/am335x/ |
H A D | am335x_pwm.h | 31 int am335x_pwm_config_ecas(int unit, int period, int duty);
|
H A D | am335x_pwm.c | 213 * API function to set period/duty cycles for ECASx 216 am335x_pwm_config_ecas(int unit, int period, int duty) argument 226 if (duty > period) 229 if (period == 0) 240 ECAP_WRITE4(sc, ECAP_CAP3, period - 1); 264 int clkdiv, error, freq, i, period; local 285 period = PWM_CLOCK / clkdiv / freq; 286 if (period > USHRT_MAX) 289 sc->sc_pwm_period = period; 301 /* Update the period setting 384 uint32_t period; local [all...] |
/freebsd-10.1-release/lib/libpam/libpam/ |
H A D | pam_debug_log.c | 48 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.1-release/sys/boot/pc98/libpc98/ |
H A D | time.c | 84 * 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.1-release/usr.bin/indent/ |
H A D | indent_codes.h | 70 #define period 32 macro
|
/freebsd-10.1-release/contrib/ldns/ |
H A D | duration.c | 200 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.1-release/sys/boot/i386/libi386/ |
H A D | time.c | 95 * 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.1-release/tools/regression/netinet/ip_id_period/ |
H A D | ip_id_period.py | 55 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.1-release/sys/kern/ |
H A D | kern_et.c | 176 * period - period of subsequent periodic ticks. 179 et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument 184 KASSERT(period >= 0, ("et_start: negative period")); 185 KASSERT((et->et_flags & ET_FLAGS_PERIODIC) || period == 0, 186 ("et_start: period specified for oneshot-only timer")); 187 KASSERT((et->et_flags & ET_FLAGS_ONESHOT) || period != 0, 188 ("et_start: period not specified for periodic-only timer")); 189 if (period ! [all...] |
/freebsd-10.1-release/etc/defaults/ |
H A D | periodic.conf | 310 periodvar=${var%enable}period 327 local var="$1" periodvar value period 335 periodvar=${var%enable}period 336 eval period=\"\$$periodvar\" 339 case "$period" in 345 case "$period" in 351 case "$period" in 358 case "$period" in
|
/freebsd-10.1-release/sys/sys/ |
H A D | timeet.h | 48 sbintime_t first, sbintime_t period); 97 int et_start(struct eventtimer *et, sbintime_t first, sbintime_t period);
|
/freebsd-10.1-release/contrib/ntp/adjtimed/ |
H A D | adjtimed.c | 280 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.1-release/sys/dev/sound/pci/ |
H A D | hdspe-pcm.c | 45 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.1-release/usr.bin/calendar/ |
H A D | pom.c | 184 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.1-release/release/picobsd/tinyware/passwd/ |
H A D | local_passwd.c | 126 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.1-release/sys/powerpc/powerpc/ |
H A D | clock.c | 88 sbintime_t first, sbintime_t period); 226 decr_et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument 234 if (period != 0) { 236 s->div = (decr_et.et_frequency * period) >> 32;
|
/freebsd-10.1-release/sys/x86/isa/ |
H A D | clock.c | 123 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.1-release/contrib/ntp/libntp/ |
H A D | adjtime.c | 256 * 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.1-release/contrib/dialog/ |
H A D | timebox.c | 51 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.1-release/sys/dev/advansys/ |
H A D | advlib.c | 354 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.1-release/sys/ia64/ia64/ |
H A D | clock.c | 113 ia64_clock_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument 118 if (period != 0) { 120 load = (et->et_frequency * period) >> 32;
|
/freebsd-10.1-release/usr.sbin/mfiutil/ |
H A D | mfi_bbu.c | 41 /* 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.1-release/sys/arm/lpc/ |
H A D | lpc_timer.c | 75 sbintime_t first, sbintime_t period); 200 lpc_timer_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument 205 if (period == 0) { 210 sc->lt_period = ((uint32_t)et->et_frequency * period) >> 32;
|
/freebsd-10.1-release/sys/i386/ibcs2/ |
H A D | ibcs2_xenix.c | 137 long period; local 140 period = (long)uap->millisec / (1000/hz); 141 if (period) 142 pause("nap", period);
|
/freebsd-10.1-release/sys/xen/interface/io/ |
H A D | fbif.h | 86 * Framebuffer refresh period advice 87 * Backend sends it to advise the frontend their preferred period of 100 uint32_t period; /* period of refresh, in ms, member in struct:xenfb_refresh_period
|