Searched refs:clock_ns (Results 1 – 2 of 2) sorted by relevance
1936 divider = DIV_ROUND_CLOSEST(nanosec, devpriv->clock_ns); in ni_ns_to_timer()1939 divider = (nanosec) / devpriv->clock_ns; in ni_ns_to_timer()1942 divider = DIV_ROUND_UP(nanosec, devpriv->clock_ns); in ni_ns_to_timer()1952 return devpriv->clock_ns * (timer + 1); in ni_timer_to_ns()2063 devpriv->clock_ns * in ni_ai_cmdtest()2085 devpriv->clock_ns * in ni_ai_cmdtest()3329 devpriv->clock_ns * in ni_ao_cmdtest()4122 data[1] = devpriv->pwm_up_count * devpriv->clock_ns; in ni_get_pwm_config()4123 data[2] = devpriv->pwm_down_count * devpriv->clock_ns; in ni_get_pwm_config()4140 devpriv->clock_ns); in ni_m_series_pwm_config()[all …]
1017 unsigned int clock_ns; member