Searched refs:down_count (Results 1 – 1 of 1) sorted by relevance
4133 unsigned int up_count, down_count; in ni_m_series_pwm_config() local4154 down_count = DIV_ROUND_CLOSEST(data[4], in ni_m_series_pwm_config()4158 down_count = data[4] / devpriv->clock_ns; in ni_m_series_pwm_config()4161 down_count = in ni_m_series_pwm_config()4168 down_count * devpriv->clock_ns != data[4]) { in ni_m_series_pwm_config()4170 data[4] = down_count * devpriv->clock_ns; in ni_m_series_pwm_config()4174 NI_M_CAL_PWM_LOW_TIME(down_count), in ni_m_series_pwm_config()4177 devpriv->pwm_down_count = down_count; in ni_m_series_pwm_config()4193 unsigned int up_count, down_count; in ni_6143_pwm_config() local4214 down_count = DIV_ROUND_CLOSEST(data[4], in ni_6143_pwm_config()[all …]