Searched refs:mshift (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/clk/ |
H A D | clk-fractional-divider.c | 89 mmask = GENMASK(fd->mwidth - 1, 0) << fd->mshift; in clk_fd_get_div() 92 m = (val & mmask) >> fd->mshift; in clk_fd_get_div() 190 mmask = GENMASK(fd->mwidth - 1, 0) << fd->mshift; in clk_fd_set_rate() 195 val |= (m << fd->mshift) | (n << fd->nshift); in clk_fd_set_rate() 250 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_hw_register_fractional_divider() argument 269 fd->mshift = mshift; in clk_hw_register_fractional_divider() 290 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_register_fractional_divider() argument 296 reg, mshift, mwidth, nshift, nwidth, clk_divider_flags, in clk_register_fractional_divider()
|
H A D | clk-stm32h7.c | 668 u8 mshift; member 752 mask = GENMASK(fd->mwidth - 1, 0) << fd->mshift; in pll_fd_recalc_rate() 753 m = (val & mask) >> fd->mshift; in pll_fd_recalc_rate() 817 div->mshift = cfg->divm; in clk_register_stm32_pll()
|
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-sun9i-core.c | 60 .mshift = 18, 117 .mshift = 0, 253 .mshift = 0,
|
H A 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,
|
H A D | clk-factors.h | 15 u8 mshift; member
|
H A D | clk-sun6i-ar100.c | 57 .mshift = 8,
|
H A 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()
|
H A D | clk-mod0.c | 52 .mshift = 0,
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | pio_copy.c | 143 #define mshift(x) (8 * (x)) macro 223 temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); in merge_write8()
|
/openbmc/linux/drivers/clk/imx/ |
H A D | clk-composite-7ulp.c | 108 fd->mshift = PCG_FRAC_SHIFT; in imx_ulp_clk_hw_composite()
|
/openbmc/linux/include/linux/ |
H A D | clk-provider.h | 1156 u8 mshift; member 1175 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, 1179 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,
|
/openbmc/linux/drivers/clk/rockchip/ |
H A D | clk.c | 245 div->mshift = 16; in rockchip_clk_register_frac_branch()
|