Lines Matching refs:raw_dty
110 u32 *raw_dty)
146 *raw_dty = 0;
148 *raw_dty = priv->capture[3] - priv->capture[0];
150 *raw_dty = priv->max_arr - priv->capture[0] + priv->capture[3];
152 if (*raw_dty > *raw_prd) {
159 *raw_dty -= *raw_prd;
176 u32 raw_prd = 0, raw_dty = 0;
222 ret = stm32_pwm_raw_capture(priv, pwm, tmo_ms, &raw_prd, &raw_dty);
244 &raw_dty);
271 ret = stm32_pwm_raw_capture(priv, pwm, tmo_ms, &raw_prd, &raw_dty);
275 if (raw_dty >= (raw_prd >> icpsc)) {
302 raw_dty = (raw_prd >> icpsc) - (raw_prd - raw_dty);
308 dty = (unsigned long long)raw_dty * (psc + 1) * NSEC_PER_SEC;