Searched refs:div_f_width (Results 1 – 2 of 2) sorted by relevance
67 uint32_t div_f_width; member402 .div_f_width = fiw, \529 uint32_t div_f_width; member632 *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()
62 uint32_t div_f_width; member511 .div_f_width = fiw, \642 uint32_t div_f_width; member746 *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()