Lines Matching refs:period
118 unsigned int period;
210 sc->period = NS_PER_SEC /
268 rk_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty)
281 period_freq = NS_PER_SEC / period;
287 device_printf(sc->dev, "duty < period\n");
297 /* XXX Expand API to allow for 64 bit period/duty. */
298 period_out = (sc->clk_freq * period) / NS_PER_SEC;
323 sc->period = period;
330 rk_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty)
336 *period = sc->period;