Lines Matching refs:period
114 unsigned int period;
206 sc->period = NS_PER_SEC /
264 rk_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty)
277 period_freq = NS_PER_SEC / period;
283 device_printf(sc->dev, "duty < period\n");
293 /* XXX Expand API to allow for 64 bit period/duty. */
294 period_out = (sc->clk_freq * period) / NS_PER_SEC;
319 sc->period = period;
326 rk_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty)
332 *period = sc->period;