Lines Matching refs:polarity
34 enum pwm_polarity polarity; /* PWM polarity */
63 enum pwm_polarity polarity)
67 tcbpwm->polarity = polarity;
95 tcbpwm->polarity = PWM_POLARITY_NORMAL;
150 enum pwm_polarity polarity = tcbpwm->polarity;
158 * This is why we're reverting polarity in this case.
161 polarity = !polarity;
169 if (polarity == PWM_POLARITY_INVERSED)
175 if (polarity == PWM_POLARITY_INVERSED)
209 enum pwm_polarity polarity = tcbpwm->polarity;
217 * This is why we're reverting polarity in this case.
220 polarity = !polarity;
231 /* Set CMR flags according to given polarity */
232 if (polarity == PWM_POLARITY_INVERSED)
238 if (polarity == PWM_POLARITY_INVERSED)
252 if (polarity == PWM_POLARITY_INVERSED)
257 if (polarity == PWM_POLARITY_INVERSED)