Home
last modified time | relevance | path

Searched refs:mshift (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/clk/
Dclk-fractional-divider.c87 m = (val & fd->mmask) >> fd->mshift; in clk_fd_recalc_rate()
175 val |= (m << fd->mshift) | (n << fd->nshift); in clk_fd_set_rate()
195 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_hw_register_fractional_divider() argument
214 fd->mshift = mshift; in clk_hw_register_fractional_divider()
216 fd->mmask = GENMASK(mwidth - 1, 0) << mshift; in clk_hw_register_fractional_divider()
237 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_register_fractional_divider() argument
243 reg, mshift, mwidth, nshift, nwidth, clk_divider_flags, in clk_register_fractional_divider()
Dclk-stm32h7.c668 u8 mshift; member
753 mask = GENMASK(fd->mwidth - 1, 0) << fd->mshift; in pll_fd_recalc_rate()
754 m = (val & mask) >> fd->mshift; in pll_fd_recalc_rate()
818 div->mshift = cfg->divm; in clk_register_stm32_pll()
/linux-6.1.9/drivers/clk/sunxi/
Dclk-sun9i-core.c60 .mshift = 18,
117 .mshift = 0,
253 .mshift = 0,
Dclk-sunxi.c420 .mshift = 0,
431 .mshift = 0,
441 .mshift = 0,
469 .mshift = 6,
476 .mshift = 0,
484 .mshift = 8,
1150 .mshift = 0,
Dclk-factors.h15 u8 mshift; member
Dclk-sun6i-ar100.c57 .mshift = 8,
Dclk-factors.c58 m = FACTOR_GET(config->mshift, config->mwidth, reg); in clk_factors_recalc_rate()
155 reg = FACTOR_SET(config->mshift, config->mwidth, reg, req.m); in clk_factors_set_rate()
Dclk-mod0.c52 .mshift = 0,
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dpio_copy.c143 #define mshift(x) (8 * (x)) macro
223 temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); in merge_write8()
/linux-6.1.9/drivers/clk/imx/
Dclk-composite-7ulp.c103 fd->mshift = PCG_FRAC_SHIFT; in imx_ulp_clk_hw_composite()
/linux-6.1.9/drivers/clk/rockchip/
Dclk.c240 div->mshift = 16; in rockchip_clk_register_frac_branch()
242 div->mmask = GENMASK(div->mwidth - 1, 0) << div->mshift; in rockchip_clk_register_frac_branch()
/linux-6.1.9/include/linux/
Dclk-provider.h1134 u8 mshift; member
1155 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,
1159 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,