Lines Matching refs:kcontrol

758 static int snd_es1688_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)  in snd_es1688_info_mux()  argument
768 static int snd_es1688_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es1688_get_mux() argument
770 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); in snd_es1688_get_mux()
775 static int snd_es1688_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es1688_put_mux() argument
777 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); in snd_es1688_put_mux()
800 static int snd_es1688_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_es1688_info_single() argument
802 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_info_single()
811 static int snd_es1688_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es1688_get_single() argument
813 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); in snd_es1688_get_single()
815 int reg = kcontrol->private_value & 0xff; in snd_es1688_get_single()
816 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_get_single()
817 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_get_single()
818 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_get_single()
828 static int snd_es1688_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es1688_put_single() argument
830 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); in snd_es1688_put_single()
832 int reg = kcontrol->private_value & 0xff; in snd_es1688_put_single()
833 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_put_single()
834 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1688_put_single()
835 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_put_single()
859 static int snd_es1688_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_es1688_info_double() argument
861 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_info_double()
870 static int snd_es1688_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es1688_get_double() argument
872 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); in snd_es1688_get_double()
874 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_get_double()
875 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_get_double()
876 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1688_get_double()
877 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es1688_get_double()
878 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_get_double()
879 int invert = (kcontrol->private_value >> 22) & 1; in snd_es1688_get_double()
904 static int snd_es1688_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es1688_put_double() argument
906 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); in snd_es1688_put_double()
908 int left_reg = kcontrol->private_value & 0xff; in snd_es1688_put_double()
909 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es1688_put_double()
910 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1688_put_double()
911 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es1688_put_double()
912 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1688_put_double()
913 int invert = (kcontrol->private_value >> 22) & 1; in snd_es1688_put_double()