Lines Matching refs:polarity
59 * The lowlevel driver either ignored .polarity (which is a bug) or as
60 * best effort inverted .polarity and fixed .duty_cycle respectively.
63 if (s1.enabled && s1.polarity != state->polarity) {
64 s2.polarity = state->polarity;
72 if (s2.polarity != state->polarity &&
74 dev_warn(pwmchip_parent(chip), ".apply ignored .polarity\n");
77 last->polarity == state->polarity &&
90 last->polarity == state->polarity &&
127 s1.polarity != last->polarity ||
132 s1.enabled, s1.polarity, s1.duty_cycle, s1.period,
133 last->enabled, last->polarity, last->duty_cycle,
156 state->polarity == pwm->state.polarity &&
248 * In either case, we setup the new period and polarity, and assign a
254 state.polarity = pargs.polarity;
272 * If the polarity changed, we should also change the duty cycle.
274 if (pargs.polarity != state.polarity) {
275 state.polarity = pargs.polarity;
429 pwm->args.polarity = PWM_POLARITY_NORMAL;
431 pwm->args.polarity = PWM_POLARITY_INVERSED;
449 pwm->args.polarity = PWM_POLARITY_NORMAL;
451 pwm->args.polarity = PWM_POLARITY_INVERSED;
814 pwm->args.polarity = PWM_POLARITY_NORMAL;
817 pwm->args.polarity = PWM_POLARITY_INVERSED;
979 pwm->args.polarity = chosen->polarity;
1100 seq_printf(s, " polarity: %s",
1101 state.polarity ? "inverse" : "normal");