/linux/drivers/clk/ |
H A D | clk-loongson2.c | 39 u8 div_shift; member 52 u8 div_shift; member 66 .div_shift = _dshift, \ 80 .div_shift = _dshift, \ 92 .div_shift = _dshift, \ 219 div = loongson2_rate_part(val, clk->div_shift, clk->div_width); in loongson2_pll_recalc_rate() 235 mult = loongson2_rate_part(val, clk->div_shift, clk->div_width) + 1; in loongson2_freqscale_recalc_rate() 268 clk->div_shift = cld->div_shift; in loongson2_clk_register() 325 p->div_shift, p->div_width, in loongson2_clk_probe()
|
H A D | clk-en7523.c | 62 u8 div_shift; member 108 .div_shift = 0, 122 .div_shift = 0, 136 .div_shift = 0, 151 .div_shift = 24, 163 .div_shift = 8, 177 .div_shift = 0, 283 val >>= desc->div_shift; in en7523_get_div()
|
H A D | clk-sp7021.c | 52 int div_shift; member 473 u32 fbdiv = ((reg >> clk->div_shift) & ((1 << clk->div_width) - 1)) + 1; in sp_pll_recalc_rate() 498 u32 mask = GENMASK(clk->div_shift + clk->div_width - 1, clk->div_shift); in sp_pll_set_rate() 501 reg |= ((fbdiv - 1) << clk->div_shift) & mask; in sp_pll_set_rate() 576 pll->div_shift = shift; in sp_pll_register()
|
H A D | clk-bm1880.c | 120 s8 div_shift; member 152 .div_shift = _div_shift, \ 168 .div_shift = -1, \ 803 if (clks->div_shift >= 0) { in bm1880_clk_register_composite() 812 div_hws->div.shift = clks->div_shift; in bm1880_clk_register_composite()
|
H A D | clk-k210.c | 35 u8 div_shift; member 55 .div_shift = (_shift), \ 760 div_val = (reg >> cfg->div_shift) & GENMASK(cfg->div_width - 1, 0); in k210_clk_get_rate()
|
/linux/drivers/clk/rockchip/ |
H A D | clk.h | 548 int div_shift, int div_width, 593 u8 div_shift; member 616 .div_shift = ds, \ 638 .div_shift = ds, \ 656 .div_shift = ds, \ 674 .div_shift = ds, \ 714 .div_shift = ds, \ 733 .div_shift = ds, \ 749 .div_shift = 16, \ 766 .div_shift = 16, \ [all …]
|
H A D | clk-ddr.c | 21 int div_shift; member 94 int div_shift, int div_width, in rockchip_clk_register_ddrclk() argument 129 ddrclk->div_shift = div_shift; in rockchip_clk_register_ddrclk()
|
H A D | clk.c | 43 int div_offset, u8 div_shift, u8 div_width, u8 div_flags, in rockchip_clk_register_branch() argument 97 div->shift = div_shift; in rockchip_clk_register_branch() 493 list->div_shift, list->div_width, in rockchip_clk_register_branches() 500 list->div_shift, list->div_width, in rockchip_clk_register_branches() 517 list->mux_flags, list->div_shift, in rockchip_clk_register_branches() 537 list->div_shift, list->div_width, in rockchip_clk_register_branches() 547 list->div_shift in rockchip_clk_register_branches() 555 list->div_shift, list->div_flags, &ctx->lock); in rockchip_clk_register_branches() 561 list->div_shift, list->div_width, in rockchip_clk_register_branches() 570 list->mux_width, list->div_shift, in rockchip_clk_register_branches()
|
H A D | clk-half-divider.c | 163 u8 div_shift, u8 div_width, in rockchip_clk_register_halfdiv() argument 209 div->shift = div_shift; in rockchip_clk_register_halfdiv()
|
/linux/sound/soc/fsl/ |
H A D | fsl_mqs.c | 61 int div_shift; member 101 (div - 1) << mqs_priv->soc->div_shift); in fsl_mqs_hw_params() 317 .div_shift = MQS_CLK_DIV_SHIFT, 330 .div_shift = IMX6SX_GPR2_MQS_CLK_DIV_SHIFT, 343 .div_shift = 8, 356 .div_shift = 8, 369 .div_shift = 9,
|
/linux/drivers/clk/x86/ |
H A D | clk-cgu.h | 182 u8 div_shift; member 232 .div_shift = _shift, \ 272 .div_shift = _shift, \ 292 .div_shift = _shift, \
|
H A D | clk-cgu.c | 30 lgm_set_clk_val(ctx->membase, list->div_off, list->div_shift, in lgm_clk_register_fixed() 199 u8 shift = list->div_shift; in lgm_clk_register_divider() 251 lgm_set_clk_val(ctx->membase, list->div_off, list->div_shift, in lgm_clk_register_fixed_factor()
|
/linux/drivers/clk/imx/ |
H A D | clk-pllv3.c | 53 u32 div_shift; member 115 u32 div = (readl_relaxed(pll->base) >> pll->div_shift) & pll->div_mask; in clk_pllv3_recalc_rate() 143 val &= ~(pll->div_mask << pll->div_shift); in clk_pllv3_set_rate() 144 val |= (div << pll->div_shift); in clk_pllv3_set_rate() 439 pll->div_shift = 1; in imx_clk_hw_pllv3()
|
/linux/drivers/clk/mediatek/ |
H A D | clk-mtk.h | 190 unsigned char div_shift; member 201 .div_shift = _shift, \
|
H A D | clk-mt8167-apmixedsys.c | 82 .div_shift = _shift, \
|
H A D | clk-mt8516.c | 474 .div_shift = _shift, \
|
H A D | clk-mt8167.c | 663 .div_shift = _shift, \
|
H A D | clk-mt8365.c | 547 .div_shift = _shift, \
|
/linux/drivers/clk/at91/ |
H A D | clk-sam9x60-pll.c | 351 (div << core->layout->div_shift) | ena_val); in sam9x60_div_pll_set_div() 372 cdiv = (val & core->layout->div_mask) >> core->layout->div_shift; in sam9x60_div_pll_set() 524 cdiv = (val & core->layout->div_mask) >> core->layout->div_shift; in sam9x60_div_pll_set_rate_chg() 580 cdiv = (val & core.layout->div_mask) >> core.layout->div_shift; in sam9x60_div_pll_notifier_fn()
|
H A D | sam9x7.c | 162 .div_shift = 0, 170 .div_shift = 0, 179 .div_shift = 12,
|
H A D | pmc.h | 65 u8 div_shift; member
|
H A D | sam9x60.c | 63 .div_shift = 0,
|
H A D | sama7g5.c | 79 .div_shift = 0, 87 .div_shift = 12,
|
/linux/drivers/mfd/ |
H A D | db8500-prcmu.c | 523 u32 div_shift; member 530 .div_shift = PRCM_DSITVCLK_DIV_DSI0_ESC_CLK_DIV_SHIFT, 535 .div_shift = PRCM_DSITVCLK_DIV_DSI1_ESC_CLK_DIV_SHIFT, 540 .div_shift = PRCM_DSITVCLK_DIV_DSI2_ESC_CLK_DIV_SHIFT, 1534 div = ((div & dsiescclk[n].div_mask) >> (dsiescclk[n].div_shift)); in dsiescclk_rate() 1899 val |= (min(div, (u32)255) << dsiescclk[n].div_shift); in set_dsiescclk_rate()
|
/linux/drivers/clk/tegra/ |
H A D | clk-tegra-periph.c | 832 u8 div_shift; member 843 .div_shift = _div_shift,\ 967 data->div_shift, 8, 1, data->lock); in init_pllp()
|