/freebsd-current/sys/arm/ti/am335x/ |
H A D | am335x_pwm.h | 31 int am335x_pwm_config_ecap(int unit, int period, int duty);
|
/freebsd-current/sys/dev/pwm/ |
H A D | pwmc.h | 34 u_int period; member in struct:pwm_state
|
H A D | pwm_backlight.c | 70 uint64_t period; member in struct:pwm_backlight_softc 133 sc->channel->duty = sc->channel->period * sc->levels[sc->default_level] / 100; 138 device_printf(dev, "Configured period time: %ju\n", (uintmax_t)sc->channel->period); 145 (unsigned int *)&sc->channel->period, 147 if (sc->channel->duty > sc->channel->period) 148 sc->channel->duty = sc->channel->period; 150 device_printf(dev, "Configured period time: %ju\n", (uintmax_t)sc->channel->period); 158 sc->channel->period, s [all...] |
H A D | ofw_pwm.h | 36 uint64_t period; member in struct:pwm_channel
|
/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | steady_clock.h | 30 typedef duration::period period; typedef in class:chrono::steady_clock
|
H A D | system_clock.h | 30 typedef duration::period period; typedef in class:chrono::system_clock
|
H A D | file_clock.h | 53 typedef nano period; typedef in struct:_FilesystemClock 56 typedef nano period; 59 typedef chrono::duration<rep, period> duration;
|
/freebsd-current/usr.bin/indent/ |
H A D | indent_codes.h | 69 #define period 32 macro
|
/freebsd-current/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-current/stand/i386/libi386/ |
H A D | time.c | 101 * Use the BIOS Wait function to pause for (period) microseconds. 107 delay(int period) argument 112 v86.ecx = period >> 16; 113 v86.edx = period & 0xffff;
|
/freebsd-current/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-current/usr.sbin/pwm/ |
H A D | pwm.c | 68 fprintf(stderr, "\tpwm [-f dev] [-D | -E] [-I] [-p period] [-d duty[%%]]\n"); 77 u_int period, duty; local 87 period = duty = -1; 115 period = strtoul(optarg, NULL, 10); 179 printf("period: %u\nduty: %u\nenabled:%d\ninverted:%d\n", 180 state.period, 190 state.period = period; 197 state.duty = (uint64_t)state.period * duty / 100;
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | namecache2.sh | 136 struct timespec period; 171 period.tv_sec = 0; 172 period.tv_nsec = 500; 173 nanosleep(&period, 0); 178 period.tv_sec = 0; 179 period.tv_nsec = 500; 180 nanosleep(&period, 0);
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_dfs.c | 256 /* reported period */ 257 pulse->period = mt76_rr(dev, MT_BBP(DFS, 19)); 272 if (!pulse->period || !pulse->w1) 287 ret = (pulse->period >= 2900 && 288 (pulse->period <= 4700 || 289 pulse->period >= 6400) && 290 (pulse->period <= 6800 || 291 pulse->period >= 10200) && 292 pulse->period <= 61600); 294 ret = (pulse->period > [all...] |
/freebsd-current/usr.sbin/periodic/ |
H A D | periodic.conf | 349 local var="$1" periodvar value period 357 periodvar=${var%enable}period 358 eval period=\"\$$periodvar\" 361 case "$period" in 367 case "$period" in 373 case "$period" in 380 case "$period" in
|
/freebsd-current/contrib/ldns/ |
H A D | duration.c | 248 time_t period = 0; local 251 period += (duration->seconds); 252 period += (duration->minutes)*60; 253 period += (duration->hours)*3600; 254 period += (duration->days)*86400; 255 period += (duration->weeks)*86400*7; 256 period += (duration->months)*86400*31; 257 period += (duration->years)*86400*365; 265 return period;
|
/freebsd-current/sys/dev/pwm/controller/allwinner/ |
H A D | aw_pwm.c | 84 unsigned int period; member in struct:aw_pwm_softc 178 sc->period = NS_PER_SEC / 243 aw_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty) argument 254 period_freq = NS_PER_SEC / period; 267 * FIXME. There is a great loss of precision when the period and the 269 * be equal even if the period and the duty are significantly different. 273 device_printf(sc->dev, "duty < period\n"); 316 sc->period = period; 323 aw_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_in argument [all...] |
/freebsd-current/sys/x86/isa/ |
H A D | clock.c | 107 uint32_t period; member in struct:attimer_softc 124 static void set_i8254_freq(int mode, uint32_t period); 141 if (i8254_timecounter && sc->period != 0) { 326 set_i8254_freq(int mode, uint32_t period) argument 338 new_count = min(((uint64_t)i8254_freq * period + 389 set_i8254_freq(attimer_sc->mode, attimer_sc->period); 451 set_i8254_freq(attimer_sc->mode, attimer_sc->period); 474 if (sc->period == 0) 505 attimer_start(struct eventtimer *et, sbintime_t first, sbintime_t period) argument 510 if (period ! [all...] |
/freebsd-current/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-current/sys/contrib/dev/athk/ath10k/ |
H A D | thermal.c | 127 u32 period, duration, enabled; local 141 period = ar->thermal.quiet_period; 142 duration = (period * ar->thermal.throttle_state) / 100; 145 ret = ath10k_wmi_pdev_set_quiet_mode(ar, period, duration, 149 ath10k_warn(ar, "failed to set quiet mode period %u duarion %u enabled %u ret %d\n", 150 period, duration, enabled, ret);
|
/freebsd-current/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-current/sys/dev/pwm/controller/rockchip/ |
H A D | rk_pwm.c | 114 unsigned int period; member in struct:rk_pwm_softc 206 sc->period = NS_PER_SEC / 264 rk_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty) argument 277 period_freq = NS_PER_SEC / period; 283 device_printf(sc->dev, "duty < period\n"); 293 /* XXX Expand API to allow for 64 bit period/duty. */ 294 period_out = (sc->clk_freq * period) / NS_PER_SEC; 319 sc->period = period; 326 rk_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_in argument [all...] |
/freebsd-current/usr.bin/calendar/ |
H A D | pom.c | 172 double period = FSECSPERDAY / 2.0; local 179 p1 = onday + (period / SECSPERDAY); 180 period /= 2; 182 while (period > 30) { /* half a minute */ 183 // printf("period:%g - p1:%g - ", period, p1); 190 p1 += (period / SECSPERDAY); 192 p1 -= (period / SECSPERDAY); 193 period /= 2; 194 // printf("newdir:%d - p1:%10.10f - period [all...] |
/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/compat/linuxkpi/common/include/linux/ |
H A D | pwm.h | 33 uint64_t period; member in struct:pwm_state
|