Lines Matching refs:tcon_chan
123 unsigned int tcon_chan = to_tcon_channel(pwm->hwpwm); in __pwm_samsung_manual_update() local
127 tcon |= TCON_MANUALUPDATE(tcon_chan); in __pwm_samsung_manual_update()
130 tcon &= ~TCON_MANUALUPDATE(tcon_chan); in __pwm_samsung_manual_update()
257 unsigned int tcon_chan = to_tcon_channel(pwm->hwpwm); in pwm_samsung_enable() local
265 tcon &= ~TCON_START(tcon_chan); in pwm_samsung_enable()
266 tcon |= TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable()
269 tcon &= ~TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable()
270 tcon |= TCON_START(tcon_chan) | TCON_AUTORELOAD(tcon_chan); in pwm_samsung_enable()
283 unsigned int tcon_chan = to_tcon_channel(pwm->hwpwm); in pwm_samsung_disable() local
290 tcon &= ~TCON_AUTORELOAD(tcon_chan); in pwm_samsung_disable()
399 unsigned int tcon_chan = to_tcon_channel(channel); in pwm_samsung_set_invert() local
409 tcon |= TCON_INVERT(tcon_chan); in pwm_samsung_set_invert()
412 tcon &= ~TCON_INVERT(tcon_chan); in pwm_samsung_set_invert()