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

12345678

/freebsd-11-stable/sys/arm/ti/am335x/
H A Dam335x_pwm.h31 int am335x_pwm_config_ecap(int unit, int period, int duty);
H A Dam335x_ehrpwm.c185 int clkdiv, error, freq, i, period; local
206 period = PWM_CLOCK / clkdiv / freq;
207 if (period > USHRT_MAX)
210 sc->sc_pwm_period = period;
222 /* Update the period settings. */
282 device_printf(sc->sc_dev, "Duty cycle can't be greater then period\n");
305 uint32_t period; local
307 period = sc->sc_pwm_period;
308 error = sysctl_handle_int(oidp, &period, 0, req);
313 if (period <
[all...]
H A Dam335x_ecap.c102 * API function to set period/duty cycles for ECAPx
105 am335x_pwm_config_ecap(int unit, int period, int duty) argument
115 if (duty > period)
118 if (period == 0)
129 ECAP_WRITE4(sc, ECAP_CAP3, period - 1);
/freebsd-11-stable/usr.bin/indent/
H A Dindent_codes.h70 #define period 32 macro
/freebsd-11-stable/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-11-stable/tools/regression/netinet/ip_id_period/
H A Dip_id_period.py56 period = count - id_lastseen[id] variable
57 if id not in id_minperiod or period < id_minperiod[id]:
58 id_minperiod[id] = period
69 print("id: %d period: %d" % (id_tuple[1], id_tuple[0]))
76 print("id: %d period: %d" % (id_tuple[1], id_tuple[0]))
/freebsd-11-stable/stand/i386/libi386/
H A Dtime.c104 * Use the BIOS Wait function to pause for (period) microseconds.
110 delay(int period) argument
115 v86.ecx = period >> 16;
116 v86.edx = period & 0xffff;
/freebsd-11-stable/sys/kern/
H A Dkern_et.c177 * period - period of subsequent periodic ticks.
180 et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument
185 KASSERT(period >= 0, ("et_start: negative period"));
186 KASSERT((et->et_flags & ET_FLAGS_PERIODIC) || period == 0,
187 ("et_start: period specified for oneshot-only timer"));
188 KASSERT((et->et_flags & ET_FLAGS_ONESHOT) || period != 0,
189 ("et_start: period not specified for periodic-only timer"));
190 if (period !
[all...]
/freebsd-11-stable/etc/defaults/
H A Dperiodic.conf331 periodvar=${var%enable}period
348 local var="$1" periodvar value period
356 periodvar=${var%enable}period
357 eval period=\"\$$periodvar\"
360 case "$period" in
366 case "$period" in
372 case "$period" in
379 case "$period" in
/freebsd-11-stable/sys/sys/
H A Dtimeet.h48 sbintime_t first, sbintime_t period);
97 int et_start(struct eventtimer *et, sbintime_t first, sbintime_t period);
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/sys/powerpc/powerpc/
H A Dclock.c88 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-11-stable/sys/x86/isa/
H A Dclock.c124 uint32_t period; member in struct:attimer_softc
141 static void set_i8254_freq(int mode, uint32_t period);
157 if (i8254_timecounter && sc->period != 0) {
366 set_i8254_freq(int mode, uint32_t period) argument
378 new_count = min(((uint64_t)i8254_freq * period +
429 set_i8254_freq(attimer_sc->mode, attimer_sc->period);
516 set_i8254_freq(attimer_sc->mode, attimer_sc->period);
538 if (sc->period == 0)
569 attimer_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument
574 if (period !
[all...]
/freebsd-11-stable/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) == -1)
323 count = 1e9 * ADJUST_PERIOD / period.nsec;
335 increment_limit = CORR_SLEW_LIMIT * period.nsec;
/freebsd-11-stable/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-11-stable/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 !
1077 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
1091 adv_set_syncrate(struct adv_softc *adv, struct cam_path *path, u_int tid, u_int period, u_int offset, u_int type) argument
1172 adv_period_offset_to_sdtr(struct adv_softc *adv, u_int *period, u_int *offset, int tid) argument
1913 u_int period; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/awk/
H A Dt_awk.sh92 atf_test_case period
95 atf_set "descr" "Checks that the period character is recognised" \
102 h_check period -v x=0.5
357 atf_add_test_case period
/freebsd-11-stable/usr.sbin/mfiutil/
H A Dmfi_bbu.c43 /* The autolearn period is given in seconds. */
45 mfi_autolearn_period(uint32_t period, char *buf, size_t sz) argument
50 d = period / (24 * 3600);
51 h = (period % (24 * 3600)) / 3600;
/freebsd-11-stable/usr.sbin/ctld/
H A Dtoken.l78 isns-period { return ISNS_PERIOD; }
/freebsd-11-stable/sys/xen/interface/io/
H A Dfbif.h86 * 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
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_xenix.c138 long period; local
141 period = (long)uap->millisec / (1000/hz);
142 if (period)
143 pause("nap", period);
/freebsd-11-stable/sys/arm/lpc/
H A Dlpc_timer.c74 sbintime_t first, sbintime_t period);
197 lpc_timer_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument
202 if (period == 0) {
207 sc->lt_period = ((uint32_t)et->et_frequency * period) >> 32;

Completed in 785 milliseconds

12345678