/linux/arch/arm64/kernel/pi/ |
H A D | map_range.c | 34 int lshift = (3 - level) * (PAGE_SHIFT - 3); in map_range() local 35 u64 lmask = (PAGE_SIZE << lshift) - 1; in map_range() 41 tbl += (start >> (lshift + PAGE_SHIFT)) % PTRS_PER_PTE; in map_range()
|
/linux/kernel/trace/ |
H A D | trace_probe_tmpl.h | 33 *(u8 *)buf <<= code->lshift; in fetch_apply_bitfield() 37 *(u16 *)buf <<= code->lshift; in fetch_apply_bitfield() 41 *(u32 *)buf <<= code->lshift; in fetch_apply_bitfield() 45 *(u64 *)buf <<= code->lshift; in fetch_apply_bitfield()
|
H A D | trace_probe.h | 127 unsigned char lshift; member
|
H A D | trace_probe.c | 727 code->lshift = 64 - (ctx->last_bitsize + ctx->last_bitoffs); in parse_btf_bitfield() 1216 code->lshift = BYTES_TO_BITS(t->size) - (bw + bo); in __parse_bitfield_probe_arg()
|
/linux/fs/smb/common/ |
H A D | cifs_md4.c | 30 static inline u32 lshift(u32 x, unsigned int s) in lshift() function 51 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) 52 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) 53 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s))
|
/linux/crypto/ |
H A D | md4.c | 42 static inline u32 lshift(u32 x, unsigned int s) in lshift() function 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) 64 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) 65 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s))
|
/linux/scripts/mod/ |
H A D | sumversion.c | 48 static inline uint32_t lshift(uint32_t x, unsigned int s) in lshift() function 69 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) 70 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s)) 71 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s))
|
/linux/lib/crypto/mpi/ |
H A D | Makefile | 9 generic_mpih-lshift.o \
|
/linux/sound/ppc/ |
H A D | awacs.c | 138 int lshift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_get_volume() local 144 vol[0] = (chip->awacs_reg[reg] >> lshift) & 0xf; in snd_pmac_awacs_get_volume() 161 int lshift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_put_volume() local 179 val = oldval & ~(0xf | (0xf << lshift)); in snd_pmac_awacs_put_volume() 180 val |= vol[0] << lshift; in snd_pmac_awacs_put_volume()
|
/linux/drivers/iio/adc/ |
H A D | stm32-dfsdm-adc.c | 282 flo->lshift = shift; in stm32_dfsdm_compute_osrs() 295 flo->lshift = 1; in stm32_dfsdm_compute_osrs() 304 flo->lshift); in stm32_dfsdm_compute_osrs() 913 *ptr <<= flo->lshift; in stm32_dfsdm_process_data() 1314 u32 max = flo->max << (flo->lshift - chan->scan_type.shift); in stm32_dfsdm_read_raw() 1318 if (flo->lshift < chan->scan_type.shift) in stm32_dfsdm_read_raw() 1319 max = flo->max >> (chan->scan_type.shift - flo->lshift); in stm32_dfsdm_read_raw()
|
H A D | stm32-dfsdm.h | 281 unsigned int lshift; member
|
/linux/tools/lib/bpf/ |
H A D | bpf_core_read.h | 124 unsigned int lshift = __CORE_RELO(s, field, LSHIFT_U64); \ 127 unsigned int rpad = rshift - lshift; \ 138 mask = (~0ULL << rshift) >> lshift; \
|
/linux/sound/soc/codecs/ |
H A D | da7218.c | 453 unsigned int lshift = mc->shift; in da7218_alc_sw_put() local 455 unsigned int mask = (mc->max << lshift) | (mc->max << rshift); in da7218_alc_sw_put() 463 da7218->alc_en |= (lvalue << lshift) | (rvalue << rshift); in da7218_alc_sw_put() 522 unsigned int lshift = mixer_ctrl->shift; in da7218_mic_lvl_det_sw_put() local 524 unsigned int mask = (mixer_ctrl->max << lshift) | in da7218_mic_lvl_det_sw_put() 527 da7218->mic_lvl_det_en |= (lvalue << lshift) | (rvalue << rshift); in da7218_mic_lvl_det_sw_put() 547 unsigned int lshift = mixer_ctrl->shift; in da7218_mic_lvl_det_sw_get() local 549 unsigned int lmask = (mixer_ctrl->max << lshift); in da7218_mic_lvl_det_sw_get() 553 (da7218->mic_lvl_det_en & lmask) >> lshift; in da7218_mic_lvl_det_sw_get()
|
/linux/sound/pci/ac97/ |
H A D | ac97_codec.c | 866 #define AD18XX_PCM_BITS(xname, codec, lshift, rshift, mask) \ argument 869 .private_value = (codec) | ((lshift) << 8) | ((rshift) << 12) | ((mask) << 16) } 875 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_info_bits() local 879 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) in snd_ac97_ad18xx_pcm_info_bits() 892 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_get_bits() local 896 ucontrol->value.integer.value[0] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> lshift) & mask); in snd_ac97_ad18xx_pcm_get_bits() 897 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) in snd_ac97_ad18xx_pcm_get_bits() 906 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_put_bits() local 911 val = (mask - (ucontrol->value.integer.value[0] & mask)) << lshift; in snd_ac97_ad18xx_pcm_put_bits() 912 valmask = mask << lshift; in snd_ac97_ad18xx_pcm_put_bits() [all …]
|
/linux/sound/pci/ |
H A D | cmipci.c | 1966 #define COMPOSE_SB_REG(lreg,rreg,lshift,rshift,mask,invert,stereo) \ argument 1967 …((lreg) | ((rreg) << 8) | (lshift << 16) | (rshift << 19) | (mask << 24) | (invert << 22) | (stere… 1978 #define CMIPCI_SB_SW_STEREO(xname,lshift,rshift) CMIPCI_DOUBLE(xname, SB_DSP4_OUTPUT_SW, SB_DSP4_OU… argument 2135 #define CMIPCI_MIXER_SW_STEREO(xname, reg, lshift, rshift, invert) \ argument 2139 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, 1, invert, 1), \ 2149 #define CMIPCI_MIXER_VOL_STEREO(xname, reg, lshift, rshift, mask) \ argument 2153 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, mask, 0, 1), \
|
/linux/include/sound/ |
H A D | soc-dapm.h | 328 #define SOC_DAPM_DOUBLE(xname, reg, lshift, rshift, max, invert) \ argument 332 .private_value = SOC_DOUBLE_VALUE(reg, lshift, rshift, max, invert, 0) }
|
/linux/drivers/media/i2c/ |
H A D | ov2640.c | 29 #define VAL_SET(x, mask, rshift, lshift) \ argument 30 ((((x) >> rshift) & mask) << lshift)
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_btree.c | 2480 XFS_BTREE_STATS_INC(cur, lshift); in xfs_btree_lshift()
|