Lines Matching defs:tcon
122 unsigned long tcon;
130 tcon = readl_relaxed(pwm.base + REG_TCON);
131 tcon &= ~TCON_START(channel);
132 writel_relaxed(tcon, pwm.base + REG_TCON);
139 unsigned long tcon;
148 tcon = readl_relaxed(pwm.base + REG_TCON);
150 tcon &= ~(TCON_START(tcon_chan) | TCON_AUTORELOAD(tcon_chan));
151 tcon |= TCON_MANUALUPDATE(tcon_chan);
155 writel_relaxed(tcon, pwm.base + REG_TCON);
162 unsigned long tcon;
170 tcon = readl_relaxed(pwm.base + REG_TCON);
172 tcon &= ~TCON_MANUALUPDATE(channel);
173 tcon |= TCON_START(channel);
176 tcon |= TCON_AUTORELOAD(channel);
178 tcon &= ~TCON_AUTORELOAD(channel);
180 writel_relaxed(tcon, pwm.base + REG_TCON);