Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/clock_control/
Dclock_control_litex.c907 uint8_t high_time_it, edge_it, high_duty, in litex_clk_calc_duty_normal() local
932 for (high_time_it = 1; high_time_it < divider; high_time_it++) { in litex_clk_calc_duty_normal()
934 synth_duty = (high_time_it * 100 + 50 * edge_it) / in litex_clk_calc_duty_normal()
939 if (delta_d < min_d && (divider - high_time_it) <= in litex_clk_calc_duty_normal()
942 lcko->div.high_time = high_time_it; in litex_clk_calc_duty_normal()
943 lcko->div.low_time = divider - high_time_it; in litex_clk_calc_duty_normal()
945 lcko->config.duty.num = high_time_it * 100 + 50 in litex_clk_calc_duty_normal()