Lines Matching refs:shift
409 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_get() local
416 (chip->reg_image[reg] >> shift) & mask; in snd_at73c213_mono_get()
432 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_put() local
441 val <<= shift; in snd_at73c213_mono_put()
445 val = (chip->reg_image[reg] & ~(mask << shift)) | val; in snd_at73c213_mono_put()
558 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_switch_get() local
564 (chip->reg_image[reg] >> shift) & 0x01; in snd_at73c213_mono_switch_get()
580 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_switch_put() local
593 val <<= shift; in snd_at73c213_mono_switch_put()
597 val |= (chip->reg_image[reg] & ~(mask << shift)); in snd_at73c213_mono_switch_put()
647 #define AT73C213_MONO_SWITCH(xname, xindex, reg, shift, mask, invert) \ argument
655 .private_value = (reg | (shift << 8) | (mask << 16) | (invert << 24)) \