Home
last modified time | relevance | path

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

/linux-2.6.39/crypto/
Dmd4.c41 static inline u32 lshift(u32 x, unsigned int s) in lshift() function
62 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s))
63 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s))
64 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s))
/linux-2.6.39/fs/cifs/
Dsmbdes.c163 lshift(char *d, int count, int n) in lshift() function
226 lshift(c, sc[i], 28); in dohash()
227 lshift(d, sc[i], 28); in dohash()
/linux-2.6.39/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))
/linux-2.6.39/arch/ia64/lib/
Dcopy_user.S55 #define lshift r15 // left shift in bits macro
164 sub lshift=64,rshift
189 sub lshift=64,rshift
/linux-2.6.39/sound/ppc/
Dawacs.c150 int lshift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_get_volume() local
156 vol[0] = (chip->awacs_reg[reg] >> lshift) & 0xf; in snd_pmac_awacs_get_volume()
173 int lshift = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_awacs_put_volume() local
191 val = oldval & ~(0xf | (0xf << lshift)); in snd_pmac_awacs_put_volume()
192 val |= vol[0] << lshift; in snd_pmac_awacs_put_volume()
/linux-2.6.39/sound/pci/ac97/
Dac97_codec.c885 #define AD18XX_PCM_BITS(xname, codec, lshift, rshift, mask) \ argument
888 .private_value = (codec) | ((lshift) << 8) | ((rshift) << 12) | ((mask) << 16) }
894 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_info_bits() local
898 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) in snd_ac97_ad18xx_pcm_info_bits()
911 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_get_bits() local
915 ucontrol->value.integer.value[0] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> lshift) & mask); in snd_ac97_ad18xx_pcm_get_bits()
916 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) in snd_ac97_ad18xx_pcm_get_bits()
925 int lshift = (kcontrol->private_value >> 8) & 0x0f; in snd_ac97_ad18xx_pcm_put_bits() local
930 val = (mask - (ucontrol->value.integer.value[0] & mask)) << lshift; in snd_ac97_ad18xx_pcm_put_bits()
931 valmask = mask << lshift; in snd_ac97_ad18xx_pcm_put_bits()
[all …]
/linux-2.6.39/sound/pci/
Dcmipci.c2003 #define COMPOSE_SB_REG(lreg,rreg,lshift,rshift,mask,invert,stereo) \ argument
2004 …((lreg) | ((rreg) << 8) | (lshift << 16) | (rshift << 19) | (mask << 24) | (invert << 22) | (stere…
2015 #define CMIPCI_SB_SW_STEREO(xname,lshift,rshift) CMIPCI_DOUBLE(xname, SB_DSP4_OUTPUT_SW, SB_DSP4_OU… argument
2172 #define CMIPCI_MIXER_SW_STEREO(xname, reg, lshift, rshift, invert) \ argument
2176 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, 1, invert, 1), \
2186 #define CMIPCI_MIXER_VOL_STEREO(xname, reg, lshift, rshift, mask) \ argument
2190 .private_value = COMPOSE_SB_REG(reg, reg, lshift, rshift, mask, 0, 1), \
/linux-2.6.39/drivers/media/video/
Dov2640.c27 #define VAL_SET(x, mask, rshift, lshift) \ argument
28 ((((x) >> rshift) & mask) << lshift)
/linux-2.6.39/fs/xfs/
Dxfs_btree.c1844 XFS_BTREE_STATS_INC(cur, lshift); in xfs_btree_lshift()