Lines Matching defs:rshift
531 int rshift = (kcontrol->private_value >> 12) & 0x0f;
534 uinfo->count = shift == rshift ? 1 : 2;
546 int rshift = (kcontrol->private_value >> 12) & 0x0f;
553 if (shift != rshift)
554 ucontrol->value.integer.value[1] = (snd_ac97_read_cache(ac97, reg) >> rshift) & mask;
557 if (shift != rshift)
570 int rshift = (kcontrol->private_value >> 12) & 0x0f;
582 if (shift != rshift) {
586 val_mask |= mask << rshift;
587 val |= val2 << rshift;
877 #define AD18XX_PCM_BITS(xname, codec, lshift, rshift, mask) \
880 .private_value = (codec) | ((lshift) << 8) | ((rshift) << 12) | ((mask) << 16) }
887 int rshift = (kcontrol->private_value >> 12) & 0x0f;
890 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES))
904 int rshift = (kcontrol->private_value >> 12) & 0x0f;
908 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES))
909 ucontrol->value.integer.value[1] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> rshift) & mask);
918 int rshift = (kcontrol->private_value >> 12) & 0x0f;
924 if (lshift != rshift && (ac97->flags & AC97_STEREO_MUTES)) {
925 val |= (mask - (ucontrol->value.integer.value[1] & mask)) << rshift;
926 valmask |= mask << rshift;
2730 int rshift = (kcontrol->private_value >> 12) & 0x0f;
2732 if (shift != rshift)
2763 int rshift = (kcontrol->private_value >> 12) & 0x0f;
2765 if (shift != rshift)