Searched refs:period_ps (Results 1 – 3 of 3) sorted by relevance
237 static int calc_pll(int period_ps, struct gxt4500_par *par) in calc_pll() argument243 if (period_ps < 3333 || period_ps > 200000) in calc_pll()250 pll_period = DIV_ROUND_UP(period_ps, postdiv); in calc_pll()258 n = intf * postdiv / period_ps; in calc_pll()262 t -= period_ps; in calc_pll()
179 u64 *period_ps) in ni_tio_clock_period_ps() argument201 *period_ps = counter->clock_period_ps; in ni_tio_clock_period_ps()217 *period_ps = clock_period_ps; in ni_tio_clock_period_ps()
747 static u32 tc358768_ns_to_cnt(u32 ns, u32 period_ps) in tc358768_ns_to_cnt() argument749 return DIV_ROUND_UP(ns * 1000, period_ps); in tc358768_ns_to_cnt()