Lines Matching refs:kcontrol

727 static int snd_ad1816a_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)  in snd_ad1816a_info_mux()  argument
737 static int snd_ad1816a_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ad1816a_get_mux() argument
739 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); in snd_ad1816a_get_mux()
751 static int snd_ad1816a_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ad1816a_put_mux() argument
753 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); in snd_ad1816a_put_mux()
782 static int snd_ad1816a_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ad1816a_info_single() argument
784 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_single()
793 static int snd_ad1816a_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_ad1816a_get_single() argument
795 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); in snd_ad1816a_get_single()
797 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_get_single()
798 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_ad1816a_get_single()
799 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_get_single()
800 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_ad1816a_get_single()
810 static int snd_ad1816a_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_ad1816a_put_single() argument
812 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); in snd_ad1816a_put_single()
814 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_put_single()
815 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_ad1816a_put_single()
816 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_put_single()
817 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_ad1816a_put_single()
847 static int snd_ad1816a_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ad1816a_info_double() argument
849 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_info_double()
858 static int snd_ad1816a_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_ad1816a_get_double() argument
860 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); in snd_ad1816a_get_double()
862 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_get_double()
863 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_ad1816a_get_double()
864 int shift_right = (kcontrol->private_value >> 12) & 0x0f; in snd_ad1816a_get_double()
865 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_get_double()
866 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_ad1816a_get_double()
881 static int snd_ad1816a_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_ad1816a_put_double() argument
883 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); in snd_ad1816a_put_double()
885 int reg = kcontrol->private_value & 0xff; in snd_ad1816a_put_double()
886 int shift_left = (kcontrol->private_value >> 8) & 0x0f; in snd_ad1816a_put_double()
887 int shift_right = (kcontrol->private_value >> 12) & 0x0f; in snd_ad1816a_put_double()
888 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_ad1816a_put_double()
889 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_ad1816a_put_double()