Lines Matching defs:duty
119 unsigned int duty;
213 sc->duty = NS_PER_SEC /
268 rk_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty)
285 duty_freq = NS_PER_SEC / duty;
287 device_printf(sc->dev, "duty < period\n");
297 /* XXX Expand API to allow for 64 bit period/duty. */
299 duty_out = (sc->clk_freq * duty) / NS_PER_SEC;
324 sc->duty = duty;
330 rk_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty)
337 *duty = sc->duty;