Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-imx-tpm.c37 #define PWM_IMX_TPM_SC_PS GENMASK(2, 0) macro
104 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()
198 cur_prescale = FIELD_GET(PWM_IMX_TPM_SC_PS, val); in pwm_imx_tpm_apply_hw()
203 val &= ~PWM_IMX_TPM_SC_PS; in pwm_imx_tpm_apply_hw()
204 val |= FIELD_PREP(PWM_IMX_TPM_SC_PS, p->prescale); in pwm_imx_tpm_apply_hw()