Lines Matching defs:tcon
121 unsigned long tcon;
129 tcon = readl_relaxed(pwm.base + REG_TCON);
130 tcon &= ~TCON_START(channel);
131 writel_relaxed(tcon, pwm.base + REG_TCON);
138 unsigned long tcon;
147 tcon = readl_relaxed(pwm.base + REG_TCON);
149 tcon &= ~(TCON_START(tcon_chan) | TCON_AUTORELOAD(tcon_chan));
150 tcon |= TCON_MANUALUPDATE(tcon_chan);
154 writel_relaxed(tcon, pwm.base + REG_TCON);
161 unsigned long tcon;
169 tcon = readl_relaxed(pwm.base + REG_TCON);
171 tcon &= ~TCON_MANUALUPDATE(channel);
172 tcon |= TCON_START(channel);
175 tcon |= TCON_AUTORELOAD(channel);
177 tcon &= ~TCON_AUTORELOAD(channel);
179 writel_relaxed(tcon, pwm.base + REG_TCON);