Searched refs:mshift (Results 1 – 9 of 9) sorted by relevance
/drivers/clk/ |
D | clk-fractional-divider.c | 42 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/ |
D | clk-sun9i-core.c | 75 .mshift = 18, 138 .mshift = 0, 293 .mshift = 0,
|
D | clk-sunxi.c | 616 .mshift = 0, 627 .mshift = 0, 637 .mshift = 0, 665 .mshift = 0, 673 .mshift = 8,
|
D | clk-factors.c | 62 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()
|
D | clk-factors.h | 15 u8 mshift; member
|
D | clk-sun8i-mbus.c | 56 .mshift = 0,
|
D | clk-mod0.c | 66 .mshift = 0,
|
/drivers/staging/rdma/hfi1/ |
D | pio_copy.c | 185 #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/ |
D | clk.c | 144 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()
|