Searched refs:raw_dty (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/pwm/ |
H A D | pwm-stm32.c | 110 u32 *raw_dty) in stm32_pwm_raw_capture() 146 *raw_dty = 0; in stm32_pwm_raw_capture() 148 *raw_dty = priv->capture[3] - priv->capture[0]; in stm32_pwm_raw_capture() 150 *raw_dty = priv->max_arr - priv->capture[0] + priv->capture[3]; in stm32_pwm_raw_capture() 152 if (*raw_dty > *raw_prd) { in stm32_pwm_raw_capture() 159 *raw_dty -= *raw_prd; in stm32_pwm_raw_capture() 176 u32 raw_prd = 0, raw_dty = 0; in stm32_pwm_capture() local 222 ret = stm32_pwm_raw_capture(priv, pwm, tmo_ms, &raw_prd, &raw_dty); in stm32_pwm_capture() 244 &raw_dty); in stm32_pwm_capture() 271 ret = stm32_pwm_raw_capture(priv, pwm, tmo_ms, &raw_prd, &raw_dty); in stm32_pwm_capture() 108 stm32_pwm_raw_capture(struct stm32_pwm *priv, struct pwm_device *pwm, unsigned long tmo_ms, u32 *raw_prd, u32 *raw_dty) stm32_pwm_raw_capture() argument [all...] |
/kernel/linux/linux-6.6/drivers/pwm/ |
H A D | pwm-stm32.c | 110 u32 *raw_dty) in stm32_pwm_raw_capture() 146 *raw_dty = 0; in stm32_pwm_raw_capture() 148 *raw_dty = priv->capture[3] - priv->capture[0]; in stm32_pwm_raw_capture() 150 *raw_dty = priv->max_arr - priv->capture[0] + priv->capture[3]; in stm32_pwm_raw_capture() 152 if (*raw_dty > *raw_prd) { in stm32_pwm_raw_capture() 159 *raw_dty -= *raw_prd; in stm32_pwm_raw_capture() 176 u32 raw_prd = 0, raw_dty = 0; in stm32_pwm_capture() local 226 ret = stm32_pwm_raw_capture(priv, pwm, tmo_ms, &raw_prd, &raw_dty); in stm32_pwm_capture() 248 &raw_dty); in stm32_pwm_capture() 275 ret = stm32_pwm_raw_capture(priv, pwm, tmo_ms, &raw_prd, &raw_dty); in stm32_pwm_capture() 108 stm32_pwm_raw_capture(struct stm32_pwm *priv, struct pwm_device *pwm, unsigned long tmo_ms, u32 *raw_prd, u32 *raw_dty) stm32_pwm_raw_capture() argument [all...] |
Completed in 2 milliseconds