Searched refs:real_period (Results 1 – 2 of 2) sorted by relevance
66 u32 real_period; member146 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()
49 unsigned int real_period; member104 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()