Lines Matching defs:period
114 unsigned int period;
206 sc->period = NS_PER_SEC /
265 rk_pwm_channel_config(device_t dev, u_int channel, u_int period, u_int duty)
278 period_freq = NS_PER_SEC / period;
284 device_printf(sc->dev, "duty < period\n");
294 /* XXX Expand API to allow for 64 bit period/duty. */
295 period_out = (sc->clk_freq * period) / NS_PER_SEC;
320 sc->period = period;
327 rk_pwm_channel_get_config(device_t dev, u_int channel, u_int *period, u_int *duty)
333 *period = sc->period;