Home
last modified time | relevance | path

Searched refs:clkout_period (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/clock_control/
Dclock_control_litex.c1026 uint32_t post_glob_div_f, global_period, clkout_period, in litex_clk_calc_phase_normal() local
1035 clkout_period = global_period * divider; in litex_clk_calc_phase_normal()
1041 *period_off = litex_round(clkout_period * (*period_off), 10000); in litex_clk_calc_phase_normal()
1133 pm, global_period, clkout_period, period; in litex_clk_get_phase() local
1148 clkout_period = global_period * divider; in litex_clk_get_phase()
1155 period = period * 1000 / clkout_period; in litex_clk_get_phase()
1164 uint64_t post_glob_div_f, buff, clkout_period; in litex_clk_get_phase_deg() local
1169 clkout_period = (uint32_t)buff; in litex_clk_get_phase_deg()
1170 clkout_period *= lcko->config.div; in litex_clk_get_phase_deg()
1172 buff = lcko->config.period_off * 1000 / clkout_period; in litex_clk_get_phase_deg()