Lines Matching full:hi
15 * hi = [0 - val]
16 * duty_cycle = (1 + hi) / (1 + val)
115 unsigned int hi = DIV_ROUND_CLOSEST(sclk->cached_div * in sclk_apply_ratio() local
119 if (hi) in sclk_apply_ratio()
120 hi -= 1; in sclk_apply_ratio()
122 meson_parm_write(clk->map, &sclk->hi, hi); in sclk_apply_ratio()
131 if (MESON_PARM_APPLICABLE(&sclk->hi)) { in sclk_div_set_duty_cycle()
144 int hi; in sclk_div_get_duty_cycle() local
146 if (!MESON_PARM_APPLICABLE(&sclk->hi)) { in sclk_div_get_duty_cycle()
152 hi = meson_parm_read(clk->map, &sclk->hi); in sclk_div_get_duty_cycle()
153 duty->num = hi + 1; in sclk_div_get_duty_cycle()
161 if (MESON_PARM_APPLICABLE(&sclk->hi)) in sclk_apply_divider()