Searched refs:raw_prd (Results 1 – 1 of 1) sorted by relevance
472 unsigned long tmo_ms, u32 *raw_prd, in stm32_pwm_raw_capture() argument504 *raw_prd = priv->capture[2] - priv->capture[0]; in stm32_pwm_raw_capture()516 if (*raw_dty > *raw_prd) { in stm32_pwm_raw_capture()523 *raw_dty -= *raw_prd; in stm32_pwm_raw_capture()540 u32 raw_prd = 0, raw_dty = 0; in stm32_pwm_capture() local599 if (raw_prd) { in stm32_pwm_capture()602 scale = max_arr / min(max_arr, raw_prd); in stm32_pwm_capture()611 ret = stm32_pwm_raw_capture(chip, pwm, tmo_ms, &raw_prd, in stm32_pwm_capture()623 if (raw_prd >= (priv->max_arr - 0x1000) >> (icpsc + 1)) in stm32_pwm_capture()643 if (raw_dty >= (raw_prd >> icpsc)) { in stm32_pwm_capture()[all …]