Home
last modified time | relevance | path

Searched refs:lshift (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/kernel/trace/
Dtrace_probe_tmpl.h33 *(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()
Dtrace_probe.h119 unsigned char lshift; member
Dtrace_probe.c535 code->lshift = BYTES_TO_BITS(t->size) - (bw + bo); in __parse_bitfield_probe_arg()
/kernel/linux/linux-5.10/crypto/
Dmd4.c42 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))
/kernel/linux/linux-5.10/scripts/mod/
Dsumversion.c46 static inline uint32_t lshift(uint32_t x, unsigned int s) in lshift() function
67 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s))
68 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s))
69 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s))
/kernel/linux/linux-5.10/lib/mpi/
DMakefile9 generic_mpih-lshift.o \
/kernel/linux/linux-5.10/sound/ppc/
Dawacs.c137 int lshift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_get_volume() local
143 vol[0] = (chip->awacs_reg[reg] >> lshift) & 0xf; in snd_pmac_awacs_get_volume()
160 int lshift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_put_volume() local
178 val = oldval & ~(0xf | (0xf << lshift)); in snd_pmac_awacs_put_volume()
179 val |= vol[0] << lshift; in snd_pmac_awacs_put_volume()
/kernel/linux/linux-5.10/arch/ia64/lib/
Dcopy_user.S57 #define lshift r15 // left shift in bits macro
166 sub lshift=64,rshift
191 sub lshift=64,rshift
/kernel/linux/linux-5.10/sound/soc/codecs/
Dda7218.c453 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()
/kernel/linux/linux-5.10/sound/pci/ac97/
Dac97_codec.c867 #define AD18XX_PCM_BITS(xname, codec, lshift, rshift, mask) \ argument
870 .private_value = (codec) | ((lshift) << 8) | ((rshift) << 12) | ((mask) << 16) }
876 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_info_bits() local
880 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) in snd_ac97_ad18xx_pcm_info_bits()
893 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_get_bits() local
897 ucontrol->value.integer.value[0] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> lshift) & mask); in snd_ac97_ad18xx_pcm_get_bits()
898 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) in snd_ac97_ad18xx_pcm_get_bits()
907 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_put_bits() local
912 val = (mask - (ucontrol->value.integer.value[0] & mask)) << lshift; in snd_ac97_ad18xx_pcm_put_bits()
913 valmask = mask << lshift; in snd_ac97_ad18xx_pcm_put_bits()
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dstm32-dfsdm-adc.c279 flo->lshift = shift; in stm32_dfsdm_compute_osrs()
292 flo->lshift = 1; in stm32_dfsdm_compute_osrs()
301 flo->lshift); in stm32_dfsdm_compute_osrs()
845 *ptr <<= flo->lshift; in stm32_dfsdm_process_data()
Dstm32-dfsdm.h259 unsigned int lshift; member
/kernel/linux/linux-5.10/sound/pci/
Dcmipci.c1974 #define COMPOSE_SB_REG(lreg,rreg,lshift,rshift,mask,invert,stereo) \ argument
1975 …((lreg) | ((rreg) << 8) | (lshift << 16) | (rshift << 19) | (mask << 24) | (invert << 22) | (stere…
1986 #define CMIPCI_SB_SW_STEREO(xname,lshift,rshift) CMIPCI_DOUBLE(xname, SB_DSP4_OUTPUT_SW, SB_DSP4_OU… argument
2143 #define CMIPCI_MIXER_SW_STEREO(xname, reg, lshift, rshift, invert) \ argument
2147 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, 1, invert, 1), \
2157 #define CMIPCI_MIXER_VOL_STEREO(xname, reg, lshift, rshift, mask) \ argument
2161 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, mask, 0, 1), \
/kernel/linux/linux-5.10/include/sound/
Dsoc-dapm.h282 #define SOC_DAPM_DOUBLE(xname, reg, lshift, rshift, max, invert) \ argument
286 .private_value = SOC_DOUBLE_VALUE(reg, lshift, rshift, max, invert, 0) }
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov2640.c31 #define VAL_SET(x, mask, rshift, lshift) \ argument
32 ((((x) >> rshift) & mask) << lshift)
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree.c2309 XFS_BTREE_STATS_INC(cur, lshift); in xfs_btree_lshift()