Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pwm/
Dpwm-tegra.c103 unsigned long rate, required_clk_rate; in tegra_pwm_config() local
148 required_clk_rate = DIV_ROUND_UP_ULL((u64)NSEC_PER_SEC << PWM_DUTY_WIDTH, in tegra_pwm_config()
151 if (required_clk_rate > clk_round_rate(pc->clk, required_clk_rate)) in tegra_pwm_config()
160 required_clk_rate *= 2; in tegra_pwm_config()
162 err = dev_pm_opp_set_rate(pc->dev, required_clk_rate); in tegra_pwm_config()