Lines Matching full:polarity
9 * - Changes to polarity cannot be latched at the time of the
131 real_state->polarity = state->polarity; in pwm_imx_tpm_round_state()
156 /* get polarity */ in pwm_imx_tpm_get_state()
159 state->polarity = PWM_POLARITY_INVERSED; in pwm_imx_tpm_get_state()
163 * normal polarity. in pwm_imx_tpm_get_state()
165 state->polarity = PWM_POLARITY_NORMAL; in pwm_imx_tpm_get_state()
222 /* polarity is NOT allowed to be changed if PWM is active */ in pwm_imx_tpm_apply_hw()
223 if (c.enabled && c.polarity != state->polarity) in pwm_imx_tpm_apply_hw()
253 * polarity settings will enabled/disable output status in pwm_imx_tpm_apply_hw()
263 * set polarity (for edge-aligned PWM modes) in pwm_imx_tpm_apply_hw()
265 * ELS[1:0] = 2b10 yields normal polarity behaviour, in pwm_imx_tpm_apply_hw()
266 * ELS[1:0] = 2b01 yields inversed polarity. in pwm_imx_tpm_apply_hw()
270 val |= (state->polarity == PWM_POLARITY_NORMAL) ? in pwm_imx_tpm_apply_hw()