Searched refs:mshift (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-fractional-divider.c | 54 m = (val & fd->mmask) >> fd->mshift; in clk_fd_recalc_rate() 137 val |= (m << fd->mshift) | (n << fd->nshift); in clk_fd_set_rate() 157 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_hw_register_fractional_divider() argument 176 fd->mshift = mshift; in clk_hw_register_fractional_divider() 178 fd->mmask = GENMASK(mwidth - 1, 0) << mshift; in clk_hw_register_fractional_divider() 199 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_register_fractional_divider() argument 205 reg, mshift, mwidth, nshift, nwidth, clk_divider_flags, in clk_register_fractional_divider()
|
D | clk-stm32h7.c | 668 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()
|
/kernel/linux/linux-5.10/drivers/clk/sunxi/ |
D | clk-sun9i-core.c | 60 .mshift = 18, 117 .mshift = 0, 253 .mshift = 0,
|
D | clk-sunxi.c | 420 .mshift = 0, 431 .mshift = 0, 441 .mshift = 0, 469 .mshift = 6, 476 .mshift = 0, 484 .mshift = 8, 1150 .mshift = 0,
|
D | clk-factors.h | 15 u8 mshift; member
|
D | clk-sun6i-ar100.c | 57 .mshift = 8,
|
D | clk-factors.c | 58 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()
|
D | clk-mod0.c | 52 .mshift = 0,
|
/kernel/linux/linux-5.10/drivers/clk/imx/ |
D | clk-composite-7ulp.c | 55 fd->mshift = PCG_FRAC_SHIFT; in imx7ulp_clk_hw_composite()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | pio_copy.c | 184 #define mshift(x) (8 * (x)) macro 264 temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); in merge_write8()
|
/kernel/linux/linux-5.10/include/linux/ |
D | clk-provider.h | 943 u8 mshift; member 964 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, 968 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,
|
/kernel/linux/linux-5.10/drivers/clk/rockchip/ |
D | clk.c | 246 div->mshift = 16; in rockchip_clk_register_frac_branch() 248 div->mmask = GENMASK(div->mwidth - 1, 0) << div->mshift; in rockchip_clk_register_frac_branch()
|