Lines Matching refs:polarity
149 pwm->args.polarity = PWM_POLARITY_NORMAL; in of_pwm_xlate_with_flags()
153 pwm->args.polarity = PWM_POLARITY_INVERSED; in of_pwm_xlate_with_flags()
177 pwm->args.polarity = PWM_POLARITY_NORMAL; in of_pwm_single_xlate()
180 pwm->args.polarity = PWM_POLARITY_INVERSED; in of_pwm_single_xlate()
416 if (s1.enabled && s1.polarity != state->polarity) { in pwm_apply_state_debug()
417 s2.polarity = state->polarity; in pwm_apply_state_debug()
425 if (s2.polarity != state->polarity && in pwm_apply_state_debug()
430 last->polarity == state->polarity && in pwm_apply_state_debug()
443 last->polarity == state->polarity && in pwm_apply_state_debug()
480 s1.polarity != last->polarity || in pwm_apply_state_debug()
485 s1.enabled, s1.polarity, s1.duty_cycle, s1.period, in pwm_apply_state_debug()
486 last->enabled, last->polarity, last->duty_cycle, in pwm_apply_state_debug()
518 state->polarity == pwm->state.polarity && in pwm_apply_state()
594 state.polarity = pargs.polarity; in pwm_adjust_config()
614 if (pargs.polarity != state.polarity) { in pwm_adjust_config()
615 state.polarity = pargs.polarity; in pwm_adjust_config()
792 pwm->args.polarity = PWM_POLARITY_NORMAL; in acpi_pwm_get()
795 pwm->args.polarity = PWM_POLARITY_INVERSED; in acpi_pwm_get()
954 pwm->args.polarity = chosen->polarity; in pwm_get()
1077 state.polarity ? "inverse" : "normal"); in pwm_dbg_show()