Lines Matching refs:kcontrol

75 static int snd_ak4531_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)  in snd_ak4531_info_single()  argument
77 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_single()
86 static int snd_ak4531_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ak4531_get_single() argument
88 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol); in snd_ak4531_get_single()
89 int reg = kcontrol->private_value & 0xff; in snd_ak4531_get_single()
90 int shift = (kcontrol->private_value >> 16) & 0x07; in snd_ak4531_get_single()
91 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_single()
92 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_get_single()
105 static int snd_ak4531_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ak4531_put_single() argument
107 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol); in snd_ak4531_put_single()
108 int reg = kcontrol->private_value & 0xff; in snd_ak4531_put_single()
109 int shift = (kcontrol->private_value >> 16) & 0x07; in snd_ak4531_put_single()
110 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_single()
111 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_put_single()
142 static int snd_ak4531_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ak4531_info_double() argument
144 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_double()
153 static int snd_ak4531_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ak4531_get_double() argument
155 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol); in snd_ak4531_get_double()
156 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_get_double()
157 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_get_double()
158 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_ak4531_get_double()
159 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_ak4531_get_double()
160 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_double()
161 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_get_double()
177 static int snd_ak4531_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ak4531_put_double() argument
179 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol); in snd_ak4531_put_double()
180 int left_reg = kcontrol->private_value & 0xff; in snd_ak4531_put_double()
181 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_put_double()
182 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_ak4531_put_double()
183 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_ak4531_put_double()
184 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_double()
185 int invert = (kcontrol->private_value >> 22) & 1; in snd_ak4531_put_double()
219 static int snd_ak4531_info_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ak4531_info_input_sw() argument
228 static int snd_ak4531_get_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in snd_ak4531_get_input_sw() argument
230 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol); in snd_ak4531_get_input_sw()
231 int reg1 = kcontrol->private_value & 0xff; in snd_ak4531_get_input_sw()
232 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_get_input_sw()
233 int left_shift = (kcontrol->private_value >> 16) & 0x0f; in snd_ak4531_get_input_sw()
234 int right_shift = (kcontrol->private_value >> 24) & 0x0f; in snd_ak4531_get_input_sw()
245 static int snd_ak4531_put_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in snd_ak4531_put_input_sw() argument
247 struct snd_ak4531 *ak4531 = snd_kcontrol_chip(kcontrol); in snd_ak4531_put_input_sw()
248 int reg1 = kcontrol->private_value & 0xff; in snd_ak4531_put_input_sw()
249 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_ak4531_put_input_sw()
250 int left_shift = (kcontrol->private_value >> 16) & 0x0f; in snd_ak4531_put_input_sw()
251 int right_shift = (kcontrol->private_value >> 24) & 0x0f; in snd_ak4531_put_input_sw()