Lines Matching refs:tcon
19 unsigned long tcon; in pwm_enable() local
21 tcon = readl(&pwm->tcon); in pwm_enable()
22 tcon |= TCON_START(pwm_id); in pwm_enable()
24 writel(tcon, &pwm->tcon); in pwm_enable()
33 unsigned long tcon; in pwm_disable() local
35 tcon = readl(&pwm->tcon); in pwm_disable()
36 tcon &= ~TCON_START(pwm_id); in pwm_disable()
38 writel(tcon, &pwm->tcon); in pwm_disable()
66 unsigned long tcon; in pwm_config() local
100 tcon = readl(&pwm->tcon); in pwm_config()
101 tcon |= TCON_UPDATE(pwm_id); in pwm_config()
103 tcon |= TCON_AUTO_RELOAD(pwm_id); in pwm_config()
105 tcon |= TCON4_AUTO_RELOAD; in pwm_config()
106 writel(tcon, &pwm->tcon); in pwm_config()
108 tcon &= ~TCON_UPDATE(pwm_id); in pwm_config()
109 writel(tcon, &pwm->tcon); in pwm_config()
162 val = readl(&pwm->tcon) & ~(0xf << TCON_OFFSET(pwm_id)); in pwm_init()
165 writel(val, &pwm->tcon); in pwm_init()