Searched refs:down_count (Results 1 – 1 of 1) sorted by relevance
4199 unsigned int up_count, down_count; in ni_m_series_pwm_config() local4220 down_count = DIV_ROUND_CLOSEST(data[4], in ni_m_series_pwm_config()4224 down_count = data[4] / devpriv->clock_ns; in ni_m_series_pwm_config()4227 down_count = in ni_m_series_pwm_config()4234 down_count * devpriv->clock_ns != data[4]) { in ni_m_series_pwm_config()4236 data[4] = down_count * devpriv->clock_ns; in ni_m_series_pwm_config()4240 NI_M_CAL_PWM_LOW_TIME(down_count), in ni_m_series_pwm_config()4243 devpriv->pwm_down_count = down_count; in ni_m_series_pwm_config()4259 unsigned int up_count, down_count; in ni_6143_pwm_config() local4280 down_count = DIV_ROUND_CLOSEST(data[4], in ni_6143_pwm_config()[all …]