Home
last modified time | relevance | path

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

/f-stack/freebsd/arm/nvidia/tegra124/
H A Dtegra124_clk_per.c67 uint32_t div_f_width; member
402 .div_f_width = fiw, \
529 uint32_t div_f_width; member
632 *freq = (*freq << sc->div_f_width) / sc->divider; in periph_recalc()
650 tmp = fin << sc->div_f_width; in periph_set_freq()
655 if (divider < (1 << sc->div_f_width)) in periph_set_freq()
656 divider = 1 << (sc->div_f_width - 1); in periph_set_freq()
665 (divider - (1 << sc->div_f_width))); in periph_set_freq()
689 sc->div_f_width = clkdef->div_f_width; in periph_register()
690 sc->div_f_mask = (1 <<clkdef->div_f_width) - 1; in periph_register()
/f-stack/freebsd/arm64/nvidia/tegra210/
H A Dtegra210_clk_per.c62 uint32_t div_f_width; member
511 .div_f_width = fiw, \
642 uint32_t div_f_width; member
746 *freq = (*freq << sc->div_f_width) / sc->divider; in periph_recalc()
764 tmp = fin << sc->div_f_width; in periph_set_freq()
769 if (divider < (1 << sc->div_f_width)) in periph_set_freq()
770 divider = 1 << (sc->div_f_width - 1); in periph_set_freq()
779 (divider - (1 << sc->div_f_width))); in periph_set_freq()
803 sc->div_f_width = clkdef->div_f_width; in periph_register()
804 sc->div_f_mask = (1 <<clkdef->div_f_width) - 1; in periph_register()