/freebsd-current/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) == -1) 323 count = 1e9 * ADJUST_PERIOD / period.nsec; 335 increment_limit = CORR_SLEW_LIMIT * period.nsec;
|
/freebsd-current/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_pwm.c | 64 uint32_t period; /* channel 1 */ member in struct:bcm_pwm_softc 139 * defined by 'period'. So if 'ratio' is 2500 and 'period' is 10000, then the output 148 W_RNG(sc, sc->period); 149 if (sc->ratio > sc->period) 150 sc->ratio = sc->period; 189 r = sc->freq / sc->period; 239 error = sysctl_handle_int(oidp, &sc->period, sizeof(sc->period), req); 257 if (r > sc->period) // XX [all...] |
/freebsd-current/sys/arm/ti/am335x/ |
H A D | am335x_ehrpwm.c | 239 am335x_ehrpwm_cfg_period(struct am335x_ehrpwm_softc *sc, u_int period) argument 244 /* Can't do a period shorter than 2 clock ticks. */ 245 if (period < 2 * NS_PER_SEC / PWM_CLOCK) { 254 * that we can express the requested period as a 16-bit tick count. 263 if (period / pwmtick < 65536) { 264 tbprd = period / pwmtick; 272 /* Handle requested period too long for available clock divisors. */ 278 * clock divisors and period register. 294 "clkfreq %u Hz clktick %u ns period got %u requested %u\n", 296 sc->sc_clkfreq, sc->sc_clktick, sc->sc_period, period); 319 am335x_ehrpwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty) argument 339 am335x_ehrpwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty) argument [all...] |
/freebsd-current/sys/dev/sound/pci/ |
H A D | hdspe-pcm.c | 47 uint32_t period; member in struct:hdspe_latency 567 if (length > (sc->period * 4 * 2)) 568 length = (sc->period * 4 * 2); 830 long long period; local 869 period = HDSPE_FREQ_AIO; 888 period /= speed; 889 hdspe_write_4(sc, HDSPE_FREQ_REG, period); 930 for (i = 0; latency_map[i].period != 0; i++) { 931 if (latency_map[i].period == blocksize) 937 for (i = 0; latency_map[i].period ! [all...] |
H A D | hdspe.c | 288 unsigned int period; local 290 period = sc->force_period; 293 error = sysctl_handle_int(oidp, &period, 0, req); 299 if (period > 0) { 301 while (sc->force_period < period && sc->force_period < 4096) 496 long long period; local 499 sc->period = 32; 504 * Force period to a consistent default until these issues are fixed. 519 period = HDSPE_FREQ_AIO; 526 period / [all...] |
H A D | hdsp-pcm.c | 49 uint32_t period; member in struct:hdsp_latency 565 /* HDSP cards read / write a double buffer, twice the latency period. */ 566 buffer_size = 2 * sc->period * sizeof(uint32_t); 790 pos %= (2 * sc->period * sizeof(uint32_t)); /* Double buffer. */ 937 for (i = 0; latency_map[i].period != 0; i++) { 938 if (latency_map[i].period == blocksize) 944 for (i = 0; latency_map[i].period != 0; i++) { 946 threshold = hl->period + ((latency_map[i + 1].period != 0) ? 947 ((latency_map[i + 1].period [all...] |
/freebsd-current/contrib/netbsd-tests/usr.bin/awk/ |
H A D | t_awk.sh | 92 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-current/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-current/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; 379 obj->value += obj->period; 380 obj->value %= obj->period; 390 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-current/sys/contrib/dev/rtw89/ |
H A D | rtw8852a.h | 90 u16 period; member in struct:rtw8852a_bb_pmac_info 102 u16 tx_cnt, u16 period, u16 tx_time,
|
H A D | rtw8852b.h | 101 u16 period; member in struct:rtw8852b_bb_pmac_info 123 u16 tx_cnt, u16 period, u16 tx_time,
|
/freebsd-current/sys/contrib/xen/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
|
/freebsd-current/sys/net/altq/ |
H A D | altq_priq.h | 60 u_int period; member in struct:priq_classstats 93 u_int cl_period; /* backlog period */
|
H A D | altq_hfsc.h | 109 u_int period; member in struct:hfsc_classstats_v0 111 u_int vtperiod; /* vt period sequence no */ 112 u_int parentperiod; /* parent's vt period seqno */ 152 u_int period; member in struct:hfsc_classstats_v1 154 u_int vtperiod; /* vt period sequence no */ 155 u_int parentperiod; /* parent's vt period seqno */ 249 (monotonic within a period) */ 250 u_int64_t cl_vtadj; /* intra-period cumulative vt 252 u_int64_t cl_vtoff; /* inter-period cumulative vt offset */ 253 u_int64_t cl_cvtmax; /* max child's vt in the last period */ 276 u_int period; member in struct:hfsc_class::__anon5046 [all...] |
/freebsd-current/sys/dev/pwm/ |
H A D | pwmbus.c | 206 pwmbus_channel_config(device_t dev, u_int chan, u_int period, u_int duty) argument 208 return (PWMBUS_CHANNEL_CONFIG(device_get_parent(dev), chan, period, duty)); 212 pwmbus_channel_get_config(device_t dev, u_int chan, u_int *period, u_int *duty) argument 214 return (PWMBUS_CHANNEL_GET_CONFIG(device_get_parent(dev), chan, period, duty));
|
H A D | pwmc.c | 80 state.period, state.duty); 95 &state.period, &state.duty);
|
H A D | ofw_pwm.c | 60 channel.period = cells[1];
|
/freebsd-current/sys/powerpc/powerpc/ |
H A D | clock.c | 88 sbintime_t first, sbintime_t period); 257 decr_et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument 265 if (period != 0) { 267 s->div = (decr_et.et_frequency * period) >> 32;
|
/freebsd-current/usr.sbin/ctld/ |
H A D | token.l | 77 isns-period { return ISNS_PERIOD; }
|
/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | hh_mm_ss.h | 50 __width(__CommonType::period::den) < 19 ? __width(__CommonType::period::den) : 6u;
|
/freebsd-current/sys/arm/freescale/imx/ |
H A D | imx_epit.c | 83 * In theory our minimum period is 1 tick, because to setup a oneshot we don't 101 uint32_t period; member in struct:epit_softc 220 epit_et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument 234 if (period != 0) { 236 ticks = ((uint32_t)et->et_frequency * period) >> 32; 276 * status since a short period would make it fire again really soon.
|
/freebsd-current/usr.sbin/ppp/ |
H A D | mp.h | 103 int period; /* link->throughput sample period */ member in struct:mp::__anon6758::__anon6759
|
H A D | throughput.c | 46 throughput_init(struct pppThroughput *t, int period) argument 49 t->SamplePeriod = period; 51 calloc(period, sizeof *t->in.SampleOctets); 54 calloc(period, sizeof *t->out.SampleOctets);
|
/freebsd-current/sys/kern/ |
H A D | kern_tc.c | 551 * kick started and uses the timecounter nominal frequency as a first period 569 cest.period = ((1ULL << 63) / tc->tc_frequency) << 1; 594 ffclock_convert_delta(ffcounter ffdelta, uint64_t period, struct bintime *bt) argument 607 bt2.frac = period; 647 ffclock_convert_delta(ffdelta, cest->period, &bt); 663 ffclock_convert_delta(ffdelta, cest->period, &bt); 674 * synchronisation algo polling period that ensures monotonicity for the 681 ffclock_convert_delta(ffdelta, cest->period, &bt); 724 ffth->period_lerp = cest->period; 727 * Compute corrected period use 1127 uint64_t period; local [all...] |
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | a_time.c | 85 const char upper_z = 0x5A, num_zero = 0x30, period = 0x2E, minus = 0x2D, plus = 0x2B; local 87 const char upper_z = 'Z', num_zero = '0', period = '.', minus = '-', plus = '+'; local 194 if (d->type == V_ASN1_GENERALIZEDTIME && a[o] == period) { 493 const char upper_z = 0x5A, period = 0x2E; local 512 if (tm->length > 15 && v[14] == period) {
|