Searched refs:div_shift (Results 1 – 7 of 7) sorted by relevance
/external/u-boot/drivers/clk/mvebu/ |
D | armada-37xx-periph.c | 77 int div_shift[2]; member 115 .div_shift[0] = _s0, \ 116 .div_shift[1] = _s1, \ 131 .div_shift[0] = _s, \ 145 .div_shift[0] = _s, \ 165 .div_shift[0] = _s, \ 179 .div_shift[0] = _s0, \ 180 .div_shift[1] = _s1, \ 280 reg = (reg >> clk->div_shift[idx]) & clk->div_mask[idx]; in get_div() 296 reg &= ~(clk->div_mask[idx] << clk->div_shift[idx]); in set_div_val() [all …]
|
/external/mesa3d/src/util/ |
D | fast_idiv_by_const.c | 56 unsigned div_shift = util_logbase2_64(D); in util_compute_fast_udiv_info() local 58 if (div_shift) { in util_compute_fast_udiv_info() 60 result.multiplier = 1ull << (UINT_BITS - div_shift); in util_compute_fast_udiv_info()
|
/external/u-boot/drivers/clk/imx/ |
D | clk-pllv3.c | 22 u32 div_shift; member 32 u32 div = (readl(pll->base) >> pll->div_shift) & pll->div_mask; in clk_pllv3_get_rate()
|
/external/u-boot/drivers/clk/rockchip/ |
D | clk_rk3368.c | 360 uint8_t div_shift; member 368 [0] = { .reg = 45, .div_shift = 0, .sel_shift = 7, }, 369 [1] = { .reg = 45, .div_shift = 8, .sel_shift = 15, }, 370 [2] = { .reg = 46, .div_shift = 8, .sel_shift = 15, }, 394 div = extract_bits(val, 7, spiclk->div_shift); in rk3368_spi_get_clk() 419 ((0x7f << spiclk->div_shift) | in rk3368_spi_set_clk() 421 ((src_clk_div << spiclk->div_shift) | in rk3368_spi_set_clk()
|
D | clk_rk3399.c | 594 u8 div_shift; member 606 .div_shift = CLK_SPI0_PLL_DIV_CON_SHIFT, 609 .div_shift = CLK_SPI1_PLL_DIV_CON_SHIFT, 612 .div_shift = CLK_SPI2_PLL_DIV_CON_SHIFT, 615 .div_shift = CLK_SPI4_PLL_DIV_CON_SHIFT, 618 .div_shift = CLK_SPI5_PLL_DIV_CON_SHIFT, 638 div = bitfield_extract(val, spiclk->div_shift, in rk3399_spi_get_clk() 663 ((CLK_SPI_PLL_DIV_CON_MASK << spiclk->div_shift) | in rk3399_spi_set_clk() 665 ((src_clk_div << spiclk->div_shift) | in rk3399_spi_set_clk()
|
/external/libaom/libaom/av1/common/ppc/ |
D | cfl_ppc.c | 42 const uint32x4_t div_shift = vec_splats((uint32_t)num_pel_log2); in subtract_average_vsx() local 73 const int32x4_t avg = vec_sr(sum_32x4, div_shift); in subtract_average_vsx()
|
/external/u-boot/drivers/clk/ |
D | clk_sandbox_ccf.c | 25 u32 div_shift; member
|