Home
last modified time | relevance | path

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

/linux-5.19.10/arch/mips/loongson32/common/
Dtime.c47 __raw_writel(INT_EN | CNT_EN, timer_reg_base + PWM_CTRL); in ls1x_pwmtimer_restart()
131 __raw_writel(INT_EN | CNT_EN, timer_reg_base + PWM_CTRL); in ls1x_clockevent_set_state_periodic()
140 __raw_writel(INT_EN | CNT_EN, timer_reg_base + PWM_CTRL); in ls1x_clockevent_tick_resume()
149 __raw_writel(__raw_readl(timer_reg_base + PWM_CTRL) & ~CNT_EN, in ls1x_clockevent_set_state_shutdown()
150 timer_reg_base + PWM_CTRL); in ls1x_clockevent_set_state_shutdown()
/linux-5.19.10/drivers/pwm/
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()
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()
/linux-5.19.10/arch/mips/include/asm/mach-loongson32/
Dregs-pwm.h15 #define PWM_CTRL 0xc macro