Lines Matching refs:global_period
1026 uint32_t post_glob_div_f, global_period, clkout_period, in litex_clk_calc_phase_normal() local
1034 global_period = (uint32_t)period_buff; in litex_clk_calc_phase_normal()
1035 clkout_period = global_period * divider; in litex_clk_calc_phase_normal()
1043 if (*period_off / global_period > DELAY_TIME_MAX) { in litex_clk_calc_phase_normal()
1053 synth_phase = (delay * global_period) + in litex_clk_calc_phase_normal()
1054 ((p_m * ((global_period * 100) / 8) / 100)); in litex_clk_calc_phase_normal()
1133 pm, global_period, clkout_period, period; in litex_clk_get_phase() local
1147 global_period = (uint32_t)period_buff; in litex_clk_get_phase()
1148 clkout_period = global_period * divider; in litex_clk_get_phase()
1150 pm = (phase_mux * global_period * 1000) / PHASE_MUX_RES_FACTOR; in litex_clk_get_phase()
1153 period = delay_time * global_period + pm; in litex_clk_get_phase()