Lines Matching refs:polarity
144 pwm->args.polarity = PWM_POLARITY_NORMAL; in of_pwm_xlate_with_flags()
148 pwm->args.polarity = PWM_POLARITY_INVERSED; in of_pwm_xlate_with_flags()
452 if (s1.enabled && s1.polarity != state->polarity) { in pwm_apply_state_debug()
453 s2.polarity = state->polarity; in pwm_apply_state_debug()
461 if (s2.polarity != state->polarity && in pwm_apply_state_debug()
466 last->polarity == state->polarity && in pwm_apply_state_debug()
479 last->polarity == state->polarity && in pwm_apply_state_debug()
514 s1.polarity != last->polarity || in pwm_apply_state_debug()
519 s1.enabled, s1.polarity, s1.duty_cycle, s1.period, in pwm_apply_state_debug()
520 last->enabled, last->polarity, last->duty_cycle, in pwm_apply_state_debug()
552 state->polarity == pwm->state.polarity && in pwm_apply_state()
575 if (state->polarity != pwm->state.polarity) { in pwm_apply_state()
590 state->polarity); in pwm_apply_state()
594 pwm->state.polarity = state->polarity; in pwm_apply_state()
680 state.polarity = pargs.polarity; in pwm_adjust_config()
700 if (pargs.polarity != state.polarity) { in pwm_adjust_config()
701 state.polarity = pargs.polarity; in pwm_adjust_config()
879 pwm->args.polarity = PWM_POLARITY_NORMAL; in acpi_pwm_get()
882 pwm->args.polarity = PWM_POLARITY_INVERSED; in acpi_pwm_get()
1041 pwm->args.polarity = chosen->polarity; in pwm_get()
1194 state.polarity ? "inverse" : "normal"); in pwm_dbg_show()