Lines Matching refs:polarity
124 enum pwm_polarity polarity)
136 * This is why we're reverting polarity in this case.
139 polarity = !polarity;
147 if (polarity == PWM_POLARITY_INVERSED)
153 if (polarity == PWM_POLARITY_INVERSED)
181 enum pwm_polarity polarity)
193 * This is why we're reverting polarity in this case.
196 polarity = !polarity;
207 /* Set CMR flags according to given polarity */
208 if (polarity == PWM_POLARITY_INVERSED)
214 if (polarity == PWM_POLARITY_INVERSED)
228 if (polarity == PWM_POLARITY_INVERSED)
233 if (polarity == PWM_POLARITY_INVERSED)
349 atmel_tcb_pwm_disable(chip, pwm, state->polarity);
360 return atmel_tcb_pwm_enable(chip, pwm, state->polarity);