/src/lib/libpam/libpam/ |
pam_debug_log.c | 55 const char *modname, *period; local in function:_pam_verbose_error 62 period = strchr(modname, '.'); 63 if (period == NULL) 64 period = strchr(modname, '\0'); 70 pam_error(pamh, "%.*s: %s: %s\n", (int)(ssize_t)(period - modname),
|
/src/sys/dev/wscons/ |
wsbelldata.h | 42 (dstp)->period = ((srcp)->which & WSKBD_BELL_DOPERIOD) ? \ 43 (srcp)->period : (dfltp)->period; \
|
wsbellvar.h | 36 u_int period; member in struct:vbell_args
|
/src/sys/sys/ |
wdog.h | 51 unsigned int wm_period; /* timer period (seconds) */ 106 /* Period is expressed in seconds. */ 107 #define WDOG_PERIOD_TO_TICKS(period) ((period) * hz)
|
/src/sys/altq/ |
altq_fifoq.h | 47 u_int period; member in struct:fifoq_state::__anon41bb6fd80108 62 u_int period; member in struct:fifoq_getstats
|
/src/sys/arch/arm/footbridge/isa/ |
sysbeep_isa.c | 70 sysbeep(int pitch, int period) 73 pcppi_bell(ppicookie, pitch, period, 0);
|
/src/sys/arch/prep/isa/ |
isabeep.c | 75 isabeep(int pitch, int period) 79 pcppi_bell(ppicookie, pitch, period, 0);
|
/src/sys/arch/arm/amlogic/ |
meson_pwm.c | 127 u_int period, duty, clk_div, hi, lo; local in function:meson_pwm_get_current 157 period = period_hz * 1000000000ULL / sc->sc_clkfreq; 161 conf->period = period; 181 u_int period, duty, clk_div, hi, lo; local in function:meson_pwm_set_config 186 period = conf->period; 188 if (period == 0) 190 KASSERT(period >= duty); 192 duty = period - duty 291 const u_int period = be32toh(pwm[2]); local in function:meson_pwm_get_tag [all...] |
/src/sys/arch/arm/gemini/ |
gemini_wdtvar.h | 56 void geminiwdt_set_timeout(unsigned int period);
|
/src/sys/dev/pwm/ |
pwmvar.h | 38 u_int period; /* nanoseconds */ member in struct:pwm_config
|
pwm.c | 59 if (conf->period < conf->duty_cycle)
|
/src/sys/arch/sandpoint/isa/ |
isaclock.c | 161 sysbeep(int pitch, int period) 175 if (pitch == 0 || period == 0) { 191 callout_reset(&sysbeep_ch, period, sysbeepstop, NULL);
|
/src/sys/arch/arm/rockchip/ |
rk_pwm.c | 100 const u_int period = be32toh(pwm[2]); local in function:rk_pwm_get_tag 103 sc->sc_conf.period = period; 139 uint32_t ctrl, period, duty; 143 period = PWM_READ(sc, PWM0_PERIOD_HPR); 158 conf->period = (u_int)(((uint64_t)period * 1000000000) / rate); 174 const uint32_t period = (u_int)((conf->period * rate) / 1000000000); local in function:rk_pwm_set_config 187 PWM_WRITE(sc, PWM0_PERIOD_HPR, period); [all...] |
/src/sbin/wdogctl/ |
wdogctl.c | 86 u_int period = WDOG_PERIOD_DEFAULT; local in function:main 123 period = (unsigned int)tmp; 161 enable_ext(argv[0], period); 164 enable_kernel(argv[0], period); 168 enable_user(argv[0], period, command == CMD_USER_TICKLE); 175 prep_wmode(struct wdog_mode *wp, int mode, const char *name, u_int period) 182 wp->wm_period = period; 188 enable_kernel(const char *name, u_int period) 193 prep_wmode(&wm, WDOG_MODE_KTICKLE, name, period); 206 enable_ext(const char *name, u_int period) [all...] |
/src/sys/arch/arm/nxp/ |
imx6_pwm.c | 63 const u_int period = be32toh(pwm[2]); local in function:imxpwm_get_tag 65 sc->sc_conf.period = period; 68 sc->sc_conf.period = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
|
/src/sys/arch/x86/pci/ |
rdcpcib.c | 262 unsigned int period; local in function:rdc_wdtimer_setmode 268 period = smw->smw_period * RDC_WDT0_FREQ; 269 if (period < 1 || 270 period > RDC_WDT0_PERIOD_MAX) 272 period = period - 1; 278 rdc_ind_write(sc, RDC_WDT0_CNTL, (period >> 0) & 0xff); 279 rdc_ind_write(sc, RDC_WDT0_CNTH, (period >> 8) & 0xff); 280 rdc_ind_write(sc, RDC_WDT0_CNTU, (period >> 16) & 0xff);
|
/src/sys/dev/scsipi/ |
scsi_base.c | 141 int period, freq, speed, mbs; local in function:scsi_print_xfer_mode 151 period = scsipi_sync_factor_to_period(periph->periph_period); 153 period / 100, period % 100, periph->periph_offset); 199 int lun, announce, mode, period, offset; local in function:scsi_async_event_xfer_mode 212 period = xm->xm_period; 215 period = 0; 225 periph->periph_period != period || 230 periph->periph_period = period;
|
/src/sys/external/bsd/drm2/linux/ |
linux_hrtimer.c | 156 hrtimer_forward(struct hrtimer *hrt, ktime_t now, ktime_t period) 168 period_ms = ktime_to_ms(period); 185 hrtimer_forward_now(struct hrtimer *hrt, ktime_t period) 188 return hrtimer_forward(hrt, ktime_get(), period);
|
/src/sys/arch/alpha/isa/ |
isa_machdep.c | 98 isabeep(int pitch, int period) 102 pcppi_bell(ppicookie, pitch, period, 0);
|
/src/sys/arch/mips/ralink/ |
ralink_wdog.c | 43 * 1. the specified reset period is a positive integer: 48 * 2. the specified reset period is a negative integer: 54 * The reset period is defined by RA_WDOG_DEFAULT_PERIOD 55 * (which can be set via kernel config), or by period passed to 88 * maximum period depends on bus freq 160 aprint_normal_dev(self, "max period %d sec.\n", WDOG_MAX_PERIOD); 212 aprint_normal_dev(self, "%s mode, period %d sec.\n", 245 u_int period = smw->smw_period; local in function:ra_wdog_setmode 250 ((int)period < 0)) { 252 period = -period [all...] |
/src/sys/arch/arm/imx/ |
imxpwm.c | 101 conf->period = (u_int)(((uint64_t)cycles * 1000000000) / rate); 113 if (conf->period == 0) 121 cycles = (u_int)((conf->period * rate) / 1000000000); 175 .period = 1000000,
|
/src/sys/dev/isa/ |
pcppi.c | 290 pcppi_bell(pcppi_tag_t self, int pitch, int period, int slp) 294 pcppi_bell_locked(self, pitch, period, slp); 299 pcppi_bell_locked(pcppi_tag_t self, int pitch, int period, int slp) 310 if (pitch == 0 || period == 0) { 329 delay((period * 1000000) / hz); 333 callout_schedule(&sc->sc_bell_ch, period); 368 pcppi_pckbd_bell(void *arg, u_int pitch, u_int period, u_int volume, 375 pcppi_bell_locked(arg, pitch, (period * hz) / 1000,
|
/src/sys/dev/i2c/ |
pca9685.c | 69 * PWM frequency / period is shared by all channels. 238 const u_int period = be32toh(pwm[2]); local in function:pcapwm_get_tag 246 chan->ch_conf.period = period; 310 duty_cycle = chan->ch_conf.period; 324 duty_cycle = (u_int)((nticks * chan->ch_conf.period) / 354 if (sc->sc_period != conf->period) { 362 * pwm_freq == 1000000000 / period. 368 const u_int pwm_freq = 1000000000 / conf->period; 377 "set_config: invalid period: %uns\n", conf->period) [all...] |
/src/sys/arch/arm/sunxi/ |
sunxi_pwm.c | 95 const u_int period = be32toh(pwm[2]); local in function:sunxi_pwm_get_tag 98 sc->sc_conf.period = period; 140 conf->period = (u_int)(((uint64_t)cycles * 1000000000) / rate); 167 const u_int cycles = (u_int)((conf->period * rate) / 1000000000);
|
/src/sys/arch/hpcmips/dev/ |
teliosio.c | 202 u_int16_t period; local in function:teliosio_brightness 210 period = bus_space_read_2(regt, regh, TELIOSIO_BACKLIGHT_PERIOD); 212 period |= TELIOSIO_BACKLIGHT_PERIOD_EN; 214 period &= ~TELIOSIO_BACKLIGHT_PERIOD_EN; 215 bus_space_write_2(regt, regh, TELIOSIO_BACKLIGHT_PERIOD, period);
|