raw_prd 106 drivers/pwm/pwm-stm32.c unsigned long tmo_ms, u32 *raw_prd, raw_prd 137 drivers/pwm/pwm-stm32.c *raw_prd = priv->capture[2] - priv->capture[0]; raw_prd 139 drivers/pwm/pwm-stm32.c *raw_prd = priv->max_arr - priv->capture[0] + priv->capture[2]; raw_prd 149 drivers/pwm/pwm-stm32.c if (*raw_dty > *raw_prd) { raw_prd 156 drivers/pwm/pwm-stm32.c *raw_dty -= *raw_prd; raw_prd 173 drivers/pwm/pwm-stm32.c u32 raw_prd = 0, raw_dty = 0; raw_prd 219 drivers/pwm/pwm-stm32.c ret = stm32_pwm_raw_capture(priv, pwm, tmo_ms, &raw_prd, &raw_dty); raw_prd 228 drivers/pwm/pwm-stm32.c if (raw_prd) { raw_prd 231 drivers/pwm/pwm-stm32.c scale = max_arr / min(max_arr, raw_prd); raw_prd 240 drivers/pwm/pwm-stm32.c ret = stm32_pwm_raw_capture(priv, pwm, tmo_ms, &raw_prd, raw_prd 247 drivers/pwm/pwm-stm32.c prd = (unsigned long long)raw_prd * (psc + 1) * NSEC_PER_SEC; raw_prd 252 drivers/pwm/pwm-stm32.c if (raw_prd >= (priv->max_arr - 0x1000) >> (icpsc + 1)) raw_prd 268 drivers/pwm/pwm-stm32.c ret = stm32_pwm_raw_capture(priv, pwm, tmo_ms, &raw_prd, &raw_dty); raw_prd 272 drivers/pwm/pwm-stm32.c if (raw_dty >= (raw_prd >> icpsc)) { raw_prd 299 drivers/pwm/pwm-stm32.c raw_dty = (raw_prd >> icpsc) - (raw_prd - raw_dty); raw_prd 303 drivers/pwm/pwm-stm32.c prd = (unsigned long long)raw_prd * (psc + 1) * NSEC_PER_SEC;