Searched refs:duty_freq (Results 1 – 2 of 2) sorted by relevance
247 uint64_t period_freq, duty_freq; in aw_pwm_channel_config() local272 duty_freq = NS_PER_SEC / duty; in aw_pwm_channel_config()273 if (duty_freq < period_freq) { in aw_pwm_channel_config()314 ((clk_rate / duty_freq) << AW_PWM_PERIOD_ACTIVE_SHIFT); in aw_pwm_channel_config()
268 uint64_t period_freq, duty_freq; in rk_pwm_channel_config() local282 duty_freq = NS_PER_SEC / duty; in rk_pwm_channel_config()283 if (duty_freq < period_freq) { in rk_pwm_channel_config()