Lines Matching refs:period
67 uint32_t period; /* channel 1 */
142 * defined by 'period'. So if 'ratio' is 2500 and 'period' is 10000, then the output
151 W_RNG(sc, sc->period);
152 if (sc->ratio > sc->period)
153 sc->ratio = sc->period;
192 r = sc->freq / sc->period;
242 error = sysctl_handle_int(oidp, &sc->period, sizeof(sc->period), req);
260 if (r > sc->period) // XXX >= ?
384 SYSCTL_ADD_PROC(ctx, tree, OID_AUTO, "period",
386 bcm_pwm_period_proc, "IU", "PWM period ch 1 (#clocks)");
389 bcm_pwm_ratio_proc, "IU", "PWM ratio ch 1 (0...period)");
401 bcm_pwm_period2_proc, "IU", "PWM period ch 2 (#clocks)");
404 bcm_pwm_ratio2_proc, "IU", "PWM ratio ch 2 (0...period)");
460 sc->period = 10000; /* 12.5 khz */