Lines Matching refs:polarity
155 pwm->args.polarity = PWM_POLARITY_NORMAL; in of_pwm_xlate_with_flags()
158 pwm->args.polarity = PWM_POLARITY_INVERSED; in of_pwm_xlate_with_flags()
274 enum pwm_polarity polarity) in pwmchip_add_with_polarity() argument
306 pwm->state.polarity = polarity; in pwmchip_add_with_polarity()
496 if (s1.enabled && s1.polarity != state->polarity) { in pwm_apply_state_debug()
497 s2.polarity = state->polarity; in pwm_apply_state_debug()
505 if (s2.polarity != state->polarity && in pwm_apply_state_debug()
510 last->polarity == state->polarity && in pwm_apply_state_debug()
523 last->polarity == state->polarity && in pwm_apply_state_debug()
558 s1.polarity != last->polarity || in pwm_apply_state_debug()
563 s1.enabled, s1.polarity, s1.duty_cycle, s1.period, in pwm_apply_state_debug()
564 last->enabled, last->polarity, last->duty_cycle, in pwm_apply_state_debug()
587 state->polarity == pwm->state.polarity && in pwm_apply_state()
612 if (state->polarity != pwm->state.polarity) { in pwm_apply_state()
627 state->polarity); in pwm_apply_state()
631 pwm->state.polarity = state->polarity; in pwm_apply_state()
717 state.polarity = pargs.polarity; in pwm_adjust_config()
737 if (pargs.polarity != state.polarity) { in pwm_adjust_config()
738 state.polarity = pargs.polarity; in pwm_adjust_config()
944 pwm->args.polarity = PWM_POLARITY_NORMAL; in acpi_pwm_get()
947 pwm->args.polarity = PWM_POLARITY_INVERSED; in acpi_pwm_get()
1106 pwm->args.polarity = chosen->polarity; in pwm_get()
1294 state.polarity ? "inverse" : "normal"); in pwm_dbg_show()