Searched refs:mshift (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/clk/ |
D | clk-fractional-divider.c | 87 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()
|
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()
|
/linux-6.1.9/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,
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | pio_copy.c | 143 #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/ |
D | clk-composite-7ulp.c | 103 fd->mshift = PCG_FRAC_SHIFT; in imx_ulp_clk_hw_composite()
|
/linux-6.1.9/drivers/clk/rockchip/ |
D | clk.c | 240 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/ |
D | clk-provider.h | 1134 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,
|