Lines Matching refs:polarity
149 pwm->args.polarity = PWM_POLARITY_NORMAL;
153 pwm->args.polarity = PWM_POLARITY_INVERSED;
177 pwm->args.polarity = PWM_POLARITY_NORMAL;
180 pwm->args.polarity = PWM_POLARITY_INVERSED;
412 * The lowlevel driver either ignored .polarity (which is a bug) or as
413 * best effort inverted .polarity and fixed .duty_cycle respectively.
416 if (s1.enabled && s1.polarity != state->polarity) {
417 s2.polarity = state->polarity;
425 if (s2.polarity != state->polarity &&
427 dev_warn(chip->dev, ".apply ignored .polarity\n");
430 last->polarity == state->polarity &&
443 last->polarity == state->polarity &&
480 s1.polarity != last->polarity ||
485 s1.enabled, s1.polarity, s1.duty_cycle, s1.period,
486 last->enabled, last->polarity, last->duty_cycle,
518 state->polarity == pwm->state.polarity &&
588 * In either case, we setup the new period and polarity, and assign a
594 state.polarity = pargs.polarity;
612 * If the polarity changed, we should also change the duty cycle.
614 if (pargs.polarity != state.polarity) {
615 state.polarity = pargs.polarity;
792 pwm->args.polarity = PWM_POLARITY_NORMAL;
795 pwm->args.polarity = PWM_POLARITY_INVERSED;
954 pwm->args.polarity = chosen->polarity;
1076 seq_printf(s, " polarity: %s",
1077 state.polarity ? "inverse" : "normal");