/linux-6.3-rc2/drivers/clk/ |
A D | clk-fractional-divider.c | 89 n = (val & fd->nmask) >> fd->nshift; in clk_fd_get_div() 187 val |= (m << fd->mshift) | (n << fd->nshift); in clk_fd_set_rate() 242 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_hw_register_fractional_divider() argument 264 fd->nshift = nshift; in clk_hw_register_fractional_divider() 266 fd->nmask = GENMASK(nwidth - 1, 0) << nshift; in clk_hw_register_fractional_divider() 284 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_register_fractional_divider() argument 290 reg, mshift, mwidth, nshift, nwidth, clk_divider_flags, in clk_register_fractional_divider()
|
A D | clk-stm32h7.c | 673 u8 nshift; member 757 mask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in pll_fd_recalc_rate() 758 n = ((val & mask) >> fd->nshift) + 1; in pll_fd_recalc_rate() 821 div->nshift = 0; in clk_register_stm32_pll()
|
/linux-6.3-rc2/drivers/net/ethernet/tehuti/ |
A D | tehuti.h | 128 #define GET_BITS_SHIFT(x, nbits, nshift) (((x)>>nshift)&BITS_MASK(nbits)) argument 129 #define BITS_SHIFT_MASK(nbits, nshift) (BITS_MASK(nbits)<<nshift) argument 130 #define BITS_SHIFT_VAL(x, nbits, nshift) (((x)&BITS_MASK(nbits))<<nshift) argument 131 #define BITS_SHIFT_CLEAR(x, nbits, nshift) \ argument 132 ((x)&(~BITS_SHIFT_MASK(nbits, nshift)))
|
/linux-6.3-rc2/drivers/clk/sunxi/ |
A D | clk-sunxi.c | 416 .nshift = 8, 427 .nshift = 8, 437 .nshift = 8, 449 .nshift = 8, 456 .nshift = 8,
|
A D | clk-factors.h | 11 u8 nshift; member
|
A D | clk-factors.c | 54 n = FACTOR_GET(config->nshift, config->nwidth, reg); in clk_factors_recalc_rate() 153 reg = FACTOR_SET(config->nshift, config->nwidth, reg, req.n); in clk_factors_set_rate()
|
A D | clk-sun9i-core.c | 62 .nshift = 8,
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_hwmon.c | 88 u32 field_msk, int nshift, u32 scale_factor) in hwm_field_read_and_scale() argument 99 return mul_u64_u32_shr(reg_value, scale_factor, nshift); in hwm_field_read_and_scale() 104 int nshift, unsigned int scale_factor, long lval) in hwm_field_scale_and_write() argument 109 nval = DIV_ROUND_CLOSEST_ULL((u64)lval << nshift, scale_factor); in hwm_field_scale_and_write()
|
/linux-6.3-rc2/drivers/clk/imx/ |
A D | clk-composite-7ulp.c | 106 fd->nshift = PCG_PCD_SHIFT; in imx_ulp_clk_hw_composite()
|
/linux-6.3-rc2/drivers/clk/rockchip/ |
A D | clk.c | 248 div->nshift = 0; in rockchip_clk_register_frac_branch() 250 div->nmask = GENMASK(div->nwidth - 1, 0) << div->nshift; in rockchip_clk_register_frac_branch()
|
/linux-6.3-rc2/include/linux/ |
A D | clk-provider.h | 1139 u8 nshift; member 1157 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, 1161 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,
|
/linux-6.3-rc2/sound/soc/codecs/ |
A D | wcd938x.c | 219 u16 nshift; member 3199 0x0F, zdet_param->nshift); in wcd938x_mbhc_zdet_ramp()
|
A D | wcd934x.c | 506 u16 nshift; member 2721 0x0F, zdet_param->nshift); in wcd934x_mbhc_zdet_ramp()
|