Searched refs:PWM_CTRL (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/arch/mips/loongson32/common/ |
H A D | time.c | 47 __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() local
|
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | timer-loongson1-pwm.c | 17 #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()
|
/kernel/linux/linux-5.10/drivers/pwm/ |
H A D | pwm-mxs.c | 21 #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 D | pwm-brcmstb.c | 22 #define PWM_CTRL 0x00 macro 191 value = brcmstb_pwm_readl(p, PWM_CTRL); in brcmstb_pwm_enable_set() 201 brcmstb_pwm_writel(p, value, PWM_CTRL); in brcmstb_pwm_enable_set()
|
/kernel/linux/linux-6.6/drivers/pwm/ |
H A D | pwm-mxs.c | 21 #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 D | pwm-brcmstb.c | 22 #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()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson32/ |
H A D | regs-pwm.h | 15 #define PWM_CTRL 0xc macro
|
Completed in 4 milliseconds