Lines Matching refs:kcontrol

915 static int snd_sonicvibes_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)  in snd_sonicvibes_info_mux()  argument
924 static int snd_sonicvibes_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sonicvibes_get_mux() argument
926 struct sonicvibes *sonic = snd_kcontrol_chip(kcontrol); in snd_sonicvibes_get_mux()
935 static int snd_sonicvibes_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sonicvibes_put_mux() argument
937 struct sonicvibes *sonic = snd_kcontrol_chip(kcontrol); in snd_sonicvibes_put_mux()
964 static int snd_sonicvibes_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinf… in snd_sonicvibes_info_single() argument
966 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_sonicvibes_info_single()
975 static int snd_sonicvibes_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucon… in snd_sonicvibes_get_single() argument
977 struct sonicvibes *sonic = snd_kcontrol_chip(kcontrol); in snd_sonicvibes_get_single()
978 int reg = kcontrol->private_value & 0xff; in snd_sonicvibes_get_single()
979 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_sonicvibes_get_single()
980 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_sonicvibes_get_single()
981 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_sonicvibes_get_single()
991 static int snd_sonicvibes_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucon… in snd_sonicvibes_put_single() argument
993 struct sonicvibes *sonic = snd_kcontrol_chip(kcontrol); in snd_sonicvibes_put_single()
994 int reg = kcontrol->private_value & 0xff; in snd_sonicvibes_put_single()
995 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_sonicvibes_put_single()
996 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_sonicvibes_put_single()
997 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_sonicvibes_put_single()
1020 static int snd_sonicvibes_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinf… in snd_sonicvibes_info_double() argument
1022 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sonicvibes_info_double()
1031 static int snd_sonicvibes_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucon… in snd_sonicvibes_get_double() argument
1033 struct sonicvibes *sonic = snd_kcontrol_chip(kcontrol); in snd_sonicvibes_get_double()
1034 int left_reg = kcontrol->private_value & 0xff; in snd_sonicvibes_get_double()
1035 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sonicvibes_get_double()
1036 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_sonicvibes_get_double()
1037 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_sonicvibes_get_double()
1038 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sonicvibes_get_double()
1039 int invert = (kcontrol->private_value >> 22) & 1; in snd_sonicvibes_get_double()
1052 static int snd_sonicvibes_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucon… in snd_sonicvibes_put_double() argument
1054 struct sonicvibes *sonic = snd_kcontrol_chip(kcontrol); in snd_sonicvibes_put_double()
1055 int left_reg = kcontrol->private_value & 0xff; in snd_sonicvibes_put_double()
1056 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sonicvibes_put_double()
1057 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_sonicvibes_put_double()
1058 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_sonicvibes_put_double()
1059 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sonicvibes_put_double()
1060 int invert = (kcontrol->private_value >> 22) & 1; in snd_sonicvibes_put_double()
1108 static void snd_sonicvibes_master_free(struct snd_kcontrol *kcontrol) in snd_sonicvibes_master_free() argument
1110 struct sonicvibes *sonic = snd_kcontrol_chip(kcontrol); in snd_sonicvibes_master_free()