Lines Matching refs:uint64_t

142 static const uint64_t litex_clk_lock_table[] = {
217 static inline uint64_t litex_clk_lookup_lock(uint32_t glob_mul) in litex_clk_lookup_lock()
327 static uint64_t litex_clk_calc_global_frequency(uint32_t mul, uint32_t div) in litex_clk_calc_global_frequency()
329 uint64_t f; in litex_clk_calc_global_frequency()
331 f = CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC * (uint64_t)mul; in litex_clk_calc_global_frequency()
338 static uint64_t litex_clk_get_real_global_frequency(void) in litex_clk_get_real_global_frequency()
340 uint64_t f; in litex_clk_get_real_global_frequency()
691 uint64_t lock; in litex_clk_set_lock()
744 uint64_t vco_freq; in litex_clk_set_both_globs()
1025 uint64_t period_buff; in litex_clk_calc_phase_normal()
1131 uint64_t period_buff; in litex_clk_get_phase()
1164 uint64_t post_glob_div_f, buff, clkout_period; in litex_clk_get_phase_deg()
1221 uint64_t f = litex_clk_calc_global_frequency(ldev->ts_g_config.mul, in litex_clk_calc_rate()
1248 uint64_t vco_freq) in litex_clk_calc_clkout_params()
1251 uint64_t m, clk_freq = 0; in litex_clk_calc_clkout_params()
1296 static int litex_clk_calc_all_clkout_params(uint64_t vco_freq) in litex_clk_calc_all_clkout_params()
1314 uint64_t vco_freq = 0; in litex_clk_calc_all_params()
1322 vco_freq = CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC * (uint64_t)mul; in litex_clk_calc_all_params()
1350 uint64_t max, min, m; in litex_clk_check_rate_range()
1358 max = CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC * (uint64_t)ldev->clkfbout.max; in litex_clk_check_rate_range()
1373 if ((uint64_t)rate < min || (uint64_t)rate > max) { in litex_clk_check_rate_range()