Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pwm/
Dpwm-stm32.c94 u32 *raw_dty) in stm32_pwm_raw_capture() argument
131 *raw_dty = 0; in stm32_pwm_raw_capture()
133 *raw_dty = priv->capture[3] - priv->capture[0]; in stm32_pwm_raw_capture()
135 *raw_dty = priv->max_arr - priv->capture[0] + priv->capture[3]; in stm32_pwm_raw_capture()
137 if (*raw_dty > *raw_prd) { in stm32_pwm_raw_capture()
144 *raw_dty -= *raw_prd; in stm32_pwm_raw_capture()
161 u32 raw_prd = 0, raw_dty = 0; in stm32_pwm_capture() local
211 ret = stm32_pwm_raw_capture(chip, pwm, tmo_ms, &raw_prd, &raw_dty); in stm32_pwm_capture()
233 &raw_dty); in stm32_pwm_capture()
260 ret = stm32_pwm_raw_capture(chip, pwm, tmo_ms, &raw_prd, &raw_dty); in stm32_pwm_capture()
[all …]