Home
last modified time | relevance | path

Searched refs:nwidth (Results 1 – 4 of 4) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/ccmu/sunxi/
A Dclk_periph.c393 if (divider->nwidth) in sunxi_clk_periph_recalc_rate()
395 div_n = GET_BITS(divider->nshift, divider->nwidth, reg); in sunxi_clk_periph_recalc_rate()
435 if (divider->nwidth) in sunxi_clk_periph_round_rate()
437 div_n = 1 << divider->nwidth; in sunxi_clk_periph_round_rate()
446 while (i < (1 << divider->nwidth)) in sunxi_clk_periph_round_rate()
471 factor_n = (1 << divider->nwidth) - 1; in sunxi_clk_periph_round_rate()
505 div_n = (1 << divider->nwidth) - 1; in sunxi_clk_periph_set_rate()
513 while (i < (1 << divider->nwidth)) in sunxi_clk_periph_set_rate()
536 factor_n = (1 << divider->nwidth) - 1; in sunxi_clk_periph_set_rate()
552 if (divider->nwidth) in sunxi_clk_periph_set_rate()
[all …]
A Dclk_factors.c302 if (config->nwidth) in sunxi_clk_factors_recalc_rate()
304 factor_val.factorn = GET_BITS(config->nshift, config->nwidth, reg); in sunxi_clk_factors_recalc_rate()
419 if (config->nwidth) in sunxi_clk_factors_set_rate()
421 reg = SET_BITS(config->nshift, config->nwidth, reg, factor_val.factorn); in sunxi_clk_factors_set_rate()
518 factor->factorn = (table[index].factor >> f_config->nshift) & ((1 << (f_config->nwidth)) - 1); in sunxi_clk_get_common_factors()
601 factor->factorn = (table[i].factor >> f_config->nshift) & ((1 << (f_config->nwidth)) - 1); in sunxi_clk_com_ftr_sr()
A Dclk_periph.h54 … .nwidth = _div_nwidth, \
145 u8 nwidth; member
A Dclk_factors.h72 .nwidth = _nwidth, \
196 u8 nwidth; member

Completed in 9 milliseconds