Lines Matching defs:kcontrol
698 static int snd_ad1816a_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
708 static int snd_ad1816a_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
710 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol);
722 static int snd_ad1816a_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
724 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol);
753 static int snd_ad1816a_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
755 int mask = (kcontrol->private_value >> 16) & 0xff;
764 static int snd_ad1816a_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
766 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol);
768 int reg = kcontrol->private_value & 0xff;
769 int shift = (kcontrol->private_value >> 8) & 0xff;
770 int mask = (kcontrol->private_value >> 16) & 0xff;
771 int invert = (kcontrol->private_value >> 24) & 0xff;
781 static int snd_ad1816a_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
783 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol);
785 int reg = kcontrol->private_value & 0xff;
786 int shift = (kcontrol->private_value >> 8) & 0xff;
787 int mask = (kcontrol->private_value >> 16) & 0xff;
788 int invert = (kcontrol->private_value >> 24) & 0xff;
818 static int snd_ad1816a_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
820 int mask = (kcontrol->private_value >> 16) & 0xff;
829 static int snd_ad1816a_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
831 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol);
833 int reg = kcontrol->private_value & 0xff;
834 int shift_left = (kcontrol->private_value >> 8) & 0x0f;
835 int shift_right = (kcontrol->private_value >> 12) & 0x0f;
836 int mask = (kcontrol->private_value >> 16) & 0xff;
837 int invert = (kcontrol->private_value >> 24) & 0xff;
852 static int snd_ad1816a_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
854 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol);
856 int reg = kcontrol->private_value & 0xff;
857 int shift_left = (kcontrol->private_value >> 8) & 0x0f;
858 int shift_right = (kcontrol->private_value >> 12) & 0x0f;
859 int mask = (kcontrol->private_value >> 16) & 0xff;
860 int invert = (kcontrol->private_value >> 24) & 0xff;