Searched refs:clock_ns (Results 1 – 2 of 2) sorted by relevance
1950 divider = DIV_ROUND_CLOSEST(nanosec, devpriv->clock_ns); in ni_ns_to_timer()1953 divider = (nanosec) / devpriv->clock_ns; in ni_ns_to_timer()1956 divider = DIV_ROUND_UP(nanosec, devpriv->clock_ns); in ni_ns_to_timer()1966 return devpriv->clock_ns * (timer + 1); in ni_timer_to_ns()2073 devpriv->clock_ns * in ni_ai_cmdtest()2092 devpriv->clock_ns * in ni_ai_cmdtest()3364 devpriv->clock_ns * in ni_ao_cmdtest()4188 data[1] = devpriv->pwm_up_count * devpriv->clock_ns; in ni_get_pwm_config()4189 data[2] = devpriv->pwm_down_count * devpriv->clock_ns; in ni_get_pwm_config()4206 devpriv->clock_ns); in ni_m_series_pwm_config()[all …]
1028 unsigned int clock_ns; member