/linux/drivers/clk/ |
H A D | clk-fractional-divider.c | 90 nmask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in clk_fd_get_div() 93 n = (val & nmask) >> fd->nshift; in clk_fd_get_div() 199 nmask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in clk_fd_set_rate() 208 val |= (m << fd->mshift) | (n << fd->nshift); in clk_fd_set_rate() 263 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_hw_register_fractional_divider() argument 284 fd->nshift = nshift; in clk_hw_register_fractional_divider() 303 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, in clk_register_fractional_divider() argument 309 reg, mshift, mwidth, nshift, nwidth, clk_divider_flags, in clk_register_fractional_divider()
|
H A D | clk-stm32h7.c | 672 u8 nshift; member 756 mask = GENMASK(fd->nwidth - 1, 0) << fd->nshift; in pll_fd_recalc_rate() 757 n = ((val & mask) >> fd->nshift) + 1; in pll_fd_recalc_rate() 820 div->nshift = 0; in clk_register_stm32_pll()
|
/linux/drivers/net/ethernet/tehuti/ |
H 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/drivers/clk/sunxi/ |
H A D | clk-sunxi.c | 416 .nshift = 8, 427 .nshift = 8, 437 .nshift = 8, 449 .nshift = 8, 456 .nshift = 8,
|
H A D | clk-factors.h | 11 u8 nshift; member
|
H 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()
|
H A D | clk-sun9i-core.c | 62 .nshift = 8,
|
/linux/drivers/clk/imx/ |
H A D | clk-composite-7ulp.c | 103 fd->nshift = PCG_PCD_SHIFT; in imx_ulp_clk_hw_composite()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_hwmon.c | 99 u32 field_msk, int nshift, u32 scale_factor) in hwm_field_read_and_scale() 110 return mul_u64_u32_shr(reg_value, scale_factor, nshift); 91 hwm_field_read_and_scale(struct hwm_drvdata * ddat,i915_reg_t rgadr,u32 field_msk,int nshift,u32 scale_factor) hwm_field_read_and_scale() argument
|
/linux/include/linux/ |
H A D | clk-provider.h | 1182 u8 nshift; member 1199 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth, 1203 void __iomem *reg, u8 mshift, u8 mwidth, u8 nshift, u8 nwidth,
|
/linux/drivers/clk/rockchip/ |
H A D | clk.c | 247 div->nshift = 0; in rockchip_clk_register_frac_branch()
|
/linux/sound/soc/codecs/ |
H A D | wcd939x.c | 165 u16 nshift; member 2042 .nshift = 6, 2124 WCD939X_ZDET_RAMP_CTL_TIME_CTL, zdet_param->nshift); in wcd939x_mbhc_zdet_ramp()
|
H A D | wcd937x.c | 125 u16 nshift; member 1606 0x0F, zdet_param->nshift); in wcd937x_mbhc_zdet_ramp()
|
H A D | wcd938x.c | 200 u16 nshift; 2161 0x0F, zdet_param->nshift); in wcd938x_mbhc_zdet_ramp() 218 u16 nshift; global() member
|
H A D | wcd934x.c | 501 u16 nshift; member 2713 0x0F, zdet_param->nshift); in wcd934x_mbhc_zdet_ramp()
|