| /f-stack/dpdk/lib/librte_jobstats/ |
| H A D | rte_jobstats.c | 205 if (period < job->min_period) in rte_jobstats_set_period() 206 period = job->min_period; in rte_jobstats_set_period() 208 period = job->max_period; in rte_jobstats_set_period() 211 job->period = period; in rte_jobstats_set_period() 217 job->min_period = period; in rte_jobstats_set_min() 218 if (job->period < period) in rte_jobstats_set_min() 219 job->period = period; in rte_jobstats_set_min() 225 job->max_period = period; in rte_jobstats_set_max() 226 if (job->period > period) in rte_jobstats_set_max() 227 job->period = period; in rte_jobstats_set_max() [all …]
|
| H A D | rte_jobstats.h | 37 uint64_t period; member 254 rte_jobstats_set_period(struct rte_jobstats *job, uint64_t period, 266 rte_jobstats_set_min(struct rte_jobstats *job, uint64_t period); 277 rte_jobstats_set_max(struct rte_jobstats *job, uint64_t period);
|
| /f-stack/freebsd/kern/ |
| H A D | kern_et.c | 182 et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) in et_start() argument 187 KASSERT(period >= 0, ("et_start: negative period")); in et_start() 188 KASSERT((et->et_flags & ET_FLAGS_PERIODIC) || period == 0, in et_start() 190 KASSERT((et->et_flags & ET_FLAGS_ONESHOT) || period != 0, in et_start() 192 if (period != 0) { in et_start() 193 if (period < et->et_min_period) in et_start() 194 period = et->et_min_period; in et_start() 195 else if (period > et->et_max_period) in et_start() 196 period = et->et_max_period; in et_start() 198 if (period == 0 || first != 0) { in et_start() [all …]
|
| H A D | kern_tc.c | 583 bt2.frac = period; in ffclock_convert_delta() 623 ffclock_convert_delta(ffdelta, cest->period, &bt); in ffclock_windup() 639 ffclock_convert_delta(ffdelta, cest->period, &bt); in ffclock_windup() 700 ffth->period_lerp = cest->period; in ffclock_windup() 773 ffth->period_lerp = cest->period; in ffclock_change_tc() 1050 ffi->period = ffth->cest.period; in sysclock_getsnapshot() 1083 ffclock_convert_delta(ffcount, cest.period, &bt); in sysclock_getsnapshot() 1103 uint64_t period; in sysclock_snap2bintime() local 1123 period = cs->ff_info.period_lerp; in sysclock_snap2bintime() 1126 period = cs->ff_info.period; in sysclock_snap2bintime() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/input/ |
| H A D | rotary-encoder.txt | 17 - rotary-encoder,steps-per-period: Number of steps (stable states) per period. 19 1: Full-period mode (default) 20 2: Half-period mode 21 4: Quarter-period mode 27 - rotary-encoder,half-period: Makes the driver work on half-period mode. 28 This property is deprecated. Instead, a 'steps-per-period ' value should 29 be used, such as "rotary-encoder,steps-per-period = <2>".
|
| H A D | brcm,bcm-keypad.txt | 29 - col-debounce-filter-period: The debounce period for the Column filter. 40 - status-debounce-filter-period: The debounce period for the Status filter. 102 col-debounce-filter-period = <5>;
|
| /f-stack/freebsd/x86/isa/ |
| H A D | clock.c | 105 uint32_t period; member 138 if (i8254_timecounter && sc->period != 0) { in clkintr() 323 set_i8254_freq(int mode, uint32_t period) in set_i8254_freq() argument 335 new_count = min(((uint64_t)i8254_freq * period + in set_i8254_freq() 470 if (sc->period == 0) in i8254_get_timecount() 506 if (period != 0) { in attimer_start() 508 sc->period = period; in attimer_start() 511 sc->period = first; in attimer_start() 517 set_i8254_freq(sc->mode, sc->period); in attimer_start() 528 sc->period = 0; in attimer_stop() [all …]
|
| /f-stack/freebsd/arm/ti/am335x/ |
| H A D | am335x_ehrpwm.c | 269 tbprd = period / pwmtick; in am335x_ehrpwm_cfg_period() 348 if (period > USHRT_MAX) in am335x_ehrpwm_sysctl_freq() 351 sc->sc_pwm_period = period; in am335x_ehrpwm_sysctl_freq() 446 uint32_t period; in am335x_ehrpwm_sysctl_period() local 448 period = sc->sc_pwm_period; in am335x_ehrpwm_sysctl_period() 454 if (period < 1) in am335x_ehrpwm_sysctl_period() 457 if (period > USHRT_MAX) in am335x_ehrpwm_sysctl_period() 458 period = USHRT_MAX; in am335x_ehrpwm_sysctl_period() 467 sc->sc_pwm_period = period; in am335x_ehrpwm_sysctl_period() 506 u_int *period, u_int *duty) in am335x_ehrpwm_channel_get_config() argument [all …]
|
| H A D | am335x_ecap.c | 104 am335x_pwm_config_ecap(int unit, int period, int duty) in am335x_pwm_config_ecap() argument 114 if (duty > period) in am335x_pwm_config_ecap() 117 if (period == 0) in am335x_pwm_config_ecap() 128 ECAP_WRITE4(sc, ECAP_CAP3, period - 1); in am335x_pwm_config_ecap()
|
| /f-stack/freebsd/arm64/rockchip/ |
| H A D | rk_pwm.c | 119 unsigned int period; member 211 sc->period = NS_PER_SEC / in rk_pwm_attach() 269 rk_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty) in rk_pwm_channel_config() argument 282 period_freq = NS_PER_SEC / period; in rk_pwm_channel_config() 299 period_out = (sc->clk_freq * period) / NS_PER_SEC; in rk_pwm_channel_config() 324 sc->period = period; in rk_pwm_channel_config() 331 rk_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty) in rk_pwm_channel_get_config() argument 337 *period = sc->period; in rk_pwm_channel_get_config()
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | aw_pwm.c | 89 unsigned int period; member 183 sc->period = NS_PER_SEC / in aw_pwm_attach() 248 aw_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty) in aw_pwm_channel_config() argument 259 period_freq = NS_PER_SEC / period; in aw_pwm_channel_config() 321 sc->period = period; in aw_pwm_channel_config() 328 aw_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty) in aw_pwm_channel_get_config() argument 334 *period = sc->period; in aw_pwm_channel_get_config()
|
| /f-stack/dpdk/lib/librte_meter/ |
| H A D | rte_meter.c | 22 double period; in rte_meter_get_tb_params() local 30 period = ((double) hz) / ((double) rate); in rte_meter_get_tb_params() 32 if (period >= RTE_METER_TB_PERIOD_MIN) { in rte_meter_get_tb_params() 34 *tb_period = (uint64_t) period; in rte_meter_get_tb_params() 36 *tb_bytes_per_period = (uint64_t) ceil(RTE_METER_TB_PERIOD_MIN / period); in rte_meter_get_tb_params()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/sound/ |
| H A D | ti,tas5086.txt | 14 - ti,charge-period: This property should contain the time in microseconds 16 split-capacitor charge period. The hardware chip 17 waits for this period of time before starting the 44 ti,charge-period = <156000>;
|
| /f-stack/freebsd/contrib/device-tree/Bindings/pwm/ |
| H A D | pwm-sifive.txt | 4 supports one period for all channels in the PWM. All PWMs need to run at 5 the same period. The period also has significant restrictions on the values 6 it can achieve, which the driver rounds to the nearest achievable period.
|
| H A D | pwm-bcm2835.txt | 7 system, the period and the duty_cycle of the PWM signal is a multiple of 8 the base period.
|
| /f-stack/freebsd/contrib/device-tree/Bindings/ptp/ |
| H A D | ptp-qoriq.txt | 16 - fsl,tclk-period Timer reference clock period in nanoseconds. 19 - fsl,tmr-fiper1 Fixed interval period pulse generator. 20 - fsl,tmr-fiper2 Fixed interval period pulse generator. 33 tclk_period = desired clock period nanoseconds 79 fsl,tclk-period = <10>;
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_pwm.c | 67 uint32_t period; /* channel 1 */ member 151 W_RNG(sc, sc->period); in bcm_pwm_reconf() 152 if (sc->ratio > sc->period) in bcm_pwm_reconf() 153 sc->ratio = sc->period; in bcm_pwm_reconf() 192 r = sc->freq / sc->period; in bcm_pwm_pwm_freq_proc() 242 error = sysctl_handle_int(oidp, &sc->period, sizeof(sc->period), req); in bcm_pwm_period_proc() 260 if (r > sc->period) // XXX >= ? in bcm_pwm_ratio_proc() 461 sc->period = 10000; /* 12.5 khz */ in bcm_pwm_attach()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mfd/ |
| H A D | max77620.txt | 45 period between each event is programmable within the configuration register. 91 -maxim,shutdown-fps-time-period-us: u32, FPS time period in microseconds 95 -maxim,suspend-fps-time-period-us: u32, FPS time period in microseconds 148 maxim,shutdown-fps-time-period-us = <1280>; 153 maxim,shutdown-fps-time-period-us = <1280>; 158 maxim,shutdown-fps-time-period-us = <1280>;
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | latency.c | 171 ls->period = 0; in analyzeLatencyForEvent() 190 if (ls->period == 0 || ts->samples[j].time < ls->period) in analyzeLatencyForEvent() 191 ls->period = ts->samples[j].time; in analyzeLatencyForEvent() 199 ls->period = time(NULL) - ls->period; in analyzeLatencyForEvent() 200 if (ls->period == 0) ls->period = 1; in analyzeLatencyForEvent() 271 (double) ls.period/ls.samples, in createLatencyReport()
|
| /f-stack/dpdk/lib/librte_timer/ |
| H A D | rte_timer.c | 476 uint64_t period, unsigned tim_lcore, in __rte_timer_reset() argument 518 tim->period = period; in __rte_timer_reset() 564 uint64_t period; in rte_timer_alt_reset() local 570 period = ticks; in rte_timer_alt_reset() 572 period = 0; in rte_timer_alt_reset() 755 if (tim->period == 0) { in __rte_timer_manage() 778 __rte_timer_reset(tim, tim->expire + tim->period, in __rte_timer_manage() 779 tim->period, lcore_id, tim->f, tim->arg, 1, in __rte_timer_manage() 943 if (tim->period == 0) { in rte_timer_alt_manage() 966 __rte_timer_reset(tim, tim->expire + tim->period, in rte_timer_alt_manage() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/leds/backlight/ |
| H A D | lp855x.txt | 12 - pwm-period: PWM period value. Set only PWM input mode used (u32) 26 pwm-period = <10000>;
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | firmware.cli | 6 pipeline RX period 10 offset_port_id 0 13 pipeline TX period 10 offset_port_id 0
|
| /f-stack/freebsd/contrib/device-tree/Bindings/rng/ |
| H A D | timeriomem_rng.txt | 6 - period : wait time in microseconds to use between samples 24 period = <1000000>;
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_smb.c | 144 uint32_t period; in jzsmb_reset_locked() local 160 period = sc->bus_freq / sc->i2c_freq; in jzsmb_reset_locked() 167 hcnt = (period * JZSMB_PERIOD_MIN_STANDARD) / in jzsmb_reset_locked() 169 lcnt = period - hcnt; in jzsmb_reset_locked() 180 hcnt = (period * JZSMB_PERIOD_MIN_FAST) / in jzsmb_reset_locked() 182 lcnt = period - hcnt; in jzsmb_reset_locked()
|
| /f-stack/freebsd/sys/ |
| H A D | timeet.h | 50 sbintime_t first, sbintime_t period); 99 int et_start(struct eventtimer *et, sbintime_t first, sbintime_t period);
|