Searched refs:duty_ratio (Results 1 – 2 of 2) sorted by relevance
274 .duty = DT_INST_PROP(inst, duty_ratio), \
891 uint32_t div, duty_ratio, ht; in litex_clk_calc_duty_percent() local895 duty_ratio = ht * 10000 / div; in litex_clk_calc_duty_percent()897 return (uint8_t)litex_round(duty_ratio, 100); in litex_clk_calc_duty_percent()