icpsc 172 drivers/pwm/pwm-stm32.c unsigned int psc = 0, icpsc, scale; icpsc 250 drivers/pwm/pwm-stm32.c for (icpsc = 0; icpsc < MAX_TIM_ICPSC ; icpsc++) { icpsc 252 drivers/pwm/pwm-stm32.c if (raw_prd >= (priv->max_arr - 0x1000) >> (icpsc + 1)) icpsc 254 drivers/pwm/pwm-stm32.c if (prd >= (tmo_ms * NSEC_PER_MSEC) >> (icpsc + 2)) icpsc 258 drivers/pwm/pwm-stm32.c if (!icpsc) icpsc 265 drivers/pwm/pwm-stm32.c FIELD_PREP(TIM_CCMR_IC1PSC, icpsc) | icpsc 266 drivers/pwm/pwm-stm32.c FIELD_PREP(TIM_CCMR_IC2PSC, icpsc)); icpsc 272 drivers/pwm/pwm-stm32.c if (raw_dty >= (raw_prd >> icpsc)) { icpsc 299 drivers/pwm/pwm-stm32.c raw_dty = (raw_prd >> icpsc) - (raw_prd - raw_dty); icpsc 304 drivers/pwm/pwm-stm32.c result->period = DIV_ROUND_UP_ULL(prd, rate << icpsc);