Lines Matching full:period
63 unsigned long period, duty; in rk_pwm_set_config() local
77 * Lock the period and duty of previous configuration, then in rk_pwm_set_config()
78 * change the duty and period, that would not be effective. in rk_pwm_set_config()
85 period = lldiv((uint64_t)(priv->freq / 1000) * period_ns, in rk_pwm_set_config()
90 writel(period, priv->base + regs->period); in rk_pwm_set_config()
100 * the configuration of duty, period and polarity in rk_pwm_set_config()
101 * would be effective together at next period. in rk_pwm_set_config()
107 debug("%s: period=%lu, duty=%lu\n", __func__, period, duty); in rk_pwm_set_config()
182 .period = 0x08,
197 .period = 0x04,
213 .period = 0x04,
229 .period = 0x04,