Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-tegra.c52 #define PWM_DUTY_WIDTH 8 macro
109 c *= (1 << PWM_DUTY_WIDTH); in tegra_pwm_config()
146 (NSEC_PER_SEC / period_ns) << PWM_DUTY_WIDTH; in tegra_pwm_config()
156 rate = pc->clk_rate >> PWM_DUTY_WIDTH; in tegra_pwm_config()
277 (NSEC_PER_SEC / (pwm->soc->max_frequency >> PWM_DUTY_WIDTH)) + 1; in tegra_pwm_probe()