Home
last modified time | relevance | path

Searched refs:required_clk_rate (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/pwm/
H A Dpwm-tegra.c99 unsigned long rate, required_clk_rate; in tegra_pwm_config() local
144 required_clk_rate = DIV_ROUND_UP_ULL((u64)NSEC_PER_SEC << PWM_DUTY_WIDTH, in tegra_pwm_config()
147 if (required_clk_rate > clk_round_rate(pc->clk, required_clk_rate)) in tegra_pwm_config()
156 required_clk_rate *= 2; in tegra_pwm_config()
158 err = dev_pm_opp_set_rate(pwmchip_parent(chip), required_clk_rate); in tegra_pwm_config()