Lines Matching refs:polarity
34 enum pwm_polarity polarity; /* PWM polarity */ member
63 enum pwm_polarity polarity) in atmel_tcb_pwm_set_polarity() argument
67 tcbpwm->polarity = polarity; in atmel_tcb_pwm_set_polarity()
95 tcbpwm->polarity = PWM_POLARITY_NORMAL; in atmel_tcb_pwm_request()
150 enum pwm_polarity polarity = tcbpwm->polarity; in atmel_tcb_pwm_disable() local
161 polarity = !polarity; in atmel_tcb_pwm_disable()
169 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
175 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
209 enum pwm_polarity polarity = tcbpwm->polarity; in atmel_tcb_pwm_enable() local
220 polarity = !polarity; in atmel_tcb_pwm_enable()
232 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
238 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
252 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
257 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()