Lines Matching refs:polarity
34 enum pwm_polarity polarity; /* PWM polarity */ member
54 enum pwm_polarity polarity) in atmel_tcb_pwm_set_polarity() argument
58 tcbpwm->polarity = polarity; in atmel_tcb_pwm_set_polarity()
86 tcbpwm->polarity = PWM_POLARITY_NORMAL; in atmel_tcb_pwm_request()
141 enum pwm_polarity polarity = tcbpwm->polarity; in atmel_tcb_pwm_disable() local
152 polarity = !polarity; in atmel_tcb_pwm_disable()
160 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
166 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_disable()
197 enum pwm_polarity polarity = tcbpwm->polarity; in atmel_tcb_pwm_enable() local
208 polarity = !polarity; in atmel_tcb_pwm_enable()
220 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
226 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
240 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()
245 if (polarity == PWM_POLARITY_INVERSED) in atmel_tcb_pwm_enable()