Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/pwm/
Dpwm-imx-tpm.c39 #define PWM_IMX_TPM_SC_PS GENMASK(2, 0) macro
106 if ((!FIELD_FIT(PWM_IMX_TPM_SC_PS, prescale))) in pwm_imx_tpm_round_state()
151 prescale = FIELD_GET(PWM_IMX_TPM_SC_PS, val); in pwm_imx_tpm_get_state()
196 cur_prescale = FIELD_GET(PWM_IMX_TPM_SC_PS, val); in pwm_imx_tpm_apply_hw()
201 val &= ~PWM_IMX_TPM_SC_PS; in pwm_imx_tpm_apply_hw()
202 val |= FIELD_PREP(PWM_IMX_TPM_SC_PS, p->prescale); in pwm_imx_tpm_apply_hw()