Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pwm/
Dpwm-lpss.c33 #define PWM_SIZE 0x400 macro
53 return readl(lpwm->regs + pwm->hwpwm * PWM_SIZE + PWM); in pwm_lpss_read()
60 writel(value, lpwm->regs + pwm->hwpwm * PWM_SIZE + PWM); in pwm_lpss_write()
66 const void __iomem *addr = lpwm->regs + pwm->hwpwm * PWM_SIZE + PWM; in pwm_lpss_wait_for_update()
236 lpwm->saved_ctrl[i] = readl(lpwm->regs + i * PWM_SIZE + PWM); in pwm_lpss_suspend()
248 writel(lpwm->saved_ctrl[i], lpwm->regs + i * PWM_SIZE + PWM); in pwm_lpss_resume()