Searched refs:clock_ns (Results 1 – 2 of 2) sorted by relevance
1935 divider = DIV_ROUND_CLOSEST(nanosec, devpriv->clock_ns); in ni_ns_to_timer()1938 divider = (nanosec) / devpriv->clock_ns; in ni_ns_to_timer()1941 divider = DIV_ROUND_UP(nanosec, devpriv->clock_ns); in ni_ns_to_timer()1951 return devpriv->clock_ns * (timer + 1); in ni_timer_to_ns()2058 devpriv->clock_ns * in ni_ai_cmdtest()2077 devpriv->clock_ns * in ni_ai_cmdtest()3349 devpriv->clock_ns * in ni_ao_cmdtest()4173 data[1] = devpriv->pwm_up_count * devpriv->clock_ns; in ni_get_pwm_config()4174 data[2] = devpriv->pwm_down_count * devpriv->clock_ns; in ni_get_pwm_config()4191 devpriv->clock_ns); in ni_m_series_pwm_config()[all …]
1028 unsigned int clock_ns; member