Lines Matching defs:lshift
877 #define AD18XX_PCM_BITS(xname, codec, lshift, rshift, mask) \
880 .private_value = (codec) | ((lshift) << 8) | ((rshift) << 12) | ((mask) << 16) }
886 int lshift = (kcontrol->private_value >> 8) & 0x0f;
890 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES))
903 int lshift = (kcontrol->private_value >> 8) & 0x0f;
907 ucontrol->value.integer.value[0] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> lshift) & mask);
908 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES))
917 int lshift = (kcontrol->private_value >> 8) & 0x0f;
922 val = (mask - (ucontrol->value.integer.value[0] & mask)) << lshift;
923 valmask = mask << lshift;
924 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) {