Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/pwm/
Dpwm-lpc18xx-sct.c112 static inline void lpc18xx_pwm_writel(struct lpc18xx_pwm_chip *lpc18xx_pwm, in lpc18xx_pwm_writel() argument
115 writel(val, lpc18xx_pwm->base + reg); in lpc18xx_pwm_writel()
118 static inline u32 lpc18xx_pwm_readl(struct lpc18xx_pwm_chip *lpc18xx_pwm, in lpc18xx_pwm_readl() argument
121 return readl(lpc18xx_pwm->base + reg); in lpc18xx_pwm_readl()
124 static void lpc18xx_pwm_set_conflict_res(struct lpc18xx_pwm_chip *lpc18xx_pwm, in lpc18xx_pwm_set_conflict_res() argument
130 mutex_lock(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_set_conflict_res()
137 val = lpc18xx_pwm_readl(lpc18xx_pwm, LPC18XX_PWM_RES_BASE); in lpc18xx_pwm_set_conflict_res()
140 lpc18xx_pwm_writel(lpc18xx_pwm, LPC18XX_PWM_RES_BASE, val); in lpc18xx_pwm_set_conflict_res()
142 mutex_unlock(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_set_conflict_res()
147 struct lpc18xx_pwm_chip *lpc18xx_pwm = to_lpc18xx_pwm_chip(chip); in lpc18xx_pwm_config_period() local
[all …]