Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pwm/
Dpwm-stm32.c27 u32 max_arr; member
139 *raw_prd = priv->max_arr - priv->capture[0] + priv->capture[2]; in stm32_pwm_raw_capture()
147 *raw_dty = priv->max_arr - priv->capture[0] + priv->capture[3]; in stm32_pwm_raw_capture()
199 while ((div > priv->max_arr) && (psc < MAX_TIM_PSC)) { in stm32_pwm_capture()
204 regmap_write(priv->regmap, TIM_ARR, priv->max_arr); in stm32_pwm_capture()
229 u32 max_arr = priv->max_arr - 0x1000; /* arbitrary margin */ in stm32_pwm_capture() local
231 scale = max_arr / min(max_arr, raw_prd); in stm32_pwm_capture()
233 scale = priv->max_arr; /* bellow resolution, use max scale */ in stm32_pwm_capture()
252 if (raw_prd >= (priv->max_arr - 0x1000) >> (icpsc + 1)) in stm32_pwm_capture()
332 while (div > priv->max_arr) { in stm32_pwm_config()
[all …]
/linux-4.19.296/drivers/iio/trigger/
Dstm32-timer-trigger.c82 u32 max_arr; member
122 while (div > priv->max_arr) { in stm32_timer_start()
842 priv->max_arr = ddata->max_arr; in stm32_timer_trigger_probe()
/linux-4.19.296/include/linux/mfd/
Dstm32-timers.h123 u32 max_arr; member