Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pwm/
Dpwm-imx-tpm.c66 u32 real_period; member
146 state->period = tpm->real_period; in pwm_imx_tpm_get_state()
186 if (state->period != tpm->real_period) { in pwm_imx_tpm_apply_hw()
216 tpm->real_period = state->period; in pwm_imx_tpm_apply_hw()
241 timeout = jiffies + msecs_to_jiffies(tpm->real_period / in pwm_imx_tpm_apply_hw()
396 tpm->real_period = 0; in pwm_imx_tpm_suspend()
Dpwm-sifive.c49 unsigned int real_period; member
104 ddata->real_period = div64_ul(num, rate); in pwm_sifive_update_clock()
106 "New real_period = %u ns\n", ddata->real_period); in pwm_sifive_update_clock()
123 state->period = ddata->real_period; in pwm_sifive_get_state()
125 (u64)duty * ddata->real_period >> PWM_SIFIVE_CMPWIDTH; in pwm_sifive_get_state()