Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pwm/
Dpwm-samsung.c219 struct samsung_pwm_chip *our_chip = to_samsung_pwm_chip(chip); in pwm_samsung_request() local
222 if (!(our_chip->variant.output_mask & BIT(pwm->hwpwm))) { in pwm_samsung_request()
245 struct samsung_pwm_chip *our_chip = to_samsung_pwm_chip(chip); in pwm_samsung_enable() local
252 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_enable()
256 writel(tcon, our_chip->base + REG_TCON); in pwm_samsung_enable()
260 writel(tcon, our_chip->base + REG_TCON); in pwm_samsung_enable()
262 our_chip->disabled_mask &= ~BIT(pwm->hwpwm); in pwm_samsung_enable()
271 struct samsung_pwm_chip *our_chip = to_samsung_pwm_chip(chip); in pwm_samsung_disable() local
278 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_disable()
280 writel(tcon, our_chip->base + REG_TCON); in pwm_samsung_disable()
[all …]