Home
last modified time | relevance | path

Searched refs:PWM_IMX_TPM_CnSC_ELS (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/pwm/
Dpwm-imx-tpm.c51 #define PWM_IMX_TPM_CnSC_ELS GENMASK(3, 2) macro
52 #define PWM_IMX_TPM_CnSC_ELS_INVERSED FIELD_PREP(PWM_IMX_TPM_CnSC_ELS, 1)
53 #define PWM_IMX_TPM_CnSC_ELS_NORMAL FIELD_PREP(PWM_IMX_TPM_CnSC_ELS, 2)
156 if ((val & PWM_IMX_TPM_CnSC_ELS) == PWM_IMX_TPM_CnSC_ELS_INVERSED) in pwm_imx_tpm_get_state()
166 state->enabled = FIELD_GET(PWM_IMX_TPM_CnSC_ELS, val) ? true : false; in pwm_imx_tpm_get_state()
255 val &= ~(PWM_IMX_TPM_CnSC_ELS | PWM_IMX_TPM_CnSC_MSA | in pwm_imx_tpm_apply_hw()