Lines Matching defs:duty
90 unsigned int duty;
185 sc->duty = NS_PER_SEC /
248 aw_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty)
273 * duty are near 1 second. In some cases period_freq and duty_freq can
274 * be equal even if the period and the duty are significantly different.
276 duty_freq = NS_PER_SEC / duty;
278 device_printf(sc->dev, "duty < period\n");
322 sc->duty = duty;
328 aw_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty)
335 *duty = sc->duty;