Searched refs:lshift (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/lib/mpi/
H A DMakefile8 generic_mpih-lshift.o \
H A Dgeneric_mpih-lshift.c1 /* mpihelp-lshift.c - MPI helper functions
/linux-4.4.14/crypto/
H A Dmd4.c42 static inline u32 lshift(u32 x, unsigned int s) 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-4.4.14/scripts/mod/
H A Dsumversion.c46 static inline uint32_t lshift(uint32_t x, unsigned int s) 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))
/linux-4.4.14/arch/ia64/lib/
H A Dcopy_user.S53 #define t2 r3 // lshift in bytes
55 #define lshift r15 // left shift in bits define
164 sub lshift=64,rshift
189 sub lshift=64,rshift
/linux-4.4.14/sound/ppc/
H A Dawacs.c150 int lshift = (kcontrol->private_value >> 8) & 0xff; snd_pmac_awacs_get_volume() local
156 vol[0] = (chip->awacs_reg[reg] >> lshift) & 0xf; snd_pmac_awacs_get_volume()
173 int lshift = (kcontrol->private_value >> 8) & 0xff; snd_pmac_awacs_put_volume() local
191 val = oldval & ~(0xf | (0xf << lshift)); snd_pmac_awacs_put_volume()
192 val |= vol[0] << lshift; snd_pmac_awacs_put_volume()
/linux-4.4.14/sound/pci/ac97/
H A Dac97_codec.c887 #define AD18XX_PCM_BITS(xname, codec, lshift, rshift, mask) \
890 .private_value = (codec) | ((lshift) << 8) | ((rshift) << 12) | ((mask) << 16) }
896 int lshift = (kcontrol->private_value >> 8) & 0x0f; snd_ac97_ad18xx_pcm_info_bits() local
900 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) snd_ac97_ad18xx_pcm_info_bits()
913 int lshift = (kcontrol->private_value >> 8) & 0x0f; snd_ac97_ad18xx_pcm_get_bits() local
917 ucontrol->value.integer.value[0] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> lshift) & mask); snd_ac97_ad18xx_pcm_get_bits()
918 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) snd_ac97_ad18xx_pcm_get_bits()
927 int lshift = (kcontrol->private_value >> 8) & 0x0f; snd_ac97_ad18xx_pcm_put_bits() local
932 val = (mask - (ucontrol->value.integer.value[0] & mask)) << lshift; snd_ac97_ad18xx_pcm_put_bits()
933 valmask = mask << lshift; snd_ac97_ad18xx_pcm_put_bits()
934 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) { snd_ac97_ad18xx_pcm_put_bits()
/linux-4.4.14/sound/pci/
H A Dcmipci.c2009 #define COMPOSE_SB_REG(lreg,rreg,lshift,rshift,mask,invert,stereo) \
2010 ((lreg) | ((rreg) << 8) | (lshift << 16) | (rshift << 19) | (mask << 24) | (invert << 22) | (stereo << 23))
2021 #define CMIPCI_SB_SW_STEREO(xname,lshift,rshift) CMIPCI_DOUBLE(xname, SB_DSP4_OUTPUT_SW, SB_DSP4_OUTPUT_SW, lshift, rshift, 1, 0, 1)
2178 #define CMIPCI_MIXER_SW_STEREO(xname, reg, lshift, rshift, invert) \
2182 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, 1, invert, 1), \
2192 #define CMIPCI_MIXER_VOL_STEREO(xname, reg, lshift, rshift, mask) \
2196 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, mask, 0, 1), \
/linux-4.4.14/drivers/media/i2c/soc_camera/
H A Dov2640.c33 #define VAL_SET(x, mask, rshift, lshift) \
34 ((((x) >> rshift) & mask) << lshift)
/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_btree.c2047 XFS_BTREE_STATS_INC(cur, lshift); xfs_btree_lshift()

Completed in 353 milliseconds