Home
last modified time | relevance | path

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

/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_clk_per.c64 uint32_t div_f_width; member
399 .div_f_width = fiw, \
526 uint32_t div_f_width; member
629 *freq = (*freq << sc->div_f_width) / sc->divider; in periph_recalc()
647 tmp = fin << sc->div_f_width; in periph_set_freq()
652 if (divider < (1 << sc->div_f_width)) in periph_set_freq()
653 divider = 1 << (sc->div_f_width - 1); in periph_set_freq()
662 (divider - (1 << sc->div_f_width))); in periph_set_freq()
686 sc->div_f_width = clkdef->div_f_width; in periph_register()
687 sc->div_f_mask = (1 <<clkdef->div_f_width) - 1; in periph_register()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dtegra210_clk_per.c59 uint32_t div_f_width; member
508 .div_f_width = fiw, \
639 uint32_t div_f_width; member
743 *freq = (*freq << sc->div_f_width) / sc->divider; in periph_recalc()
761 tmp = fin << sc->div_f_width; in periph_set_freq()
766 if (divider < (1 << sc->div_f_width)) in periph_set_freq()
767 divider = 1 << (sc->div_f_width - 1); in periph_set_freq()
776 (divider - (1 << sc->div_f_width))); in periph_set_freq()
800 sc->div_f_width = clkdef->div_f_width; in periph_register()
801 sc->div_f_mask = (1 <<clkdef->div_f_width) - 1; in periph_register()