Home
last modified time | relevance | path

Searched full:period (Results 1 – 25 of 1324) sorted by relevance

12345678910>>...53

/freebsd/lib/libutil/
H A Dlogin_times.364 For example, the following time period:
77 function converts the ASCII representation of a time period into
95 described period begins and ends.
105 - then the entire period is assumed invalid.
119 struct tm value against a specific time period or array of time
124 passed as the second parameter falls within the period described
127 specified falls within the period.
128 If the time does fall within the time period, and the third
130 period ends relative to the time passed is returned.
158 parsed time period.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Drotary-encoder.txt17 - 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 Drotary-encoder.yaml49 rotary-encoder,steps-per-period:
54 Number of steps (stable states) per period.
56 1: Full-period mode (default)
57 2: Half-period mode
58 4: Quarter-period mode
67 rotary-encoder,half-period:
71 Makes the driver work on half-period mode.
72 This property is deprecated. Instead, a 'steps-per-period ' value should
73 be used, such as "rotary-encoder,steps-per-period = <2>".
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_dfs.c256 /* reported period */ in mt76x02_dfs_get_hw_pulse()
257 pulse->period = mt76_rr(dev, MT_BBP(DFS, 19)); in mt76x02_dfs_get_hw_pulse()
272 if (!pulse->period || !pulse->w1) in mt76x02_dfs_check_hw_pulse()
287 ret = (pulse->period >= 2900 && in mt76x02_dfs_check_hw_pulse()
288 (pulse->period <= 4700 || in mt76x02_dfs_check_hw_pulse()
289 pulse->period >= 6400) && in mt76x02_dfs_check_hw_pulse()
290 (pulse->period <= 6800 || in mt76x02_dfs_check_hw_pulse()
291 pulse->period >= 10200) && in mt76x02_dfs_check_hw_pulse()
292 pulse->period <= 61600); in mt76x02_dfs_check_hw_pulse()
294 ret = (pulse->period >= 2900 && in mt76x02_dfs_check_hw_pulse()
[all …]
/freebsd/sys/kern/
H A Dkern_et.c176 * period - period of subsequent periodic ticks.
179 et_start(struct eventtimer *et, sbintime_t first, sbintime_t period) in et_start() argument
184 KASSERT(period >= 0, ("et_start: negative period")); in et_start()
185 KASSERT((et->et_flags & ET_FLAGS_PERIODIC) || period == 0, in et_start()
186 ("et_start: period specified for oneshot-only timer")); in et_start()
187 KASSERT((et->et_flags & ET_FLAGS_ONESHOT) || period != 0, in et_start()
188 ("et_start: period not specified for periodic-only timer")); in et_start()
189 if (period != 0) { in et_start()
190 if (period < et->et_min_period) in et_start()
191 period = et->et_min_period; in et_start()
[all …]
/freebsd/usr.sbin/edquota/
H A Dedquota.8216 for a grace period that may be specified per file system.
217 Once the grace period has expired,
219 The default grace period for a file system is specified in
223 flag can be used to change the grace period.
227 the grace period is set for all the file systems with user
232 flag the grace period is
235 The grace period may be specified in days, hours, minutes, or seconds.
236 Setting a grace period to zero indicates that the default
237 grace period should be imposed.
238 Setting a grace period to one second indicates that no
[all …]
/freebsd/sys/dev/pwm/
H A Dpwm_backlight.c70 uint64_t period; member
133 sc->channel->duty = sc->channel->period * sc->levels[sc->default_level] / 100; in pwm_backlight_attach()
138 device_printf(dev, "Configured period time: %ju\n", (uintmax_t)sc->channel->period); in pwm_backlight_attach()
145 (unsigned int *)&sc->channel->period, in pwm_backlight_attach()
147 if (sc->channel->duty > sc->channel->period) in pwm_backlight_attach()
148 sc->channel->duty = sc->channel->period; in pwm_backlight_attach()
150 device_printf(dev, "Configured period time: %ju\n", (uintmax_t)sc->channel->period); in pwm_backlight_attach()
158 sc->channel->period, sc->channel->duty); in pwm_backlight_attach()
163 sc->channel->period / sc->channel->duty); in pwm_backlight_attach()
224 sc->channel->duty = sc->channel->period * in pwm_backlight_update_status()
[all …]
/freebsd/share/man/man9/
H A Dpwmbus.941 .Fn PWMBUS_CHANNEL_CONFIG "device_t bus" "u_int channel" "u_int period" "u_int duty"
47 .Fn PWMBUS_CHANNEL_GET_CONFIG "device_t bus" "u_int channel" "u_int *period" "u_int *duty"
62 .Va period
71 In such cases, changing the period or duty cycle of any one channel may affect
77 .It Fn PWMBUS_CHANNEL_CONFIG "device_t bus" "u_int channel" "u_int period" "u_int duty"
78 Configure the period and duty (in nanoseconds) in the PWM controller on the bus
90 .It Fn PWMBUS_CHANNEL_GET_CONFIG "device_t bus" "u_int channel" "u_int *period" "u_int *duty"
91 Get the current configuration of the period and duty for the specified channel.
/freebsd/contrib/llvm-project/libcxx/include/
H A Dchrono25 template <class ToDuration, class Rep, class Period>
28 duration_cast(const duration<Rep, Period>& fd);
46 template <class Rep, class Period = ratio<1>>
50 …static_assert(__is_ratio<Period>::value, "Second template parameter of duration must be a std::rat…
51 static_assert(Period::num > 0, "duration period must be positive");
54 typedef typename _Period::type period;
72 ratio_divide<Period2, period>::type::den == 1
117 typedef typename duration::period period;
164 template <class Rep1, class Period, class Rep2>
166 duration<typename common_type<Rep1, Rep2>::type, Period>
[all …]
/freebsd/sys/contrib/device-tree/Bindings/ptp/
H A Dptp-qoriq.txt16 - 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.
21 - fsl,tmr-fiper3 Fixed interval period pulse generator.
35 tclk_period = desired clock period nanoseconds
81 fsl,tclk-period = <10>;
H A Dfsl,ptp.yaml55 fsl,tclk-period:
57 description: Timer reference clock period in nanoseconds.
69 description: Fixed interval period pulse generator.
73 description: Fixed interval period pulse generator.
78 Fixed interval period pulse generator.
91 tclk_period = desired clock period nanoseconds
150 fsl,tclk-period = <10>;
/freebsd/sys/dev/videomode/
H A Dvesagtf.c121 * systems, the margin period is zero. I've implemented the margin
315 /* 7. Estimate the Horizontal period in vesagtf_mode_params()
317 * [H PERIOD EST] = ((1/[V FIELD RATE RQD]) - [MIN VSYNC+BP]/1000000) / in vesagtf_mode_params()
324 * [H PERIOD EST] = ((1000000/[V FIELD RATE RQD]) - [MIN VSYNC+BP]) / in vesagtf_mode_params()
335 * [H PERIOD EST] = ((2*((1000000/[V FIELD RATE RQD]) - [MIN VSYNC+BP])) / in vesagtf_mode_params()
348 print_value(7, "[H PERIOD EST (ps)]", h_period_est); in vesagtf_mode_params()
353 * [V SYNC+BP] = ROUND(([MIN VSYNC+BP]/[H PERIOD EST]),0) in vesagtf_mode_params()
375 /* 10. Find the total number of lines in Vertical field period: in vesagtf_mode_params()
390 * [V FIELD RATE EST] = 1 / [H PERIOD EST] / [TOTAL V LINES] * 1000000 in vesagtf_mode_params()
397 * [V FIELD RATE EST] = 1000000000 / [H PERIOD EST] / [TOTAL V LINES] in vesagtf_mode_params()
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/icelakex/
H A Dfrontend.json125 …re fetched after an interval where the front-end delivered no uops for a period of at least 1 cycl…
131 …re fetched after an interval where the front-end delivered no uops for a period of 128 cycles whic…
140 …re fetched after an interval where the front-end delivered no uops for a period of 128 cycles whic…
146 …re fetched after an interval where the front-end delivered no uops for a period of 16 cycles which…
155 … the back-end after a front-end stall of at least 16 cycles. During this period the front-end deli…
170 …re fetched after an interval where the front-end delivered no uops for a period of at least 2 cycl…
176 …re fetched after an interval where the front-end delivered no uops for a period of 256 cycles whic…
185 …re fetched after an interval where the front-end delivered no uops for a period of 256 cycles whic…
191 …d after an interval where the front-end had at least 1 bubble-slot for a period of 2 cycles which …
200 …red to the back-end after the front-end had at least 1 bubble-slot for a period of 2 cycles. A bub…
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/sapphirerapids/
H A Dfrontend.json109 …re fetched after an interval where the front-end delivered no uops for a period of at least 1 cycl…
115 …re fetched after an interval where the front-end delivered no uops for a period of 128 cycles whic…
124 …re fetched after an interval where the front-end delivered no uops for a period of 128 cycles whic…
130 …re fetched after an interval where the front-end delivered no uops for a period of 16 cycles which…
139 … the back-end after a front-end stall of at least 16 cycles. During this period the front-end deli…
154 …re fetched after an interval where the front-end delivered no uops for a period of at least 2 cycl…
160 …re fetched after an interval where the front-end delivered no uops for a period of 256 cycles whic…
169 …re fetched after an interval where the front-end delivered no uops for a period of 256 cycles whic…
175 …d after an interval where the front-end had at least 1 bubble-slot for a period of 2 cycles which …
184 …red to the back-end after the front-end had at least 1 bubble-slot for a period of 2 cycles. A bub…
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/icelake/
H A Dfrontend.json125 …re fetched after an interval where the front-end delivered no uops for a period of at least 1 cycl…
131 …re fetched after an interval where the front-end delivered no uops for a period of 128 cycles whic…
140 …re fetched after an interval where the front-end delivered no uops for a period of 128 cycles whic…
146 …re fetched after an interval where the front-end delivered no uops for a period of 16 cycles which…
155 … the back-end after a front-end stall of at least 16 cycles. During this period the front-end deli…
170 …re fetched after an interval where the front-end delivered no uops for a period of at least 2 cycl…
176 …re fetched after an interval where the front-end delivered no uops for a period of 256 cycles whic…
185 …re fetched after an interval where the front-end delivered no uops for a period of 256 cycles whic…
191 …d after an interval where the front-end had at least 1 bubble-slot for a period of 2 cycles which …
200 …red to the back-end after the front-end had at least 1 bubble-slot for a period of 2 cycles. A bub…
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/tigerlake/
H A Dfrontend.json122 …re fetched after an interval where the front-end delivered no uops for a period of at least 1 cycl…
128 …re fetched after an interval where the front-end delivered no uops for a period of 128 cycles whic…
137 …re fetched after an interval where the front-end delivered no uops for a period of 128 cycles whic…
143 …re fetched after an interval where the front-end delivered no uops for a period of 16 cycles which…
152 … the back-end after a front-end stall of at least 16 cycles. During this period the front-end deli…
167 …re fetched after an interval where the front-end delivered no uops for a period of at least 2 cycl…
173 …re fetched after an interval where the front-end delivered no uops for a period of 256 cycles whic…
182 …re fetched after an interval where the front-end delivered no uops for a period of 256 cycles whic…
188 …d after an interval where the front-end had at least 1 bubble-slot for a period of 2 cycles which …
197 …red to the back-end after the front-end had at least 1 bubble-slot for a period of 2 cycles. A bub…
[all …]
/freebsd/sys/net/altq/
H A Daltq_hfsc.h109 u_int period; member
111 u_int vtperiod; /* vt period sequence no */
112 u_int parentperiod; /* parent's vt period seqno */
152 u_int period; member
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 */
[all …]
/freebsd/sys/dev/pwm/controller/rockchip/
H A Drk_pwm.c114 unsigned int period; member
206 sc->period = NS_PER_SEC / in rk_pwm_attach()
265 rk_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty) in rk_pwm_channel_config() argument
278 period_freq = NS_PER_SEC / period; in rk_pwm_channel_config()
284 device_printf(sc->dev, "duty < period\n"); in rk_pwm_channel_config()
294 /* XXX Expand API to allow for 64 bit period/duty. */ in rk_pwm_channel_config()
295 period_out = (sc->clk_freq * period) / NS_PER_SEC; in rk_pwm_channel_config()
320 sc->period = period; in rk_pwm_channel_config()
327 rk_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty) in rk_pwm_channel_get_config() argument
333 *period = sc->period; in rk_pwm_channel_get_config()
/freebsd/sys/dev/pwm/controller/allwinner/
H A Daw_pwm.c84 unsigned int period; member
178 sc->period = NS_PER_SEC / in aw_pwm_attach()
241 aw_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty) in aw_pwm_channel_config() argument
252 period_freq = NS_PER_SEC / period; in aw_pwm_channel_config()
265 * FIXME. There is a great loss of precision when the period and the in aw_pwm_channel_config()
267 * be equal even if the period and the duty are significantly different. in aw_pwm_channel_config()
271 device_printf(sc->dev, "duty < period\n"); in aw_pwm_channel_config()
314 sc->period = period; in aw_pwm_channel_config()
321 aw_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty) in aw_pwm_channel_get_config() argument
327 *period = sc->period; in aw_pwm_channel_get_config()
/freebsd/usr.sbin/pwm/
H A Dpwm.c68 fprintf(stderr, "\tpwm [-f dev] [-D | -E] [-I] [-p period] [-d duty[%%]]\n"); in usage()
77 u_int period, duty; in main() local
87 period = duty = -1; in main()
115 period = strtoul(optarg, NULL, 10); in main()
179 printf("period: %u\nduty: %u\nenabled:%d\ninverted:%d\n", in main()
180 state.period, in main()
190 state.period = period; in main()
197 state.duty = (uint64_t)state.period * duty / 100; in main()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTOptions.td26 : Option<"psb-period", "p">,
29 Desc<"This value defines the period in which PSB packets will be "
36 "the PSB period will be defined by the processor. If supported, "
38 "values for this period can be found in "
104 : Option<"psb-period", "p">,
107 Desc<"This value defines the period in which PSB packets will be "
114 "the PSB period will be defined by the processor. If supported, "
116 "values for this period can be found in "
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_pwm.c64 uint32_t period; /* channel 1 */ member
139 * defined by 'period'. So if 'ratio' is 2500 and 'period' is 10000, then the output in bcm_pwm_reconf()
148 W_RNG(sc, sc->period); in bcm_pwm_reconf()
149 if (sc->ratio > sc->period) in bcm_pwm_reconf()
150 sc->ratio = sc->period; in bcm_pwm_reconf()
189 r = sc->freq / sc->period; in bcm_pwm_pwm_freq_proc()
239 error = sysctl_handle_int(oidp, &sc->period, sizeof(sc->period), req); in bcm_pwm_period_proc()
257 if (r > sc->period) // XXX >= ? in bcm_pwm_ratio_proc()
382 SYSCTL_ADD_PROC(ctx, tree, OID_AUTO, "period", in bcm_pwm_sysctl_init()
384 bcm_pwm_period_proc, "IU", "PWM period ch 1 (#clocks)"); in bcm_pwm_sysctl_init()
[all …]
/freebsd/usr.bin/calendar/
H A Dpom.c172 double period = FSECSPERDAY / 2.0; in potm_minute() local
179 p1 = onday + (period / SECSPERDAY); in potm_minute()
180 period /= 2; in potm_minute()
182 while (period > 30) { /* half a minute */ in potm_minute()
183 // printf("period:%g - p1:%g - ", period, p1); in potm_minute()
190 p1 += (period / SECSPERDAY); in potm_minute()
192 p1 -= (period / SECSPERDAY); in potm_minute()
193 period /= 2; in potm_minute()
194 // printf("newdir:%d - p1:%10.10f - period:%g\n", in potm_minute()
195 // newdir, p1, period); in potm_minute()
/freebsd/sys/x86/isa/
H A Dclock.c107 uint32_t period; member
124 static void set_i8254_freq(int mode, uint32_t period);
141 if (i8254_timecounter && sc->period != 0) { in clkintr()
326 set_i8254_freq(int mode, uint32_t period) in set_i8254_freq() argument
338 new_count = min(((uint64_t)i8254_freq * period + in set_i8254_freq()
389 set_i8254_freq(attimer_sc->mode, attimer_sc->period); in i8254_restore()
451 set_i8254_freq(attimer_sc->mode, attimer_sc->period); in sysctl_machdep_i8254_freq()
474 if (sc->period == 0) in i8254_get_timecount()
505 attimer_start(struct eventtimer *et, sbintime_t first, sbintime_t period) in attimer_start() argument
510 if (period != 0) { in attimer_start()
[all …]
/freebsd/share/man/man4/man4.arm/
H A Dbcm283x_pwm.450 dev.pwm.0.period: 10000
66 .It Va dev.pwm.0.period , dev.pwm.0.period2
67 The period length in cycles.
72 .Va dev.pwm.period
80 The "on" period in cycles for PWM channels 1 and 2.
82 .Va dev.pwm.0.period

12345678910>>...53