Lines Matching refs:kcontrol

60 static int snd_sbmixer_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)  in snd_sbmixer_info_single()  argument
62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_single()
71 static int snd_sbmixer_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sbmixer_get_single() argument
73 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sbmixer_get_single()
75 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_single()
76 int shift = (kcontrol->private_value >> 16) & 0xff; in snd_sbmixer_get_single()
77 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_single()
87 static int snd_sbmixer_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sbmixer_put_single() argument
89 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sbmixer_put_single()
91 int reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_single()
92 int shift = (kcontrol->private_value >> 16) & 0x07; in snd_sbmixer_put_single()
93 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_single()
112 static int snd_sbmixer_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sbmixer_info_double() argument
114 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_info_double()
123 static int snd_sbmixer_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sbmixer_get_double() argument
125 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sbmixer_get_double()
127 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_get_double()
128 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sbmixer_get_double()
129 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_sbmixer_get_double()
130 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_sbmixer_get_double()
131 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_get_double()
143 static int snd_sbmixer_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_sbmixer_put_double() argument
145 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sbmixer_put_double()
147 int left_reg = kcontrol->private_value & 0xff; in snd_sbmixer_put_double()
148 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_sbmixer_put_double()
149 int left_shift = (kcontrol->private_value >> 16) & 0x07; in snd_sbmixer_put_double()
150 int right_shift = (kcontrol->private_value >> 19) & 0x07; in snd_sbmixer_put_double()
151 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_sbmixer_put_double()
183 static int snd_dt019x_input_sw_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_dt019x_input_sw_info() argument
192 static int snd_dt019x_input_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in snd_dt019x_input_sw_get() argument
194 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_dt019x_input_sw_get()
228 static int snd_dt019x_input_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontr… in snd_dt019x_input_sw_put() argument
230 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_dt019x_input_sw_put()
269 static int snd_als4k_mono_capture_route_info(struct snd_kcontrol *kcontrol, in snd_als4k_mono_capture_route_info() argument
279 static int snd_als4k_mono_capture_route_get(struct snd_kcontrol *kcontrol, in snd_als4k_mono_capture_route_get() argument
282 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_als4k_mono_capture_route_get()
297 static int snd_als4k_mono_capture_route_put(struct snd_kcontrol *kcontrol, in snd_als4k_mono_capture_route_put() argument
300 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_als4k_mono_capture_route_put()
323 static int snd_sb8mixer_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sb8mixer_info_mux() argument
333 static int snd_sb8mixer_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_sb8mixer_get_mux() argument
335 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sb8mixer_get_mux()
356 static int snd_sb8mixer_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_sb8mixer_put_mux() argument
358 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sb8mixer_put_mux()
390 static int snd_sb16mixer_info_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uin… in snd_sb16mixer_info_input_sw() argument
399 static int snd_sb16mixer_get_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *uco… in snd_sb16mixer_get_input_sw() argument
401 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sb16mixer_get_input_sw()
403 int reg1 = kcontrol->private_value & 0xff; in snd_sb16mixer_get_input_sw()
404 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_get_input_sw()
405 int left_shift = (kcontrol->private_value >> 16) & 0x0f; in snd_sb16mixer_get_input_sw()
406 int right_shift = (kcontrol->private_value >> 24) & 0x0f; in snd_sb16mixer_get_input_sw()
420 static int snd_sb16mixer_put_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *uco… in snd_sb16mixer_put_input_sw() argument
422 struct snd_sb *sb = snd_kcontrol_chip(kcontrol); in snd_sb16mixer_put_input_sw()
424 int reg1 = kcontrol->private_value & 0xff; in snd_sb16mixer_put_input_sw()
425 int reg2 = (kcontrol->private_value >> 8) & 0xff; in snd_sb16mixer_put_input_sw()
426 int left_shift = (kcontrol->private_value >> 16) & 0x0f; in snd_sb16mixer_put_input_sw()
427 int right_shift = (kcontrol->private_value >> 24) & 0x0f; in snd_sb16mixer_put_input_sw()