Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clocksource/
H A Dtimer-loongson1-pwm.c17 #define PWM_CTRL 0xc macro
58 writel((INT_EN | PWM_OE | CNT_EN), timer_of_base(to) + PWM_CTRL); in ls1x_pwmtimer_start()
63 writel(0, timer_of_base(to) + PWM_CTRL); in ls1x_pwmtimer_stop()
70 val = readl(timer_of_base(to) + PWM_CTRL); in ls1x_pwmtimer_irq_ack()
72 writel(val, timer_of_base(to) + PWM_CTRL); in ls1x_pwmtimer_irq_ack()
/openbmc/linux/drivers/pwm/
H A Dpwm-mxs.c21 #define PWM_CTRL 0x0 macro
69 writel(1 << pwm->hwpwm, mxs->base + PWM_CTRL + CLR); in mxs_pwm_apply()
108 writel(1 << pwm->hwpwm, mxs->base + PWM_CTRL + SET); in mxs_pwm_apply()
H A Dpwm-brcmstb.c22 #define PWM_CTRL 0x00 macro
182 value = brcmstb_pwm_readl(p, PWM_CTRL); in brcmstb_pwm_enable_set()
192 brcmstb_pwm_writel(p, value, PWM_CTRL); in brcmstb_pwm_enable_set()