Lines Matching full:polarity
9 * - Changes to polarity cannot be latched at the time of the
129 real_state->polarity = state->polarity; in pwm_imx_tpm_round_state()
154 /* get polarity */ in pwm_imx_tpm_get_state()
157 state->polarity = PWM_POLARITY_INVERSED; in pwm_imx_tpm_get_state()
161 * normal polarity. in pwm_imx_tpm_get_state()
163 state->polarity = PWM_POLARITY_NORMAL; in pwm_imx_tpm_get_state()
218 /* polarity is NOT allowed to be changed if PWM is active */ in pwm_imx_tpm_apply_hw()
219 if (c.enabled && c.polarity != state->polarity) in pwm_imx_tpm_apply_hw()
249 * polarity settings will enabled/disable output status in pwm_imx_tpm_apply_hw()
259 * set polarity (for edge-aligned PWM modes) in pwm_imx_tpm_apply_hw()
261 * ELS[1:0] = 2b10 yields normal polarity behaviour, in pwm_imx_tpm_apply_hw()
262 * ELS[1:0] = 2b01 yields inversed polarity. in pwm_imx_tpm_apply_hw()
266 val |= (state->polarity == PWM_POLARITY_NORMAL) ? in pwm_imx_tpm_apply_hw()