Searched refs:BERLIN_PWM_CONTROL (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/pwm/ |
D | pwm-berlin.c | 23 #define BERLIN_PWM_CONTROL 0x4 macro 115 value = berlin_pwm_readl(pwm, pwm_dev->hwpwm, BERLIN_PWM_CONTROL); in berlin_pwm_config() 120 berlin_pwm_writel(pwm, pwm_dev->hwpwm, value, BERLIN_PWM_CONTROL); in berlin_pwm_config() 135 value = berlin_pwm_readl(pwm, pwm_dev->hwpwm, BERLIN_PWM_CONTROL); in berlin_pwm_set_polarity() 142 berlin_pwm_writel(pwm, pwm_dev->hwpwm, value, BERLIN_PWM_CONTROL); in berlin_pwm_set_polarity() 253 channel->ctrl = berlin_pwm_readl(pwm, i, BERLIN_PWM_CONTROL); in berlin_pwm_suspend() 280 berlin_pwm_writel(pwm, i, channel->ctrl, BERLIN_PWM_CONTROL); in berlin_pwm_resume()
|