Home
last modified time | relevance | path

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

/drivers/clk/
Dclk-fractional-divider.c42 m = (val & fd->mmask) >> fd->mshift; in clk_fd_recalc_rate()
103 val |= (m << fd->mshift) | (n << fd->nshift); in clk_fd_set_rate()
123 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_register_fractional_divider() argument
141 fd->mshift = mshift; in clk_register_fractional_divider()
143 fd->mmask = GENMASK(mwidth - 1, 0) << mshift; in clk_register_fractional_divider()
/drivers/clk/sunxi/
Dclk-sun9i-core.c75 .mshift = 18,
138 .mshift = 0,
293 .mshift = 0,
Dclk-sunxi.c616 .mshift = 0,
627 .mshift = 0,
637 .mshift = 0,
665 .mshift = 0,
673 .mshift = 8,
Dclk-factors.c62 m = FACTOR_GET(config->mshift, config->mwidth, reg); in clk_factors_recalc_rate()
140 reg = FACTOR_SET(config->mshift, config->mwidth, reg, m); in clk_factors_set_rate()
Dclk-factors.h15 u8 mshift; member
Dclk-sun8i-mbus.c56 .mshift = 0,
Dclk-mod0.c66 .mshift = 0,
/drivers/staging/rdma/hfi1/
Dpio_copy.c185 #define mshift(x) (8 * (x)) macro
244 >> mshift(off)) in read_extra_bytes()
295 temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); in merge_write8()
/drivers/clk/rockchip/
Dclk.c144 div->mshift = 16; in rockchip_clk_register_frac_branch()
146 div->mmask = GENMASK(div->mwidth - 1, 0) << div->mshift; in rockchip_clk_register_frac_branch()