Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/comedi/drivers/
Dni_mio_common.c4133 unsigned int up_count, down_count; in ni_m_series_pwm_config() local
4154 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() local
4214 down_count = DIV_ROUND_CLOSEST(data[4], in ni_6143_pwm_config()
[all …]