Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pwm/
Dpwm-lpc18xx-sct.c115 static inline void lpc18xx_pwm_writel(struct lpc18xx_pwm_chip *lpc18xx_pwm, in lpc18xx_pwm_writel() argument
118 writel(val, lpc18xx_pwm->base + reg); in lpc18xx_pwm_writel()
121 static inline u32 lpc18xx_pwm_readl(struct lpc18xx_pwm_chip *lpc18xx_pwm, in lpc18xx_pwm_readl() argument
124 return readl(lpc18xx_pwm->base + reg); in lpc18xx_pwm_readl()
127 static void lpc18xx_pwm_set_conflict_res(struct lpc18xx_pwm_chip *lpc18xx_pwm, in lpc18xx_pwm_set_conflict_res() argument
133 mutex_lock(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_set_conflict_res()
140 val = lpc18xx_pwm_readl(lpc18xx_pwm, LPC18XX_PWM_RES_BASE); in lpc18xx_pwm_set_conflict_res()
143 lpc18xx_pwm_writel(lpc18xx_pwm, LPC18XX_PWM_RES_BASE, val); in lpc18xx_pwm_set_conflict_res()
145 mutex_unlock(&lpc18xx_pwm->res_lock); in lpc18xx_pwm_set_conflict_res()
150 struct lpc18xx_pwm_chip *lpc18xx_pwm = to_lpc18xx_pwm_chip(chip); in lpc18xx_pwm_config_period() local
[all …]